Murl::Util::Attributes Class Reference

The attributes class, see IAttributes. More...

#include "murl_util_attributes.h"

Inheritance diagram for Murl::Util::Attributes:

Public Member Functions

 Attributes ()
 The default constructor.
 
 Attributes (const Char **attributes)
 Constructor taking a string array. More...
 
 Attributes (const IAttributes *other, Bool unusedOnly=false)
 Constructor copying attributes with option. More...
 
 Attributes (const IAttributes *base, const IAttributes *additional)
 Constructor copying attributes. More...
 
virtual ~Attributes ()
 The destructor.
 
virtual Bool Clear ()
 Implementation of IAttributes::Clear(). More...
 
virtual Bool AddDefaults (const IAttributes *defaultAttributes)
 Implementation of IAttributes::AddDefaults(const IAttributes* defaultAttributes). More...
 
virtual UInt32 GetNumberOfDefaults () const
 Implementation of IAttributes::GetNumberOfDefaults() const. More...
 
virtual const IAttributesGetDefaults (UInt32 index) const
 Implementation of IAttributes::GetDefaults(UInt32 index) const. More...
 
virtual Bool AddAttribute (const String &fullName, const String &value)
 Implementation of IAttributes::AddAttribute(const String& fullName, const String& value). More...
 
virtual Bool SetAttribute (const String &fullName, const String &value)
 Implementation of IAttributes::SetAttribute(const String& fullName, const String& value). More...
 
virtual UInt32 GetNumberOfAttributes () const
 Implementation of IAttributes::GetNumberOfAttributes(). More...
 
virtual UInt32 GetAttributeHash (UInt32 index, UInt32 level=0) const
 Implementation of IAttributes::GetAttributeHash(). More...
 
virtual const CharGetAttributeName (UInt32 index, UInt32 level=0) const
 Implementation of IAttributes::GetAttributeName(). More...
 
virtual const CharGetAttributeValue (UInt32 index, UInt32 level=0) const
 Implementation of IAttributes::GetAttributeValue(). More...
 
virtual String GetFullAttributeName (UInt32 index) const
 Implementation of IAttributes::GetFullAttributeName(). More...
 
virtual const CharGetFullAttributeValue (UInt32 index) const
 Implementation of IAttributes::GetFullAttributeValue(). More...
 
virtual SInt32 GetAttributeIndex (const char *name) const
 Implementation of IAttributes::GetAttributeIndex(). More...
 
virtual SInt32 GetFullAttributeIndex (const char *fullName) const
 Implementation of IAttributes::GetFullAttributeIndex(). More...
 
virtual SInt32 GetAttributeParent (UInt32 index) const
 Implementation of IAttributes::GetAttributeParent(). More...
 
virtual UInt32 GetAttributeLevel (UInt32 index) const
 Implementation of IAttributes::GetAttributeLevel(). More...
 
virtual Bool IsAttributeUsed (UInt32 index) const
 Implementation of IAttributes::IsAttributeUsed(). More...
 
virtual Bool HasAttributeValue (UInt32 index) const
 Implementation of IAttributes::HasAttributeValue(). More...
 
virtual UInt32 GetNumberOfUnusedAttributes () const
 Implementation of IAttributes::GetNumberOfUnusedAttributesGetNumberOfUnusedAttributes(). More...
 
virtual Bool GetUnusedAttributeNames (StringArray &names) const
 Implementation of IAttributes::GetUnusedAttributeNames(). More...
 
virtual Bool SetAllAttributesUsed () const
 Implementation of IAttributes::SetAllAttributesUsed(). More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, String &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, String& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, Bool &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Bool& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, UInt32 &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, UInt32& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, SInt32 &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, SInt32& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, Double &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Double& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetValueByIndex (UInt32 index, const IAttributes *params, Color &value, Bool &error) const
 Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Color& value, Bool& error) const. More...
 
virtual Bool GetAngleValueByIndex (UInt32 index, const IAttributes *params, Double &value, Bool &error) const
 Implementation of IAttributes::GetAngleValueByIndex(UInt32 index, const IAttributes* params, Double& value, Bool& error) const. More...
 
