Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::Variant Struct Reference

Union container for manipulating an object from a heterogeneous set of types in a uniform manner. More...

#include <kanzi/core.ui/property/variant.hpp>

Inheritance diagram for kanzi::Variant:
[legend]

Public Types

using BaseClass = variant< monostate, bool, int, float, ColorRGBA, Vector2, Vector3, Vector4, SRTValue2D, SRTValue3D, Matrix3x3, Matrix4x4, string, ResourceID, ResourceSharedPtr, void *, AbstractRangeSharedPtr, Quaternion >
 Inherited variant type. More...
 

Public Member Functions

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 >
Variantoperator= (const T &v)
 Constructor. More...
 
Variantoperator= (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< ResourceSharedPtrresolveWrittenResource (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...
 

Friends

bool operator!= (const Variant &lhs, const Variant &rhs)
 
bool operator== (const Variant &lhs, const Variant &rhs)
 

Detailed Description

Union container for manipulating an object from a heterogeneous set of types in a uniform manner.

Member Typedef Documentation

◆ BaseClass

Constructor & Destructor Documentation

◆ Variant() [1/3]

kanzi::Variant::Variant ( )
inlineexplicit

Empty constructor.

◆ Variant() [2/3]

template<typename T >
kanzi::Variant::Variant ( const T v)
inlineexplicit

Constructor.

Parameters
vInitial value for variant.

◆ Variant() [3/3]

kanzi::Variant::Variant ( const Variant other)
inline

Copy constructor.

Parameters
otherSource variant to copy.

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
Variant& kanzi::Variant::operator= ( const T v)
inline

Constructor.

Parameters
vInitial value for variant.

◆ operator=() [2/2]

Variant& kanzi::Variant::operator= ( Variant  other)
inline

Assignment operator.

Parameters
otherSource variant to copy.

◆ getType()

PropertyDataType kanzi::Variant::getType ( ) const

Gets the data type of a variant.

Returns
Property data type.

◆ getTypeOfField()

PropertyDataType kanzi::Variant::getTypeOfField ( PropertyField  field) const

Gets the data type of a variant field.

Parameters
fieldField, whose type is checked.
Returns
Property data type of the field.

◆ getField()

float kanzi::Variant::getField ( PropertyField  field) const

Gets field from within the variant.

Parameters
fieldField to acquire.
Returns
Field of a variant as float.

◆ setField()

void kanzi::Variant::setField ( PropertyField  field,
float  value 
)

Sets field within the variant.

Parameters
fieldField to assign to.
valueValue to set.

◆ filterWithField()

void kanzi::Variant::filterWithField ( PropertyField  field)

Changes the value and the type of the variant to a sub-value and a sub-type of the variant.

Parameters
fieldThe field to filter by.

◆ readFromMessageArguments() [1/17]

template<typename T >
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
)

Read variant contents from message arguments.

This version of the function is specialized for type of data read to avoid switch/case.

Parameters
argumentsArguments to read from.
propertyTypeProperty type.
fieldProperty field.
Returns
True if read succeeded, false on failure.

◆ readFromMessageArguments() [2/17]

bool kanzi::Variant::readFromMessageArguments ( const MessageArguments arguments,
AbstractPropertyType  propertyType,
enum PropertyField  field 
)

Read variant contents from message arguments.

Parameters
argumentsArguments to read from.
propertyTypeProperty type.
fieldProperty field.
Returns
True if read succeeded, false on failure.

◆ setToMessageArguments() [1/17]

template<typename T >
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Write variant contents to message arguments.

This version of the function is specialized for type of data read to avoid switch/case.

Parameters
argumentsArguments to write to.
propertyTypeProperty type.
fieldProperty field.
Returns
Variant initialized with property read from object.

◆ setToMessageArguments() [2/17]

bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Write variant contents to message arguments.

Parameters
argumentsArguments to write to.
propertyTypeProperty type.
fieldProperty field.
Returns
Variant initialized with property read from object.

◆ readFromObjectProperty() [1/17]

template<typename T >
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject object,
AbstractPropertyType  propertyType,
PropertyField  field 
)

Read variant contents from an object.

This version of the function is specialized for type of data read to avoid switch/case.

Parameters
objectObject to read from.
propertyTypeProperty type to read.
fieldProperty field.
Returns
True if read succeeded, false if not.

◆ readFromObjectProperty() [2/17]

