CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
IfcPropertySetFiller Class Reference

#include <IfcPropertySetFiller.h>

Inheritance diagram for IfcPropertySetFiller:
IfcBuilder OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (IfcPropertySetFiller)
 
OdIfc::OdIfcInstancePtr getObjectDefinition ()
 
OdIfc::OdIfcInstancePtr getPropertySet ()
 
IfcPropertySetFillerappendPropertySingleValue (const OdAnsiString &name, OdRxValue val, const OdAnsiString &typePath)
 
OdIfc::OdIfcInstancePtr createRelDefinesPropertySet (const OdAnsiString &name)
 
OdIfc::OdIfcInstancePtr createPropertySet (const OdAnsiString &name)
 
template<typename TValueType>
IfcPropertySetFillerappendPropertySingleValue (const OdAnsiString &IfcType, const OdString &name, const TValueType &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdIfc::IfcLabel &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdIfc::IfcBoolean &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdIfc::IfcInteger &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdIfc::IfcReal &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdIfc::IfcLogical &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name, const OdString &value)
 
IfcPropertySetFillerappendPropertySingleValue (const OdString &name)
 
OdIfc::OdIfcInstancePtr createPropertySingleValue (const OdString &name)
 
- Public Member Functions inherited from IfcBuilder
 ODRX_DECLARE_MEMBERS (IfcBuilder)
 
OdIfcModelFillerfiller ()
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Static Protected Member Functions

static OdSmartPtr< IfcPropertySetFillercreateObject (OdIfcModelFiller *filler, OdIfc::OdIfcInstancePtr objectDefinition)
 

Protected Attributes

OdIfc::OdIfcInstancePtr m_objectDefinition
 
OdIfc::OdIfcInstancePtr m_propertySet
 
OdDAIObjectIds m_idProperties
 

Friends

class OdIfcModelFiller
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Member Functions inherited from IfcBuilder
void setFiller (OdIfcModelFiller *filler)
 
OdIfc::OdIfcInstancePtr appendProduct (const char *type, const OdAnsiString &name)
 
OdIfc::OdIfcInstancePtr appendPoint (const OdGePoint2d &p)
 

Detailed Description

Sub class of IfcBuilder that provides independent property set creation operations.

Definition at line 35 of file IfcPropertySetFiller.h.

Member Function Documentation

◆ appendPropertySingleValue() [1/9]

template<typename TValueType>
IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdAnsiString & IfcType,
const OdString & name,
const TValueType & value )
inline

Creates an instance of IfcPropertySingleValue element with appropriate IfcType and name.

Parameters
IfcType[in] OdAnsiString as name of IFC measure type (IfcVolumeMeasure).
name[in] OdString as property name.
value[in] TValueType as property value.
Returns
A reference to the current IfcPropertySetFiller.

Definition at line 95 of file IfcPropertySetFiller.h.

◆ appendPropertySingleValue() [2/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdAnsiString & name,
OdRxValue val,
const OdAnsiString & typePath )

Creates an instance of IfcPropertySingleValue element with appropriate IfcType and name.

Parameters
name[in] OdAnsiString as name of property.
val[in] OdRxValue as property value.
typePath[in] OdAnsiString as property IFC name type.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [3/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name)

Creates an instance of IfcPropertySingleValue by its name.

Parameters
name[in] OdString as property name.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [4/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdIfc::IfcBoolean & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] IfcBoolean as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [5/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdIfc::IfcInteger & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] IfcInteger as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [6/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdIfc::IfcLabel & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] IfcLabel as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [7/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdIfc::IfcLogical & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] IfcLogical as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [8/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdIfc::IfcReal & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] IfcReal as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ appendPropertySingleValue() [9/9]

IfcPropertySetFiller & IfcPropertySetFiller::appendPropertySingleValue ( const OdString & name,
const OdString & value )

Creates an instance of IfcPropertySingleValue by its name and value.

Parameters
name[in] OdString as property name.
value[in] OdString as property value.
Returns
A reference to the current IfcPropertySetFiller.

◆ createObject()

static OdSmartPtr< IfcPropertySetFiller > IfcPropertySetFiller::createObject ( OdIfcModelFiller * filler,
OdIfc::OdIfcInstancePtr objectDefinition )
staticprotected

◆ createPropertySet()

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::createPropertySet ( const OdAnsiString & name)

Creates an instance of IfcPropertySet element based m_idProperties properties.

Parameters
name[in] OdAnsiString as name of property set.
Returns
A pointer to the created and appended to the model entity.

◆ createPropertySingleValue()

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::createPropertySingleValue ( const OdString & name)

Creates an instance of IfcPropertySingleValue by its name.

Parameters
name[in] OdString as property name.
Returns
A pointer to the created and appended to the model entity.

◆ createRelDefinesPropertySet()

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::createRelDefinesPropertySet ( const OdAnsiString & name)

Creates an instance of IfcPropertySet element and IfcRelDefinesByProperties based on m_objectDefinition and m_idProperties set.

Parameters
name[in] OdAnsiString as name of property set.
Returns
A pointer to the created and appended to the model entity.

◆ getObjectDefinition()

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::getObjectDefinition ( )
inline

details Retrieves object definition associated with this instance.

Returns
smart pointer to object definition instance.

Definition at line 56 of file IfcPropertySetFiller.h.

◆ getPropertySet()

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::getPropertySet ( )
inline

details Retrieves property set associated with this instance.

Returns
smart pointer to a property set.

Definition at line 62 of file IfcPropertySetFiller.h.

◆ ODRX_DECLARE_MEMBERS()

IfcPropertySetFiller::ODRX_DECLARE_MEMBERS ( IfcPropertySetFiller )

Friends And Related Symbol Documentation

◆ OdIfcModelFiller

friend class OdIfcModelFiller
friend

Definition at line 172 of file IfcPropertySetFiller.h.

Member Data Documentation

◆ m_idProperties

OdDAIObjectIds IfcPropertySetFiller::m_idProperties
protected

Definition at line 46 of file IfcPropertySetFiller.h.

◆ m_objectDefinition

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::m_objectDefinition
protected

Definition at line 43 of file IfcPropertySetFiller.h.

◆ m_propertySet

OdIfc::OdIfcInstancePtr IfcPropertySetFiller::m_propertySet
protected

Definition at line 44 of file IfcPropertySetFiller.h.


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