CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4::IfcPropertyTableValue Class Reference

#include <IfcPropertyTableValueAutoImpl.h>

Inheritance diagram for OdIfc4::IfcPropertyTableValue:
OdIfc4::IfcSimpleProperty OdIfc4::IfcProperty OdIfc4::IfcPropertyAbstraction OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance

Public Member Functions

void getDefiningValues (OdArray< OdDAI::Select > &DefiningValues) const
 
void getDefiningValuesWrapperArray (OdArray< IfcValue > &DefiningValues) const
 
OdDAI::ListOfSelect & definingValues ()
 
void getDefinedValues (OdArray< OdDAI::Select > &DefinedValues) const
 
void getDefinedValuesWrapperArray (OdArray< IfcValue > &DefinedValues) const
 
OdDAI::ListOfSelect & definedValues ()
 
const OdAnsiString & getExpression () const
 
void setExpression (const OdAnsiString &Expression)
 
IfcUnit definingUnit ()
 
IfcUnit definedUnit ()
 
IfcCurveInterpolationEnum getCurveInterpolation () const
 
void setCurveInterpolation (IfcCurveInterpolationEnum CurveInterpolation)
 
 IfcPropertyTableValue ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler) override
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler) override
 
virtual OdDAI::Entity * getInstanceType () const override
 
virtual OdRxValue getAttr (const char *attrName) const override
 
virtual bool comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) const override
 
virtual void unsetAttr (const char *explicitAttrName) override
 
virtual bool testAttr (const char *explicitAttrName) const override
 
virtual bool putAttr (const char *explicitAttrName, const OdRxValue &val) override
 
virtual bool isKindOf (OdIfc::OdIfcEntityType entityType) const override
 
virtual OdIfc::OdIfcEntityType type () const override
 
virtual OdRxValue getAttr (const OdIfc::OdIfcAttribute attrDef) const override
 
virtual void unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override
 
virtual bool testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override
 
virtual bool putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override
 
- Public Member Functions inherited from OdIfc4::IfcProperty
const OdAnsiString & getName () const
 
void setName (const OdAnsiString &Name)
 
const OdAnsiString & getDescription () const
 
void setDescription (const OdAnsiString &Description)
 
void getInvPartOfPset (OdDAIObjectIds &PartOfPset) const
 
void getInvPropertyForDependance (OdDAIObjectIds &PropertyForDependance) const
 
void getInvPropertyDependsOn (OdDAIObjectIds &PropertyDependsOn) const
 
void getInvPartOfComplex (OdDAIObjectIds &PartOfComplex) const
 
void getInvHasConstraints (OdDAIObjectIds &HasConstraints) const
 
void getInvHasApprovals (OdDAIObjectIds &HasApprovals) const
 
 IfcProperty ()
 
- Public Member Functions inherited from OdIfc4::IfcPropertyAbstraction
void getInvHasExternalReferences (OdDAIObjectIds &HasExternalReferences) const
 
- Public Member Functions inherited from OdIfc4::OdIfc4Instance
void setInverseCounterParts () override
 
- Public Member Functions inherited from OdIfc::OdIfcInstance
 ODRX_DECLARE_MEMBERS (OdIfcInstance)
 
 OdIfcInstance ()
 
 ~OdIfcInstance ()
 
bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
void unresolve ()
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

OdDAI::ListOfSelect m_DefiningValues
 
OdDAI::ListOfSelect m_DefinedValues
 
OdAnsiString m_Expression
 
OdDAI::Select m_DefiningUnit
 
OdDAI::Select m_DefinedUnit
 
OdDAI::Enum m_CurveInterpolation
 
- Protected Attributes inherited from OdIfc4::IfcProperty
OdAnsiString m_Name
 
OdAnsiString m_Description
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

