Class PropertyValue, which is used to hold properties of a given set of allowed types in typesafe way.
More...
#include <mlPropertyValue.h>
|
typedef boost::mpl::vector< MLint8, MLuint8, MLint16, MLuint16, MLint32, MLuint32, MLuint64, MLint64, double, Vector3, Vector6 > | SupportedPropertyTypes |
|
|
| PropertyValue () |
|
template<typename T > |
| PropertyValue (const T &initialValue) |
|
bool | operator== (const PropertyValue &other) const |
|
template<typename T > |
T & | get () |
|
template<typename T > |
const T & | get () const |
|
template<typename VisitorType > |
VisitorType::result_type | apply (VisitorType &visitor) |
|
template<typename VisitorType > |
VisitorType::result_type | apply (VisitorType &visitor) const |
|
template<typename VisitorType > |
VisitorType::result_type | apply (const VisitorType &visitor) |
|
template<typename VisitorType > |
VisitorType::result_type | apply (const VisitorType &visitor) const |
|
size_t | which () const |
|
Class PropertyValue, which is used to hold properties of a given set of allowed types in typesafe way.
Definition at line 39 of file mlPropertyValue.h.
◆ SupportedPropertyTypes
typedef boost::mpl::vector<MLint8, MLuint8, MLint16, MLuint16, MLint32, MLuint32, MLuint64, MLint64, double, Vector3, Vector6> PropertyValue::SupportedPropertyTypes |
◆ PropertyValue() [1/2]
PropertyValue::PropertyValue |
( |
| ) |
|
|
inline |
◆ PropertyValue() [2/2]
template<typename T >
PropertyValue::PropertyValue |
( |
const T & |
initialValue | ) |
|
|
inline |
◆ apply() [1/4]
template<typename VisitorType >
VisitorType::result_type PropertyValue::apply |
( |
const VisitorType & |
visitor | ) |
|
|
inline |
◆ apply() [2/4]
template<typename VisitorType >
VisitorType::result_type PropertyValue::apply |
( |
const VisitorType & |
visitor | ) |
const |
|
inline |
◆ apply() [3/4]
template<typename VisitorType >
VisitorType::result_type PropertyValue::apply |
( |
VisitorType & |
visitor | ) |
|
|
inline |
◆ apply() [4/4]
template<typename VisitorType >
VisitorType::result_type PropertyValue::apply |
( |
VisitorType & |
visitor | ) |
const |
|
inline |
◆ get() [1/2]
template<typename T >
T& PropertyValue::get |
( |
| ) |
|
|
inline |
◆ get() [2/2]
template<typename T >
const T& PropertyValue::get |
( |
| ) |
const |
|
inline |
◆ operator==()
bool PropertyValue::operator== |
( |
const PropertyValue & |
other | ) |
const |
|
inline |
◆ which()
size_t PropertyValue::which |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: