cee::ug::ElementUserPropertyInfo

class ElementUserPropertyInfo

Simple class containing metadata info an element user property.

Public Functions

ElementUserPropertyInfo()

Constructs an empty object.

Default propertyIndex is -1 (invalid).

ElementUserPropertyInfo(int index, const Str &name)

Constructs a new property info with the specified propertyIndex and name.

ElementUserPropertyInfo(const ElementUserPropertyInfo &other)

Constructs a new property info info that is a copy of other.

ElementUserPropertyInfo &operator=(const ElementUserPropertyInfo &rhs)

Assigns rhs to this property info info and returns a reference to this set info.

bool operator==(const ElementUserPropertyInfo &rhs) const

Returns true if this object is equal to rhs.

bool operator!=(const ElementUserPropertyInfo &rhs) const

Returns true if this object is not equal to rhs.

int propertyIndex() const

Returns the user property index.

Str name() const

Returns the user property name.

void setName(const Str &name)

Sets the user property name.

void setValueName(int propertyValue, const Str &propertyName)

Sets the name of the specified property value within this property.

Str valueName(int propertyValue) const

Returns the name of the specified property value within this property.