virtual Bool GetAngleValueByIndex (UInt32 index, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetAngleValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetColorValueByIndex (UInt32 index, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetColorValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, StringArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, StringArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, BoolArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, BoolArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, UInt32Array &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, UInt32Array& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, SInt32Array &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, SInt32Array& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, DoubleArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, FloatArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetAngleValuesByIndex (UInt32 index, const IAttributes *params, DoubleArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetAngleValuesByIndex (UInt32 index, const IAttributes *params, FloatArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, String *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, String* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, Bool *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Bool* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, UInt32 *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, UInt32* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, SInt32 *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, SInt32* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, Double *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Double* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetValuesByIndex (UInt32 index, const IAttributes *params, Float *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Float* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetAngleValuesByIndex (UInt32 index, const IAttributes *params, Double *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, Double* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetAngleValuesByIndex (UInt32 index, const IAttributes *params, Float *values, UInt32 maxValues, Bool &error, UInt32 *numValues) const
 Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, Float* values, UInt32 maxValues, Bool& error, UInt32* numValues) const. More...
 
virtual Bool GetBitsToSetByIndex (UInt32 index, const IAttributes *params, UInt32 &value, Bool &error) const
 Implementation of IAttributes::GetBitsToSetByIndex(UInt32 index, const IAttributes* params, UInt32& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, String &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, String& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, Bool &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Bool& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, UInt32 &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, UInt32& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, SInt32 &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, SInt32& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, Double &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Double& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetValueByName (const Char *name, const IAttributes *params, Color &value, Bool &error) const
 Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Color& value, Bool& error) const. More...
 
virtual Bool GetAngleValueByName (const Char *name, const IAttributes *params, Double &value, Bool &error) const
 Implementation of IAttributes::GetAngleValueByName(const Char* name, const IAttributes* params, Double& value, Bool& error) const. More...
 
virtual Bool GetAngleValueByName (const Char *name, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetAngleValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetColorValueByName (const Char *name, const IAttributes *params, Float &value, Bool &error) const
 Implementation of IAttributes::GetColorValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, StringArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, StringArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, BoolArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, BoolArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, UInt32Array &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, UInt32Array& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, SInt32Array &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, SInt32Array& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, DoubleArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetValuesByName (const Char *name, const IAttributes *params, FloatArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetAngleValuesByName (const Char *name, const IAttributes *params, DoubleArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetAngleValuesByName(const Char* name, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetAngleValuesByName (const Char *name, const IAttributes *params, FloatArray &values, Bool &error, Bool clear=true) const
 Implementation of IAttributes::GetAngleValuesByName(const Char* name, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const. More...
 
virtual Bool GetBitsToSetByName (const Char *name, const IAttributes *params, UInt32 &value, Bool &error) const
 Implementation of IAttributes::GetBitsToSetByName(const Char* name, const IAttributes* params, UInt32& value, Bool& error) const. More...
 
- Public Member Functions inherited from Murl::Util::AttributesBase
 AttributesBase ()
 The default constructor.
 
virtual ~AttributesBase ()
 The destructor.
 
Bool EvaluateParameters (const IAttributes *params, String &value, Bool &error) const
 Evaluate the attribute values inside curly braces. More...
 
virtual Bool EvaluateExpression (const Char *expression, String &value, Bool &error) const
 Implementation of IAttributes::EvaluateExpression(const String& expression, String& result) const. More...
 
- Public Member Functions inherited from Murl::IAttributes
virtual ~IAttributes ()
 The destructor.
 
template<class EnumType >
Bool GetEnumValueByIndex (UInt32 index, const IAttributes *params, const Enum< EnumType > &enumClass, EnumType &value, Bool &error) const
 Get the enumeration value of an attribute by index. More...
 
template<class EnumType >
Bool GetEnumValuesByIndex (UInt32 index, const IAttributes *params, const Enum< EnumType > &enumClass, Array< EnumType > &values, Bool &error, Bool clear=true) const
 Get the enumeration values of an attribute by index. More...
 
template<class EnumType >
Bool GetEnumValuesByIndex (UInt32 index, const IAttributes *params, const Enum< EnumType > &enumClass, EnumType *values, UInt32 maxValues, Bool &error, UInt32 *numValues=0) const
 Get the enumeration values of an attribute by index. More...
 
template<class EnumType >
Bool GetEnumBitsToSetByIndex (UInt32 index, const IAttributes *params, const Enum< EnumType > &enumClass, UInt32 &value, Bool &error) const
 Get the enumerated bit number values of an attribute by index and set the bits. More...
 
template<class EnumType >
Bool GetEnumValueByName (const Char *name, const IAttributes *params, const Enum< EnumType > &enumClass, EnumType &value, Bool &error) const
 Get the enumeration value of an attribute by name at level 0. More...
 
template<class EnumType >
Bool GetEnumValuesByName (const Char *name, const IAttributes *params, const Enum< EnumType > &enumClass, Array< EnumType > &values, Bool &error, Bool clear=true) const
 Get the enumeration values of an attribute by name at level 0. More...
 
template<class EnumType >
Bool GetEnumBitsToSetByName (const Char *name, const IAttributes *params, const Enum< EnumType > &enumClass, UInt32 &value, Bool &error) const
 Get the enumerated bit number values of an attribute by name at level 0 and set the bits. More...
 

Detailed Description

The attributes class, see IAttributes.

Constructor & Destructor Documentation

◆ Attributes() [1/3]

Murl::Util::Attributes::Attributes ( const Char **  attributes)

Constructor taking a string array.

The first array element contains the attribute name and the second array element contains the corresponding attribute value. The array must be terminated by a null pointer in the last element.

Parameters
attributesThe string array containing name and value pairs.

◆ Attributes() [2/3]

Murl::Util::Attributes::Attributes ( const IAttributes other,
Bool  unusedOnly = false 
)

Constructor copying attributes with option.

Parameters
otherThe attributes to copy.
unusedOnlyCopy unused attributes only if true.

◆ Attributes() [3/3]

Murl::Util::Attributes::Attributes ( const IAttributes base,
const IAttributes additional 
)

Constructor copying attributes.

Parameters
baseThe attributes to copy.
additionalThe additional attributes to copy.

Member Function Documentation

◆ Clear()

virtual Bool Murl::Util::Attributes::Clear ( )
virtual

Implementation of IAttributes::Clear().

Returns
true if successful.

Implements Murl::IAttributes.

◆ AddDefaults()

virtual Bool Murl::Util::Attributes::AddDefaults ( const IAttributes defaultAttributes)
virtual

Implementation of IAttributes::AddDefaults(const IAttributes* defaultAttributes).

Parameters
defaultAttributesThe default attributes object to add.
Returns
true if successful, false if the given object was already added or the container does not allow to add defaults.

Implements Murl::IAttributes.

◆ GetNumberOfDefaults()

virtual UInt32 Murl::Util::Attributes::GetNumberOfDefaults ( ) const
virtual

Implementation of IAttributes::GetNumberOfDefaults() const.

Returns
The number of default attribute sets.

Implements Murl::IAttributes.

◆ GetDefaults()

virtual const IAttributes* Murl::Util::Attributes::GetDefaults ( UInt32  index) const
virtual

Implementation of IAttributes::GetDefaults(UInt32 index) const.

Parameters
indexThe index, from 0 to GetNumberOfDefaults()-1.
Returns
The default attribute set, or null if index is out of range.

Implements Murl::IAttributes.

◆ AddAttribute()

virtual Bool Murl::Util::Attributes::AddAttribute ( const String fullName,
const String value 
)
virtual

Implementation of IAttributes::AddAttribute(const String& fullName, const String& value).

Parameters
fullNameThe full name of the attribute (including the dots).
valueThe value of the attribute.
Returns
true if successful, false if the name already exists.

Implements Murl::IAttributes.

◆ SetAttribute()

virtual Bool Murl::Util::Attributes::SetAttribute ( const String fullName,
const String value 
)
virtual

Implementation of IAttributes::SetAttribute(const String& fullName, const String& value).

Parameters
fullNameThe full name of the attribute (including the dots).
valueThe value of the attribute.
Returns
true if successful, false if the name does not exist.

Implements Murl::IAttributes.

◆ GetNumberOfAttributes()

virtual UInt32 Murl::Util::Attributes::GetNumberOfAttributes ( ) const
virtual

Implementation of IAttributes::GetNumberOfAttributes().

Returns
The number of attributes.

Implements Murl::IAttributes.

◆ GetAttributeHash()

virtual UInt32 Murl::Util::Attributes::GetAttributeHash ( UInt32  index,
UInt32  level = 0 
) const
virtual

Implementation of IAttributes::GetAttributeHash().

Parameters
indexThe index of the attribute.
levelThe level of the attribute.
Returns
The hash value of the attribute name.

Implements Murl::IAttributes.

◆ GetAttributeName()

virtual const Char* Murl::Util::Attributes::GetAttributeName ( UInt32  index,
UInt32  level = 0 
) const
virtual

Implementation of IAttributes::GetAttributeName().

Parameters
indexThe index of the attribute.
levelThe level of the attribute.
Returns
The name of the attribute or null if index / level is out of range.

Implements Murl::IAttributes.

◆ GetAttributeValue()

virtual const Char* Murl::Util::Attributes::GetAttributeValue ( UInt32  index,
UInt32  level = 0 
) const
virtual

Implementation of IAttributes::GetAttributeValue().

Parameters
indexThe index of the attribute.
levelThe level of the attribute.
Returns
The value of the attribute or null if the attribute has no value or if index / level is out of range.

Implements Murl::IAttributes.

◆ GetFullAttributeName()

virtual String Murl::Util::Attributes::GetFullAttributeName ( UInt32  index) const
virtual

Implementation of IAttributes::GetFullAttributeName().

Parameters
indexThe index of the attribute.
Returns
The name of the attribute or an empty string if index is out of range.

Implements Murl::IAttributes.

◆ GetFullAttributeValue()

virtual const Char* Murl::Util::Attributes::GetFullAttributeValue ( UInt32  index) const
virtual

Implementation of IAttributes::GetFullAttributeValue().

Parameters
indexThe index of the attribute.
Returns
The value of the attribute or null if the attribute has no value or if index is out of range.

Implements Murl::IAttributes.

◆ GetAttributeIndex()

virtual SInt32 Murl::Util::Attributes::GetAttributeIndex ( const char *  name) const
virtual

Implementation of IAttributes::GetAttributeIndex().

Parameters
nameThe name of the attribute.
Returns
The index of the attribute or -1 if the name at level 0 does not exist.

Implements Murl::IAttributes.

◆ GetFullAttributeIndex()

virtual SInt32 Murl::Util::Attributes::GetFullAttributeIndex ( const char *  fullName) const
virtual

Implementation of IAttributes::GetFullAttributeIndex().

Parameters
fullNameThe full name of the attribute, including separating dots.
Returns
The index of the attribute or -1 if the given name does not exist.

Implements Murl::IAttributes.

◆ GetAttributeParent()

virtual SInt32 Murl::Util::Attributes::GetAttributeParent ( UInt32  index) const
virtual

Implementation of IAttributes::GetAttributeParent().

Parameters
indexThe index of the attribute.
Returns
The parent index of the attribute or -1 if the attribute has no parent or if index is out of range.

Implements Murl::IAttributes.

◆ GetAttributeLevel()

virtual UInt32 Murl::Util::Attributes::GetAttributeLevel ( UInt32  index) const
virtual

Implementation of IAttributes::GetAttributeLevel().

Parameters
indexThe index of the attribute.
Returns
The level of the attribute.

Implements Murl::IAttributes.

◆ IsAttributeUsed()

virtual Bool Murl::Util::Attributes::IsAttributeUsed ( UInt32  index) const
virtual

Implementation of IAttributes::IsAttributeUsed().

Parameters
indexThe index of the attribute.
Returns
true if the attribute is used.

Implements Murl::IAttributes.

◆ HasAttributeValue()

virtual Bool Murl::Util::Attributes::HasAttributeValue ( UInt32  index) const
virtual

Implementation of IAttributes::HasAttributeValue().

Parameters
indexThe index of the attribute.
Returns
true if the attribute has a value.

Implements Murl::IAttributes.

◆ GetNumberOfUnusedAttributes()

virtual UInt32 Murl::Util::Attributes::GetNumberOfUnusedAttributes ( ) const
virtual

Implementation of IAttributes::GetNumberOfUnusedAttributesGetNumberOfUnusedAttributes().

Returns
The number of unused attributes.

Implements Murl::IAttributes.

◆ GetUnusedAttributeNames()

virtual Bool Murl::Util::Attributes::GetUnusedAttributeNames ( StringArray names) const
virtual

Implementation of IAttributes::GetUnusedAttributeNames().

Parameters
namesThe string array to add the names.
Returns
true if names were added.

Implements Murl::IAttributes.

◆ SetAllAttributesUsed()

virtual Bool Murl::Util::Attributes::SetAllAttributesUsed ( ) const
virtual

Implementation of IAttributes::SetAllAttributesUsed().

Returns
true if successful.

Implements Murl::IAttributes.

◆ GetValueByIndex() [1/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
String value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, String& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe string return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [2/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
Bool value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Bool& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe boolean return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [3/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
UInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, UInt32& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe unsigned integer return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [4/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
SInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, SInt32& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe signed integer return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [5/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
Double value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Double& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe double return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [6/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe float return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByIndex() [7/7]

virtual Bool Murl::Util::Attributes::GetValueByIndex ( UInt32  index,
const IAttributes params,
Color value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByIndex(UInt32 index, const IAttributes* params, Color& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe color return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValueByIndex() [1/2]

virtual Bool Murl::Util::Attributes::GetAngleValueByIndex ( UInt32  index,
const IAttributes params,
Double value,
Bool error 
) const
virtual

Implementation of IAttributes::GetAngleValueByIndex(UInt32 index, const IAttributes* params, Double& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe angle double return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValueByIndex() [2/2]

virtual Bool Murl::Util::Attributes::GetAngleValueByIndex ( UInt32  index,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetAngleValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe angle float return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetColorValueByIndex()

virtual Bool Murl::Util::Attributes::GetColorValueByIndex ( UInt32  index,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetColorValueByIndex(UInt32 index, const IAttributes* params, Float& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe color component return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [1/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
StringArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, StringArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe string array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [2/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
BoolArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, BoolArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe boolean array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [3/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
UInt32Array values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, UInt32Array& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe unsigned integer array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [4/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
SInt32Array values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, SInt32Array& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe signed integer array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [5/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
DoubleArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe double array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [6/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
FloatArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe float array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValuesByIndex() [1/4]

virtual Bool Murl::Util::Attributes::GetAngleValuesByIndex ( UInt32  index,
const IAttributes params,
DoubleArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe double array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValuesByIndex() [2/4]

virtual Bool Murl::Util::Attributes::GetAngleValuesByIndex ( UInt32  index,
const IAttributes params,
FloatArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe float array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [7/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
String values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, String* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of String objects to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [8/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
Bool values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Bool* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of Bool values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [9/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
UInt32 values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, UInt32* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of UInt32 values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [10/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
SInt32 values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, SInt32* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of SInt32 values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [11/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
Double values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Double* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of Double values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValuesByIndex() [12/12]

virtual Bool Murl::Util::Attributes::GetValuesByIndex ( UInt32  index,
const IAttributes params,
Float values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetValuesByIndex(UInt32 index, const IAttributes* params, Float* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of Float values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValuesByIndex() [3/4]

virtual Bool Murl::Util::Attributes::GetAngleValuesByIndex ( UInt32  index,
const IAttributes params,
Double values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, Double* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of double values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetAngleValuesByIndex() [4/4]

virtual Bool Murl::Util::Attributes::GetAngleValuesByIndex ( UInt32  index,
const IAttributes params,
Float values,
UInt32  maxValues,
Bool error,
UInt32 numValues 
) const
virtual

Implementation of IAttributes::GetAngleValuesByIndex(UInt32 index, const IAttributes* params, Float* values, UInt32 maxValues, Bool& error, UInt32* numValues) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesA pointer to a raw array of float values to receive the return values.
maxValuesThe capacity of the raw array.
errorThe error return value is set to true if data conversion failed.
numValuesAn optional pointer to a variable receiving the number of return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetBitsToSetByIndex()

virtual Bool Murl::Util::Attributes::GetBitsToSetByIndex ( UInt32  index,
const IAttributes params,
UInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetBitsToSetByIndex(UInt32 index, const IAttributes* params, UInt32& value, Bool& error) const.

Parameters
indexThe index of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe bits return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Implements Murl::IAttributes.

◆ GetValueByName() [1/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
String value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, String& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe string return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [2/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
Bool value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Bool& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe boolean return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [3/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
UInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, UInt32& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe unsigned integer return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [4/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
SInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, SInt32& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe signed integer return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [5/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
Double value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Double& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe double return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [6/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe float return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValueByName() [7/7]

virtual Bool Murl::Util::Attributes::GetValueByName ( const Char name,
const IAttributes params,
Color value,
Bool error 
) const
virtual

Implementation of IAttributes::GetValueByName(const Char* name, const IAttributes* params, Color& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe color return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetAngleValueByName() [1/2]

virtual Bool Murl::Util::Attributes::GetAngleValueByName ( const Char name,
const IAttributes params,
Double value,
Bool error 
) const
virtual

Implementation of IAttributes::GetAngleValueByName(const Char* name, const IAttributes* params, Double& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe angle double return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetAngleValueByName() [2/2]

virtual Bool Murl::Util::Attributes::GetAngleValueByName ( const Char name,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetAngleValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe angle float return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetColorValueByName()

virtual Bool Murl::Util::Attributes::GetColorValueByName ( const Char name,
const IAttributes params,
Float value,
Bool error 
) const
virtual

Implementation of IAttributes::GetColorValueByName(const Char* name, const IAttributes* params, Float& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe color component return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [1/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
StringArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, StringArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe string array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [2/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
BoolArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, BoolArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe boolean array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [3/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
UInt32Array values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, UInt32Array& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe unsigned integer array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [4/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
SInt32Array values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, SInt32Array& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe signed integer array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [5/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
DoubleArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe double array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetValuesByName() [6/6]

virtual Bool Murl::Util::Attributes::GetValuesByName ( const Char name,
const IAttributes params,
FloatArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetValuesByName(const Char* name, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe float array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetAngleValuesByName() [1/2]

virtual Bool Murl::Util::Attributes::GetAngleValuesByName ( const Char name,
const IAttributes params,
DoubleArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetAngleValuesByName(const Char* name, const IAttributes* params, DoubleArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe double array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetAngleValuesByName() [2/2]

virtual Bool Murl::Util::Attributes::GetAngleValuesByName ( const Char name,
const IAttributes params,
FloatArray values,
Bool error,
Bool  clear = true 
) const
virtual

Implementation of IAttributes::GetAngleValuesByName(const Char* name, const IAttributes* params, FloatArray& values, Bool& error, Bool clear) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valuesThe float array return value.
errorThe error return value is set to true if data conversion failed.
clearIf true clear the return value array before adding the return values.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.

◆ GetBitsToSetByName()

virtual Bool Murl::Util::Attributes::GetBitsToSetByName ( const Char name,
const IAttributes params,
UInt32 value,
Bool error 
) const
virtual

Implementation of IAttributes::GetBitsToSetByName(const Char* name, const IAttributes* params, UInt32& value, Bool& error) const.

Parameters
nameThe name of the attribute.
paramsThe attributes for value substituion inside curly braces or null.
valueThe bits return value.
errorThe error return value is set to true if data conversion failed.
Returns
true if successful, false if the attribute index is out of range or if the attribute has no value or if error is true.

Reimplemented from Murl::Util::AttributesBase.


The documentation for this class was generated from the following file:
  • murl_util_attributes.h


Copyright © 2011-2018 Spraylight GmbH.