cee::ug::ElementUserPropertyInfo

class ElementUserPropertyInfo

Contains meta data for a given user property: Name and index (0,1,2) of the property, as well as the name of each property value.

Public Functions

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 setValueString(int propertyValue, const Str &valueString)

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

Str valueString(int propertyValue) const

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

std::vector<int> allValues() const

Returns a vector with all values specified in this property.