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