IfcPropertyTableValue is a property with a value range defined by a property object which has two lists of (numeric or descriptive) values assigned. The values specify a table with two columns. The defining values provide the first column and establish the scope for the defined values (the second column). An optional Expression attribute can give the equation used for deriving the range value, which is for information purposes only.

If the Unit attribute is not specified, than 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 specified, the unit assigned by the Unit attribute overrides the globally assigned unit.
Remarks
The IfcPropertyTableValue only captures properties that can be expressed by a table with two columns. Use IfcPropertyReferenceValue with the PropertyReference being an IfcTable to express all those properties that require a table with tree or more columns.

\changes

IFC4 changes: DefiningValues: The attribute has been made optional with upward compatibility for file-based exchange. DefinedValues: The attribute has been made optional with upward compatibility for file-based exchange.

Definition at line 56 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcPropertyTableValue()

OdIfc4::IfcPropertyTableValue::IfcPropertyTableValue ( )

Default constructor for the IfcPropertyTableValue class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcPropertyTableValue::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

Reimplemented from OdIfc4::IfcSimpleProperty.

◆ definedUnit()

IfcUnit OdIfc4::IfcPropertyTableValue::definedUnit ( )

Returns the value of DefinedUnit attribute that represents the unit for the defined values. If not specified, the default value for the measure type is used as defined by the global unit assignment at IfcProject.

Returns
Returns the value of DefinedUnit attribute.

◆ definedValues()

OdDAI::ListOfSelect & OdIfc4::IfcPropertyTableValue::definedValues ( )

Returns the value of DefinedValues attribute. DefinedValues is defined values which are applicable for the scope as defined by the defining values.

Returns
Returns a list of OdDAI::Select values representing the DefinedValues attribute.

◆ definingUnit()

IfcUnit OdIfc4::IfcPropertyTableValue::definingUnit ( )

Returns the value of DefiningUnit attribute that represents the unit for the defining values. If not specified, the default value for the measure type is used as defined by the global unit assignment at IfcProject.

Returns
Returns the value of DefiningUnit attribute.

◆ definingValues()

OdDAI::ListOfSelect & OdIfc4::IfcPropertyTableValue::definingValues ( )

Returns the value of DefiningValues attribute. DefiningValues is list of defining values, which determine the defined values. This list has unique values only.

Returns
Returns a list of OdDAI::Select values representing the DefiningValues attribute.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcPropertyTableValue::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4::IfcProperty.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcPropertyTableValue::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4::IfcProperty.

◆ getCurveInterpolation()

IfcCurveInterpolationEnum OdIfc4::IfcPropertyTableValue::getCurveInterpolation ( ) const

Returns the value of CurveInterpolation attribute. CurveInterpolation is interpolation of the curve between two defining and defined values that are provided. If not provided, a linear interpolation is assumed.

Returns
Returns the value from the IfcCurveInterpolationEnum enumeration representing the CurveInterpolation attribute.

◆ getDefinedValues()

void OdIfc4::IfcPropertyTableValue::getDefinedValues ( OdArray< OdDAI::Select > & DefinedValues) const

Returns the value of DefinedValues attribute. DefinedValues is defined values which are applicable for the scope as defined by the defining values.

Parameters
DefinedValues[out] Receives an array of OdDAI::Select values representing the DefinedValues attribute.

◆ getDefinedValuesWrapperArray()

void OdIfc4::IfcPropertyTableValue::getDefinedValuesWrapperArray ( OdArray< IfcValue > & DefinedValues) const

Returns the value of DefinedValues attribute. DefinedValues is defined values which are applicable for the scope as defined by the defining values.

Parameters
DefinedValues[out] Receives an array of OdDAI::Select values representing the DefinedValues attribute.

◆ getDefiningValues()

void OdIfc4::IfcPropertyTableValue::getDefiningValues ( OdArray< OdDAI::Select > & DefiningValues) const

Returns the value of DefiningValues attribute. DefiningValues is list of defining values, which determine the defined values. This list has unique values only.

