CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4x2::IfcPropertyBoundedValue Class Reference

#include <IfcPropertyBoundedValueAutoImpl.h>

Inheritance diagram for OdIfc4x2::IfcPropertyBoundedValue:
OdIfc4x2::IfcSimpleProperty OdIfc4x2::IfcProperty OdIfc4x2::IfcPropertyAbstraction OdIfc4x2::OdIfc4x2Instance OdIfc::OdIfcInstance

Public Member Functions

IfcValue upperBoundValue ()
 
IfcValue lowerBoundValue ()
 
IfcUnit unit ()
 
IfcValue setPointValue ()
 
 IfcPropertyBoundedValue ()
 
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 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 OdIfc4x2::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 OdIfc4x2::IfcPropertyAbstraction
void getInvHasExternalReferences (OdDAIObjectIds &HasExternalReferences) const
 
- Public Member Functions inherited from OdIfc4x2::OdIfc4x2Instance
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::Select m_UpperBoundValue
 
OdDAI::Select m_LowerBoundValue
 
OdDAI::Select m_Unit
 
OdDAI::Select m_SetPointValue
 
- Protected Attributes inherited from OdIfc4x2::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

This class defines a property object which has a maximum of two (numeric or descriptive) values assigned. The first value specifies the upper bound and the second value specifies the lower bound. It defines a property - value bound (min-max) combination for which the property Name, optional Description,  optional UpperBoundValue with measure type, optional LowerBoundValue with measure type, and optional Unit is specified. A SetPointValue attribute can be provided in addition to the upper and lower bound values for operational value setting.

Remarks
An IfcPropertyBoundedValue can be exchanged with no values assigned yet. In this case the LowerBoundValue and the UpperBoundValue are set to NIL.

Definition at line 48 of file Ifc4x2/IfcPropertyBoundedValueAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcPropertyBoundedValue()

OdIfc4x2::IfcPropertyBoundedValue::IfcPropertyBoundedValue ( )

Default constructor for the IfcPropertyBoundedValue class.

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcSimpleProperty.

◆ inFields()

virtual OdResult OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ isKindOf()

virtual bool OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcSimpleProperty.

◆ lowerBoundValue()

IfcValue OdIfc4x2::IfcPropertyBoundedValue::lowerBoundValue ( )

Returns the value of LowerBoundValue attribute. LowerBoundValue is lower bound value for the interval defining the property value. If the value is not specified, it indicates an open bound (all values to be lower than or equal to UpperBoundValue).

Returns
Returns the value of LowerBoundValue attribute.

◆ outFields()

virtual OdResult OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ putAttr() [1/2]

virtual bool OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ setPointValue()

IfcValue OdIfc4x2::IfcPropertyBoundedValue::setPointValue ( )

Returns the value of SetPointValue attribute. SetPointValue is set point value as typically used for operational value setting.

Returns
Returns the value of SetPointValue attribute.

◆ testAttr() [1/2]

virtual bool OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcSimpleProperty.

◆ unit()

IfcUnit OdIfc4x2::IfcPropertyBoundedValue::unit ( )

Returns the value of Unit attribute. This attribute represents a unit for the upper and lower bound values. If this attribute is not specified, the default value for the measure type is used as defined by the global unit assignment at IfcProject.UnitInContext. The applicable unit is then selected by the underlying TYPE of the UpperBoundValue, LowerBoundValue, and SetPointValue.

Returns
Returns the value of Unit attribute.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::IfcPropertyBoundedValue::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

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

Reimplemented from OdIfc4x2::IfcProperty.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::IfcPropertyBoundedValue::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 OdIfc4x2::IfcProperty.

◆ upperBoundValue()

IfcValue OdIfc4x2::IfcPropertyBoundedValue::upperBoundValue ( )

Returns the value of UpperBoundValue attribute. UpperBoundValue is upper bound value for the interval defining the property value. If the value is not specified, it indicates an open bound (all values to be greater than or equal to LowerBoundValue).

Returns
Returns the value of UpperBoundValue attribute.

Member Data Documentation

◆ m_LowerBoundValue

OdDAI::Select OdIfc4x2::IfcPropertyBoundedValue::m_LowerBoundValue
protected

Definition at line 205 of file Ifc4x2/IfcPropertyBoundedValueAutoImpl.h.

◆ m_SetPointValue

OdDAI::Select OdIfc4x2::IfcPropertyBoundedValue::m_SetPointValue
protected

Definition at line 207 of file Ifc4x2/IfcPropertyBoundedValueAutoImpl.h.

◆ m_Unit

OdDAI::Select OdIfc4x2::IfcPropertyBoundedValue::m_Unit
protected

Definition at line 206 of file Ifc4x2/IfcPropertyBoundedValueAutoImpl.h.

◆ m_UpperBoundValue

OdDAI::Select OdIfc4x2::IfcPropertyBoundedValue::m_UpperBoundValue
protected

Definition at line 204 of file Ifc4x2/IfcPropertyBoundedValueAutoImpl.h.


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