|
PLaSK library
|
#include <plask/provider/providerfor.hpp>
Public Types | |
| typedef _ValueType | ValueType |
| Type of provided value. | |
| typedef _ValueType | ValueType2D |
| Type of provided value in 2D space. | |
| typedef _ValueType | ValueType3D |
| Type of provided value in 3D space. | |
| typedef VariadicTemplateTypesHolder< _ExtraParams... > | ExtraParams |
| Extra parameters passed as arguments to provider to get value. | |
Static Public Member Functions | |
| static ValueType | getDefaultValue () |
| Return default value of the property (usually zero) | |
| static const ValueType2D & | value3Dto2D (const ValueType3D &v) |
| Convert value in 3D space to 2D space. | |
| static const ValueType3D & | value2Dto3D (const ValueType2D &v) |
| Convert value in 2D space to 2D space. | |
| static const ValueType2D & | value3Dto2Dcyl (const ValueType3D &v, const Vec< 3, double > &) |
| Convert value in 3D space to 2D space in cylindrical coordinates. | |
| static const ValueType3D & | value2Dto3Dcyl (const ValueType2D &v, const Vec< 3, double > &) |
| Convert value in 2D space to 2D space in cylindrical coordinates. | |
Static Public Attributes | |
| static const PropertyType | propertyType = _propertyType |
| Type of property. | |
| static constexpr const char * | NAME = PropertyTypeToProviderName<_propertyType>::value |
| Name of the property. | |
| static constexpr bool | hasUniqueValueType = true |
true only if property use same value type in 2D and 3D space | |
Definition at line 108 of file providerfor.hpp.
| typedef VariadicTemplateTypesHolder<_ExtraParams...> plask::Property< _propertyType, _ValueType, _ValueType, _ExtraParams... >::ExtraParams |
Extra parameters passed as arguments to provider to get value.
Definition at line 128 of file providerfor.hpp.
| typedef _ValueType plask::Property< _propertyType, _ValueType, _ValueType, _ExtraParams... >::ValueType |
Type of provided value.
Definition at line 113 of file providerfor.hpp.
| typedef _ValueType plask::Property< _propertyType, _ValueType, _ValueType, _ExtraParams... >::ValueType2D |
Type of provided value in 2D space.
Definition at line 116 of file providerfor.hpp.
| typedef _ValueType plask::Property< _propertyType, _ValueType, _ValueType, _ExtraParams... >::ValueType3D |
Type of provided value in 3D space.
Definition at line 119 of file providerfor.hpp.
|
inlinestatic |
Return default value of the property (usually zero)
Definition at line 125 of file providerfor.hpp.
|
inlinestatic |
Convert value in 2D space to 2D space.
| v | value in 2D space |
p converted to 3D space Definition at line 145 of file providerfor.hpp.
|
inlinestatic |
Convert value in 2D space to 2D space in cylindrical coordinates.
| v | value in 2D space |
p converted to 3D space Definition at line 159 of file providerfor.hpp.
|
inlinestatic |
Convert value in 3D space to 2D space.
| v | value in 3D space |
p converted to 2D space Definition at line 138 of file providerfor.hpp.
|
inlinestatic |
Convert value in 3D space to 2D space in cylindrical coordinates.
| v | value in 3D space |
p converted to 2D space Definition at line 152 of file providerfor.hpp.
|
staticconstexpr |
true only if property use same value type in 2D and 3D space
Definition at line 131 of file providerfor.hpp.
|
staticconstexpr |
Name of the property.
Definition at line 122 of file providerfor.hpp.
|
static |
Type of property.
Definition at line 110 of file providerfor.hpp.