Parameters
DefiningValues[out] Receives an array of OdDAI::Select values representing the DefiningValues attribute.

◆ getDefiningValuesWrapperArray()

void OdIfc4::IfcPropertyTableValue::getDefiningValuesWrapperArray ( OdArray< IfcValue > & DefiningValues) const

Returns the value of DefiningValues attribute. DefiningValues is list of defining values, which determine the defined values. This list has unique values only.

Parameters
DefiningValues[out] Receives an array of OdDAI::Select values representing the DefiningValues attribute.

◆ getExpression()

const OdAnsiString & OdIfc4::IfcPropertyTableValue::getExpression ( ) const

Returns the value of Expression attribute. Expression is expression for the derivation of defined values from the defining values, the expression is given for information only, i.e. no automatic processing can be expected from the expression.

Returns
Returns the value of Expression attribute.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcPropertyTableValue::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4::IfcSimpleProperty.

◆ inFields()

virtual OdResult OdIfc4::IfcPropertyTableValue::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4::IfcProperty.

◆ isKindOf()

virtual bool OdIfc4::IfcPropertyTableValue::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4::IfcSimpleProperty.

◆ outFields()

virtual OdResult OdIfc4::IfcPropertyTableValue::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4::IfcProperty.

◆ putAttr() [1/2]

virtual bool OdIfc4::IfcPropertyTableValue::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4::IfcProperty.

◆ putAttr() [2/2]

virtual bool OdIfc4::IfcPropertyTableValue::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4::IfcProperty.

◆ setCurveInterpolation()

void OdIfc4::IfcPropertyTableValue::setCurveInterpolation ( IfcCurveInterpolationEnum CurveInterpolation)

Sets the value of CurveInterpolation attribute. CurveInterpolation is interpolation of the curve between two defining and defined values that are provided. If not provided, a linear interpolation is assumed.

Parameters
CurveInterpolation[in] value from the IfcCurveInterpolationEnum enumeration representing the CurveInterpolation attribute.

◆ setExpression()

void OdIfc4::IfcPropertyTableValue::setExpression ( const OdAnsiString & Expression)

Sets the value of Expression attribute. Expression is expression for the derivation of defined values from the defining values, the expression is given for information only, i.e. no automatic processing can be expected from the expression.

Parameters
Expression[in] Expression to set.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcPropertyTableValue::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4::IfcProperty.

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcPropertyTableValue::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4::IfcProperty.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcPropertyTableValue::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4::IfcSimpleProperty.

◆ unsetAttr() [1/2]

virtual void OdIfc4::IfcPropertyTableValue::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc4::IfcProperty.

◆ unsetAttr() [2/2]

virtual void OdIfc4::IfcPropertyTableValue::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc4::IfcProperty.

Member Data Documentation

◆ m_CurveInterpolation

OdDAI::Enum OdIfc4::IfcPropertyTableValue::m_CurveInterpolation
protected

Definition at line 293 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

◆ m_DefinedUnit

OdDAI::Select OdIfc4::IfcPropertyTableValue::m_DefinedUnit
protected

Definition at line 292 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

◆ m_DefinedValues

OdDAI::ListOfSelect OdIfc4::IfcPropertyTableValue::m_DefinedValues
protected

Definition at line 288 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

◆ m_DefiningUnit

OdDAI::Select OdIfc4::IfcPropertyTableValue::m_DefiningUnit
protected

Definition at line 291 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

◆ m_DefiningValues

OdDAI::ListOfSelect OdIfc4::IfcPropertyTableValue::m_DefiningValues
protected

Definition at line 286 of file Ifc4/IfcPropertyTableValueAutoImpl.h.

◆ m_Expression

OdAnsiString OdIfc4::IfcPropertyTableValue::m_Expression
protected

Definition at line 290 of file Ifc4/IfcPropertyTableValueAutoImpl.h.


The documentation for this class was generated from the following file: