The tracker used for deserializing nodes and their attributes. More...
#include "murl_graph_i_deserialize_attribute_tracker.h"
Inherited by Murl::Graph::DeserializeAttributeTracker.
Public Member Functions | |
virtual const IFactory * | GetGraphFactory () const =0 |
Get the engine's graph factory. More... | |
virtual const Resource::IGraphNode * | GetResourceGraphNode () const =0 |
Get the resource graph node containing the attributes to deserialize. More... | |
virtual const IAttributes & | GetAttributes () const =0 |
Get a reference to the container holding the attributes to deserialize. More... | |
virtual const IAttributes * | GetParameters () const =0 |
Get a pointer to the container holding optional parameters to use. More... | |
virtual UInt32 | GetAttributeIndex () const =0 |
Get the index of the attribute currently being deserialized. More... | |
virtual UInt32 | GetAttributeLevel () const =0 |
Get the scope level of the attribute currently being deserialized. More... | |
virtual void | SetNodeExcluded (Bool excluded)=0 |
Exclude/include the node (and its children) currently being deserialized. More... | |
virtual void | SetChildrenExcluded (Bool excluded)=0 |
Exclude/include the children of the node currently being deserialized. More... | |
virtual Bool | MustExcludeNode () const =0 |
Check if the current node (and its sub-graph) must be excluded from creation. More... | |
virtual Bool | MustExcludeChildren () const =0 |
Check if the current node's children must be excluded from creation. More... | |
virtual void | IncreaseCurrentLevel ()=0 |
Increase the current scope level by one. | |
virtual void | DecreaseCurrentLevel ()=0 |
Decrease the current scope level by one. | |
virtual UInt32 | GetCurrentLevel () const =0 |
Get the current scope level. More... | |
virtual Bool | MakeResourceIdAbsolute (String &resourceId) const =0 |
Convert a given resource ID to an absolute path. More... | |
virtual Bool | HasAttributeValue () const =0 |
Check if the current attribute has an actual value. More... | |
virtual Bool | IsAnyAttributeValueMatchingAppUserConfiguration (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current user configuration. More... | |
virtual Bool | IsAnyAttributeValueMatchingAppLanguage (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current language. More... | |
virtual Bool | IsAnyAttributeValueMatchingPlatformTargetClass (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current target class. More... | |
virtual Bool | IsAnyAttributeValueMatchingPlatformTargetDevice (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current target device. More... | |
virtual Bool | IsAnyAttributeValueMatchingPlatformTargetHost (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current target host. More... | |
virtual Bool | IsAnyAttributeValueMatchingPlatformOperatingSystem (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current operating system. More... | |
virtual Bool | IsAnyAttributeValueMatchingPlatformGpu (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current GPU. More... | |
virtual Bool | IsAnyAttributeValueMatchingEngineVideoApi (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current video API. More... | |
virtual Bool | IsAnyAttributeValueMatchingEngineAudioApi (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current audio API. More... | |
virtual Bool | IsAnyAttributeValueMatchingEnginePrescaleFactor (Bool evaluateParams=true) const =0 |
Check if any of the node's condition attributes matches the current prescale factor. More... | |
virtual Bool | AreAllAttributeValuesMatchingEngineFeatures (Bool evaluateParams=true) const =0 |
Check if all of the node's condition attributes match the current engine feature set. More... | |
virtual Bool | GetAttributeValue (String &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as a String. More... | |
virtual Bool | GetAttributeValue (Bool &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as a Bool value. More... | |
virtual Bool | GetAttributeValue (UInt32 &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as an UInt32 value. More... | |
virtual Bool | GetAttributeValue (SInt32 &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as an SInt32 value. More... | |
virtual Bool | GetAttributeValue (Double &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as a Double value. More... | |
virtual Bool | GetAttributeValue (Float &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as a Float value. More... | |
virtual Bool | GetAttributeValue (Color &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value as a Color value. More... | |
virtual Bool | GetAttributeAngleValue (Double &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value interpreted as an angle value. More... | |
virtual Bool | GetAttributeAngleValue (Float &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value interpreted as an angle value. More... | |
virtual Bool | GetAttributeColorValue (Float &value, Bool evaluateParams=true) const =0 |
Retrieve the current attribute value interpreted as an color value. More... | |
virtual Bool | GetAttributeValues (StringArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a String array. More... | |
virtual Bool | GetAttributeValues (BoolArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Bool array. More... | |
virtual Bool | GetAttributeValues (UInt32Array &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to an UInt32 array. More... | |
virtual Bool | GetAttributeValues (SInt32Array &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to an SInt32 array. More... | |
virtual Bool | GetAttributeValues (DoubleArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Double array. More... | |
virtual Bool | GetAttributeValues (FloatArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Float array. More... | |
virtual Bool | GetAttributeAngleValues (DoubleArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Double array, interpreted as angle values. More... | |
virtual Bool | GetAttributeAngleValues (FloatArray &values, Bool clear=true, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Float array, interpreted as angle values. More... | |
virtual Bool | GetAttributeValues (String *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a String buffer. More... | |
virtual Bool | GetAttributeValues (Bool *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Bool buffer. More... | |
virtual Bool | GetAttributeValues (UInt32 *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to an UInt32 buffer. More... | |
virtual Bool | GetAttributeValues (SInt32 *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to an SInt32 buffer. More... | |
virtual Bool | GetAttributeValues (Double *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Double buffer. More... | |
virtual Bool | GetAttributeValues (Float *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Float buffer. More... | |
virtual Bool | GetAttributeAngleValues (Double *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Double buffer, interpreted as angle values. More... | |
virtual Bool | GetAttributeAngleValues (Float *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const =0 |
Split the current attribute value to a Float buffer, interpreted as angle values. More... | |
virtual Bool | GetAttributeFlagToSet (UInt32 mask, UInt32 &value, Bool evaluateParams=true) const =0 |
Set a bit mask if the current attribute value evaluates to boolean true. More... | |
virtual Bool | GetAttributeFlagToClear (UInt32 mask, UInt32 &value, Bool evaluateParams=true) const =0 |
Clear a bit mask if the current attribute value evaluates to boolean true. More... | |
virtual Bool | GetAttributeBitsToSet (UInt32 &value, Bool evaluateParams=true) const =0 |
Retrieve the actual bit numbers to set from the given attribute value. More... | |
template<class EnumType > | |
Bool | GetAttributeEnumValue (const Enum< EnumType > &e, EnumType &value, Bool evaluateParams=true) const |
Retrieve the current attribute containing an enumeration string identifier. More... | |
template<class EnumType > | |
Bool | GetAttributeEnumValues (const Enum< EnumType > &e, Array< EnumType > &values, Bool evaluateParams=true) const |
Retrieve the current attribute containing a list of comma-separated enumeration string identifiers. More... | |
template<class EnumType > | |
Bool | GetAttributeEnumValues (const Enum< EnumType > &e, EnumType *values, UInt32 maxValues, UInt32 *numValues=nullptr, Bool evaluateParams=true) const |
Retrieve the current attribute containing a list of comma-separated enumeration string identifiers. More... | |
template<class EnumType > | |
Bool | GetAttributeEnumBitsToSet (const Enum< EnumType > &e, UInt32 &value, Bool evaluateParams=true) const |
Retrieve the actual bit numbers to set from the given attribute value via enumeration string identifiers. More... | |
virtual UInt32 | GetBaseAttribute (const AttributeInfo *info) const =0 |
Get the actual ID of the current base attribute being deserialized. More... | |
virtual UInt32 | GetParentAttribute (const AttributeInfo *info) const =0 |
Get the actual ID of the current parent attribute being deserialized. More... | |
virtual UInt32 | GetGrandParentAttribute (const AttributeInfo *info) const =0 |
Get the actual ID of the current grand parent attribute being deserialized. More... | |
virtual String | GetBaseAttributeName () const =0 |
Get the name of the current base attribute. More... | |
virtual String | GetParentAttributeName () const =0 |
Get the name of the current parent attribute. More... | |
virtual String | GetGrandParentAttributeName () const =0 |
Get the name of the current grand parent attribute. More... | |
virtual Result & | GetResult () const =0 |
Get the result object. More... | |
Detailed Description
The tracker used for deserializing nodes and their attributes.
This interface represents a graph state tracker used in calls to the Graph::INode::DeserializeNode and Graph::INode::DeserializeAttribute methods, as well as the respective methods in Graph::IController, Graph::IGenericNodeTarget and Graph::IGenericResourceTarget.
Member Function Documentation
◆ GetGraphFactory()
|
pure virtual |
Get the engine's graph factory.
- Returns
- The graph factory.
◆ GetResourceGraphNode()
|
pure virtual |
Get the resource graph node containing the attributes to deserialize.
- Returns
- The resource graph node.
◆ GetAttributes()
|
pure virtual |
Get a reference to the container holding the attributes to deserialize.
- Returns
- The attribute container.
Referenced by GetAttributeEnumBitsToSet(), GetAttributeEnumValue(), and GetAttributeEnumValues().
◆ GetParameters()
|
pure virtual |
Get a pointer to the container holding optional parameters to use.
- Returns
- The parameter container, or null if not used.
Referenced by GetAttributeEnumBitsToSet(), GetAttributeEnumValue(), and GetAttributeEnumValues().
◆ GetAttributeIndex()
|
pure virtual |
Get the index of the attribute currently being deserialized.
- Returns
- The zero-based index into the attribute container from GetAttributes().
Referenced by GetAttributeEnumBitsToSet(), GetAttributeEnumValue(), and GetAttributeEnumValues().
◆ GetAttributeLevel()
|
pure virtual |
Get the scope level of the attribute currently being deserialized.
- Returns
- The scope level.
◆ SetNodeExcluded()
|
pure virtual |
Exclude/include the node (and its children) currently being deserialized.
- Parameters
-
excluded If true, the sub-graph made up from this node and its children is excluded from creation.
◆ SetChildrenExcluded()
|
pure virtual |
Exclude/include the children of the node currently being deserialized.
- Parameters
-
excluded If true, the node's children are excluded from creation.
◆ MustExcludeNode()
|
pure virtual |
Check if the current node (and its sub-graph) must be excluded from creation.
- Returns
- true if excluded.
◆ MustExcludeChildren()
|
pure virtual |
Check if the current node's children must be excluded from creation.
- Returns
- true if excluded.
◆ GetCurrentLevel()
|
pure virtual |
Get the current scope level.
- Returns
- The current scope level.
◆ MakeResourceIdAbsolute()
|
pure virtual |
Convert a given resource ID to an absolute path.
If the given resource ID already represents an absolute path, this method simply returns true. This is the case when the ID is either in the form "<PackageID>[/<SubPackageID>...]:<ResourceID>", or "/<PackageID>[/<SubPackageID>...]/<ResourceID>". Otherwise, the path is considered relative, and the current resource graph node is used to get the absolute path to the graph resource from which deserialization was started. If this cannot be done, false is returned.
- Parameters
-
resourceId A reference to the resource ID to convert.
- Returns
- true if successful.
Referenced by Murl::Graph::ResourceTarget< ObjectType, MIN_NUMBER_OF_RESOURCES >::DeserializeResourceId(), Murl::Graph::ResourceArrayTarget< ObjectType, MIN_NUMBER_OF_RESOURCES, MAX_NUMBER_OF_RESOURCES, RESERVED_NUMBER_OF_RESOURCES >::DeserializeResourceId(), and Murl::Graph::ResourceArrayTarget< ObjectType, MIN_NUMBER_OF_RESOURCES, MAX_NUMBER_OF_RESOURCES, RESERVED_NUMBER_OF_RESOURCES >::DeserializeResourceIds().
◆ HasAttributeValue()
|
pure virtual |
Check if the current attribute has an actual value.
- Returns
- true if a value is given for the current attribute.
◆ IsAnyAttributeValueMatchingAppUserConfiguration()
|
pure virtual |
Check if any of the node's condition attributes matches the current user configuration.
See IAppConfiguration::IsUserConfigurationMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the user configuration.
◆ IsAnyAttributeValueMatchingAppLanguage()
|
pure virtual |
Check if any of the node's condition attributes matches the current language.
See IAppConfiguration::IsLanguageMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the language.
◆ IsAnyAttributeValueMatchingPlatformTargetClass()
|
pure virtual |
Check if any of the node's condition attributes matches the current target class.
See IPlatformConfiguration::IsTargetClassMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the target class.
◆ IsAnyAttributeValueMatchingPlatformTargetDevice()
|
pure virtual |
Check if any of the node's condition attributes matches the current target device.
See IPlatformConfiguration::IsTargetDeviceMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the target device.
◆ IsAnyAttributeValueMatchingPlatformTargetHost()
|
pure virtual |
Check if any of the node's condition attributes matches the current target host.
See IPlatformConfiguration::IsTargetHostMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the target device.
◆ IsAnyAttributeValueMatchingPlatformOperatingSystem()
|
pure virtual |
Check if any of the node's condition attributes matches the current operating system.
See IPlatformConfiguration::IsOperatingSystemMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the operating system.
◆ IsAnyAttributeValueMatchingPlatformGpu()
|
pure virtual |
Check if any of the node's condition attributes matches the current GPU.
See IPlatformConfiguration::IsGpuMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the GPU.
◆ IsAnyAttributeValueMatchingEngineVideoApi()
|
pure virtual |
Check if any of the node's condition attributes matches the current video API.
See IEngineConfiguration::IsVideoApiMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the video API.
◆ IsAnyAttributeValueMatchingEngineAudioApi()
|
pure virtual |
Check if any of the node's condition attributes matches the current audio API.
See IEngineConfiguration::IsAudioApiMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the audio API.
◆ IsAnyAttributeValueMatchingEnginePrescaleFactor()
|
pure virtual |
Check if any of the node's condition attributes matches the current prescale factor.
See IEngineConfiguration::IsTexturePrescaleDivisorMatching().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if at least of the condition attributes matches the prescale factor.
◆ AreAllAttributeValuesMatchingEngineFeatures()
|
pure virtual |
Check if all of the node's condition attributes match the current engine feature set.
See IEngineConfiguration::GetFeatures().
- Parameters
-
evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if all of the condition attributes match the engine feature set.
◆ GetAttributeValue() [1/7]
|
pure virtual |
Retrieve the current attribute value as a String.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
Referenced by Murl::Graph::NodeTarget< ObjectType, MIN_NUMBER_OF_NODES >::DeserializeNodeId(), Murl::Graph::NodeArrayTarget< ObjectType, MIN_NUMBER_OF_NODES, MAX_NUMBER_OF_NODES, RESERVED_NUMBER_OF_NODES >::DeserializeNodeId(), Murl::Graph::ResourceTarget< ObjectType, MIN_NUMBER_OF_RESOURCES >::DeserializeResourceId(), and Murl::Graph::ResourceArrayTarget< ObjectType, MIN_NUMBER_OF_RESOURCES, MAX_NUMBER_OF_RESOURCES, RESERVED_NUMBER_OF_RESOURCES >::DeserializeResourceId().
◆ GetAttributeValue() [2/7]
|
pure virtual |
Retrieve the current attribute value as a Bool value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValue() [3/7]
|
pure virtual |
Retrieve the current attribute value as an UInt32 value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValue() [4/7]
|
pure virtual |
Retrieve the current attribute value as an SInt32 value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValue() [5/7]
|
pure virtual |
Retrieve the current attribute value as a Double value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValue() [6/7]
|
pure virtual |
Retrieve the current attribute value as a Float value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValue() [7/7]
|
pure virtual |
Retrieve the current attribute value as a Color value.
- Parameters
-
value A reference to a variable receiving the attribute value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValue() [1/2]
|
pure virtual |
Retrieve the current attribute value interpreted as an angle value.
The attribute value must contain either the "deg" or "d" postfix for an angle value in degrees, or the "rad" or "r" postfix for an angle value in radians.
- Parameters
-
value A reference to a variable to receive the angle value in radians. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValue() [2/2]
|
pure virtual |
Retrieve the current attribute value interpreted as an angle value.
The attribute value must contain either the "deg" or "d" postfix for an angle value in degrees, or the "rad" or "r" postfix for an angle value in radians.
- Parameters
-
value A reference to a variable to receive the angle value in radians. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeColorValue()
|
pure virtual |
Retrieve the current attribute value interpreted as an color value.
- Parameters
-
value A reference to a variable to receive the color value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [1/12]
|
pure virtual |
Split the current attribute value to a String array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
Referenced by Murl::Graph::NodeArrayTarget< ObjectType, MIN_NUMBER_OF_NODES, MAX_NUMBER_OF_NODES, RESERVED_NUMBER_OF_NODES >::DeserializeNodeIds(), and Murl::Graph::ResourceArrayTarget< ObjectType, MIN_NUMBER_OF_RESOURCES, MAX_NUMBER_OF_RESOURCES, RESERVED_NUMBER_OF_RESOURCES >::DeserializeResourceIds().
◆ GetAttributeValues() [2/12]
|
pure virtual |
Split the current attribute value to a Bool array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [3/12]
|
pure virtual |
Split the current attribute value to an UInt32 array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [4/12]
|
pure virtual |
Split the current attribute value to an SInt32 array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [5/12]
|
pure virtual |
Split the current attribute value to a Double array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [6/12]
|
pure virtual |
Split the current attribute value to a Float array.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValues() [1/4]
|
pure virtual |
Split the current attribute value to a Double array, interpreted as angle values.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValues() [2/4]
|
pure virtual |
Split the current attribute value to a Float array, interpreted as angle values.
- Parameters
-
values A reference to an array receiving the output values. clear If true, the given array is cleared prior to conversion. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [7/12]
|
pure virtual |
Split the current attribute value to a String buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [8/12]
|
pure virtual |
Split the current attribute value to a Bool buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [9/12]
|
pure virtual |
Split the current attribute value to an UInt32 buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [10/12]
|
pure virtual |
Split the current attribute value to an SInt32 buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [11/12]
|
pure virtual |
Split the current attribute value to a Double buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeValues() [12/12]
|
pure virtual |
Split the current attribute value to a Float buffer.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValues() [3/4]
|
pure virtual |
Split the current attribute value to a Double buffer, interpreted as angle values.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeAngleValues() [4/4]
|
pure virtual |
Split the current attribute value to a Float buffer, interpreted as angle values.
- Parameters
-
values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeFlagToSet()
|
pure virtual |
Set a bit mask if the current attribute value evaluates to boolean true.
- Parameters
-
mask The bit mask to set if true. value A reference to a variable where the bits are set. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeFlagToClear()
|
pure virtual |
Clear a bit mask if the current attribute value evaluates to boolean true.
- Parameters
-
mask The bit mask to clear if true. value A reference to a variable where the bits are cleared. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeBitsToSet()
|
pure virtual |
Retrieve the actual bit numbers to set from the given attribute value.
The attribute value must contain a comma-separated list of bit numbers (0-31) to set in the given output value.
- Parameters
-
value A reference to a variable where the bits are set. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
◆ GetAttributeEnumValue()
|
inline |
Retrieve the current attribute containing an enumeration string identifier.
- Parameters
-
e The enumeration containing valid values. value A reference to an enum variable to receive the converted value. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
References GetAttributeIndex(), GetAttributes(), Murl::IAttributes::GetEnumValueByIndex(), GetParameters(), and GetResult().
◆ GetAttributeEnumValues() [1/2]
|
inline |
Retrieve the current attribute containing a list of comma-separated enumeration string identifiers.
- Parameters
-
e The enumeration containing valid values. values A reference to an array of enum variables to receive the converted values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
References GetAttributeIndex(), GetAttributes(), Murl::IAttributes::GetEnumValuesByIndex(), GetParameters(), and GetResult().
◆ GetAttributeEnumValues() [2/2]
|
inline |
Retrieve the current attribute containing a list of comma-separated enumeration string identifiers.
- Parameters
-
e The enumeration containing valid values. values A pointer to a raw memory buffer receiving the output values. maxValues The capacity of the given buffer. numValues An optional pointer to a variable receiving the actual number of values. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
References GetAttributeIndex(), GetAttributes(), Murl::IAttributes::GetEnumValuesByIndex(), GetParameters(), and GetResult().
◆ GetAttributeEnumBitsToSet()
|
inline |
Retrieve the actual bit numbers to set from the given attribute value via enumeration string identifiers.
The attribute value must contain a comma-separated list of enumeration string identifiers that represent individual bits to set in the given output value.
- Parameters
-
e The enumeration containing valid values. value A reference to a variable where the bits are set. evaluateParams if true, the attribute values are evaluated using the present parameters.
- Returns
- true if the value is valid.
References GetAttributeIndex(), GetAttributes(), Murl::IAttributes::GetEnumBitsToSetByIndex(), GetParameters(), and GetResult().
◆ GetBaseAttribute()
|
pure virtual |
Get the actual ID of the current base attribute being deserialized.
- Parameters
-
info The AttributeInfo structure of the current class, obtained from GetAttributeInfo().
- Returns
- The base ID.
◆ GetParentAttribute()
|
pure virtual |
Get the actual ID of the current parent attribute being deserialized.
- Parameters
-
info The AttributeInfo structure of the current class, obtained from GetAttributeInfo().
- Returns
- The parent ID.
◆ GetGrandParentAttribute()
|
pure virtual |
Get the actual ID of the current grand parent attribute being deserialized.
- Parameters
-
info The AttributeInfo structure of the current class, obtained from GetAttributeInfo().
- Returns
- The grand parent ID.
◆ GetBaseAttributeName()
|
pure virtual |
Get the name of the current base attribute.
- Returns
- The base attribute name.
Referenced by Murl::Graph::NodeArrayTarget< ObjectType, MIN_NUMBER_OF_NODES, MAX_NUMBER_OF_NODES, RESERVED_NUMBER_OF_NODES >::DeserializeNodeId(), and Murl::Graph::ResourceArrayTarget< ObjectType, MIN_NUMBER_OF_RESOURCES, MAX_NUMBER_OF_RESOURCES, RESERVED_NUMBER_OF_RESOURCES >::DeserializeResourceId().
◆ GetParentAttributeName()
|
pure virtual |
Get the name of the current parent attribute.
- Returns
- The parent attribute name.
◆ GetGrandParentAttributeName()
|
pure virtual |
Get the name of the current grand parent attribute.
- Returns
- The parent attribute name.
◆ GetResult()
|
pure virtual |
Get the result object.
- Returns
- The result object.
Referenced by GetAttributeEnumBitsToSet(), GetAttributeEnumValue(), and GetAttributeEnumValues().
The documentation for this interface was generated from the following file:
- murl_graph_i_deserialize_attribute_tracker.h