Union container for manipulating an object from a heterogeneous set of types in a uniform manner.
More...
|
void | filterWithField (PropertyField field) |
| Changes the value and the type of the variant to a sub-value and a sub-type of the variant. More...
|
|
float | getField (PropertyField field) const |
| Gets field from within the variant. More...
|
|
PropertyDataType | getType () const |
| Gets the data type of a variant. More...
|
|
PropertyDataType | getTypeOfField (PropertyField field) const |
| Gets the data type of a variant field. More...
|
|
| operator bool_type () const |
|
template<typename T > |
Variant & | operator= (const T &v) |
| Constructor. More...
|
|
Variant & | operator= (Variant other) |
| Assignment operator. More...
|
|
template<typename T > |
bool | readFromMessageArguments (const MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) |
| Read variant contents from message arguments. More...
|
|
bool | readFromMessageArguments (const MessageArguments &arguments, AbstractPropertyType propertyType, enum PropertyField field) |
| Read variant contents from message arguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<> |
bool | readFromMessageArguments (const MessageArguments &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromMessageArguments. More...
|
|
template<typename T > |
bool | readFromObjectProperty (const PropertyObject &object, AbstractPropertyType propertyType, PropertyField field) |
| Read variant contents from an object. More...
|
|
bool | readFromObjectProperty (const PropertyObject &object, AbstractPropertyType propertyType, PropertyField field) |
| Read variant contents from an object. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<> |
bool | readFromObjectProperty (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectProperty. More...
|
|
template<typename T > |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &object, AbstractPropertyType propertyType, PropertyField field) |
| Read variant contents from an object or fill with default value if no value source available. More...
|
|
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &object, AbstractPropertyType propertyType, enum PropertyField field) |
| Read variant contents from an object or fill with default value if no value source available. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
template<> |
void | readFromObjectPropertyWithDefaultFallback (const PropertyObject &, AbstractPropertyType, PropertyField) |
| Specialization of typed Variant::readFromObjectPropertyWithDefaultFallback. More...
|
|
ResourceSharedPtr | resolveWrittenResource (PropertyObject &object, AbstractPropertyType propertyType) const |
| Resolves a resource to write. More...
|
|
optional< ResourceSharedPtr > | resolveWrittenResource (PropertyObject &object) const |
| Resolves a resource to write. More...
|
|
void | setField (PropertyField field, float value) |
| Sets field within the variant. More...
|
|
template<typename T > |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Write variant contents to message arguments. More...
|
|
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Write variant contents to message arguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<> |
bool | setToMessageArguments (MessageArguments &arguments, AbstractPropertyType propertyType, PropertyField field) const |
| Specialization of typed Variant::setToMessageArguments. More...
|
|
template<typename T > |
bool | setToObjectProperty (PropertyObject &object, AbstractPropertyType propertyType, PropertyField field) const |
| Write variant contents to an object. More...
|
|
bool | setToObjectProperty (PropertyObject &object, AbstractPropertyType propertyType, PropertyField field) const |
| Write variant contents to an object. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
template<> |
bool | setToObjectProperty (PropertyObject &, AbstractPropertyType, PropertyField) const |
| Specialization of typed Variant::setToObjectProperty. More...
|
|
| Variant () |
| Empty constructor. More...
|
|
template<typename T > |
| Variant (const T &v) |
| Constructor. More...
|
|
| Variant (const Variant &other) |
| Copy constructor. More...
|
|
Union container for manipulating an object from a heterogeneous set of types in a uniform manner.