Class Ifc4x1::IfcPropertyListValue

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x1::IfcPropertyListValue : public Ifc4x1::IfcSimpleProperty

An IfcPropertyListValue defines a property that has several (numeric or descriptive) values assigned, these values are given by an ordered list.It defines a property - list value combination for which the property Name, an optional Description,the optional ListValues with measure type and optionally an Unit is given.

An IfcPropertyListValue is a list of values. The order in which values appear is significant. Each value in the list is unique i.e. no duplicate values are allowed. All list members shall be of the same type.

The unit applicable to all values is handled by the Unit attribute:

If the Unit attribute is not given, then the unit is already implied by the type of IfcMeasureValue or IfcDerivedMeasureValue. The associated unit can be found at the IfcUnitAssignment globally defined at the project level (IfcProject.UnitsInContext).

If the Unit attribute is given, then the unit assigned by the Unit attribute overrides the globally assigned unit.

Example of a property with list value is:

Name

ListValues

Type (through IfcValue)

Unit

ApplicableSizes

1200

IfcPositiveLengthMeasure

  • 1600

IfcPositiveLengthMeasure

  • 2400

IfcPositiveLengthMeasure

  • HISTORY New Entity in Release IFC 2x Edition 2.

IFC2x4 CHANGE Attribute ListValues has been made OPTIONAL with upward compatibility for file based exchange.

Public Types

typedef IfcTemplatedEntityList<IfcPropertyListValue> list

Public Functions

bool hasListValues() const

Whether the optional attribute ListValues is defined for this IfcPropertyListValue.

IfcEntityList::ptr ListValues() const

List of property values.

IFC2x4 CHANGE The attribute has been made optional with upward compatibility for file based exchange.

void setListValues(IfcEntityList::ptr v)
bool hasUnit() const

Whether the optional attribute Unit is defined for this IfcPropertyListValue.

::Ifc4x1::IfcUnit *Unit() const

Unit for the list values, if not given, the default value for the measure type (given by the TYPE of nominal value) is used as defined by the global unit assignment at IfcProject.

void setUnit(::Ifc4x1::IfcUnit *v)
const IfcParse::entity &declaration() const
IfcPropertyListValue(IfcEntityInstanceData *e)
IfcPropertyListValue(std::string v1_Name, boost::optional<std::string> v2_Description, boost::optional<IfcEntityList::ptr> v3_ListValues, ::Ifc4x1::IfcUnit *v4_Unit)

Public Static Functions

const IfcParse::entity &Class()