bool kanzi::Variant::readFromObjectProperty ( const PropertyObject object,
AbstractPropertyType  propertyType,
PropertyField  field 
)

Read variant contents from an object.

Parameters
objectObject to read from.
propertyTypeProperty type to read.
fieldProperty field.
Returns
True if read succeeded, false if not.

◆ readFromObjectPropertyWithDefaultFallback() [1/17]

template<typename T >
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject object,
AbstractPropertyType  propertyType,
PropertyField  field 
)

Read variant contents from an object or fill with default value if no value source available.

This version of the function is specialized for type of data read to avoid switch/case.

Parameters
objectObject to read from.
propertyTypeProperty type to read.
fieldProperty field.
Returns
True if read succeeded, false if not.

◆ readFromObjectPropertyWithDefaultFallback() [2/17]

void kanzi::Variant::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.

Parameters
objectObject to read from.
propertyTypeProperty type to read.
fieldProperty field.

◆ setToObjectProperty() [1/17]

template<typename T >
bool kanzi::Variant::setToObjectProperty ( PropertyObject object,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Write variant contents to an object.

This version of the function is specialized for type of data written to avoid switch/case.

Parameters
objectTarget object to write to.
propertyTypeProperty type to write.
fieldProperty field.
Returns
True if write succeeded, false if not.

◆ setToObjectProperty() [2/17]

bool kanzi::Variant::setToObjectProperty ( PropertyObject object,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Write variant contents to an object.

Parameters
objectTarget object to write to.
propertyTypeProperty type to write.
fieldProperty field.
Returns
True if write succeeded, false if not.

◆ resolveWrittenResource() [1/2]

ResourceSharedPtr kanzi::Variant::resolveWrittenResource ( PropertyObject object,
AbstractPropertyType  propertyType 
) const

Resolves a resource to write.

Parameters
objectObject Host object to write to, used as basis for resolving.
propertyTypeTarget property type.
Returns
Resource to write. May be empty.

◆ resolveWrittenResource() [2/2]

optional<ResourceSharedPtr> kanzi::Variant::resolveWrittenResource ( PropertyObject object) const
inline

Resolves a resource to write.

Target property type is left invalid.

Parameters
objectObject Host object to write to, used as basis for resolving.
Returns
Optional resource to write.

◆ operator bool_type()

kanzi::Variant::operator bool_type ( ) const
inline

◆ readFromMessageArguments() [3/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [4/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [5/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [6/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [7/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [8/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [9/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [10/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [11/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [12/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [13/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [14/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [15/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [16/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ readFromMessageArguments() [17/17]

template<>
bool kanzi::Variant::readFromMessageArguments ( const MessageArguments ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromMessageArguments.

◆ setToMessageArguments() [3/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [4/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [5/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [6/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [7/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [8/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [9/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [10/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [11/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [12/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [13/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [14/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [15/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [16/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ setToMessageArguments() [17/17]

template<>
bool kanzi::Variant::setToMessageArguments ( MessageArguments arguments,
AbstractPropertyType  propertyType,
PropertyField  field 
) const

Specialization of typed Variant::setToMessageArguments.

◆ readFromObjectProperty() [3/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [4/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [5/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [6/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [7/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [8/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [9/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [10/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [11/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [12/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [13/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [14/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [15/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [16/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectProperty() [17/17]

template<>
bool kanzi::Variant::readFromObjectProperty ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

Specialization of typed Variant::readFromObjectProperty.

◆ readFromObjectPropertyWithDefaultFallback() [3/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [4/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [5/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [6/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [7/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [8/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [9/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [10/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [11/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [12/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [13/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [14/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [15/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [16/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ readFromObjectPropertyWithDefaultFallback() [17/17]

template<>
void kanzi::Variant::readFromObjectPropertyWithDefaultFallback ( const PropertyObject ,
AbstractPropertyType  ,
PropertyField   
)

◆ setToObjectProperty() [3/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [4/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [5/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [6/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [7/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [8/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [9/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [10/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [11/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [12/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [13/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [14/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [15/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [16/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

◆ setToObjectProperty() [17/17]

template<>
bool kanzi::Variant::setToObjectProperty ( PropertyObject ,
AbstractPropertyType  ,
PropertyField   
) const

Specialization of typed Variant::setToObjectProperty.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const Variant lhs,
const Variant rhs 
)
friend

◆ operator!=

bool operator!= ( const Variant lhs,
const Variant rhs 
)
friend

The documentation for this struct was generated from the following file: