CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | Friends | List of all members
OdIfc4::OdIfcPropertyAuto Class Reference

#include <IfcPropertyAutoImpl.h>

Inheritance diagram for OdIfc4::OdIfcPropertyAuto:
OdIfc4::OdIfcPropertyAbstractionAuto OdIfc::OdIfcEntity OdDAI::EntityInstance OdGiDrawable OdRxObject OdIfc4::OdIfcComplexPropertyAuto OdIfc4::OdIfcSimplePropertyAuto OdIfc4::OdIfcPropertyBoundedValueAuto OdIfc4::OdIfcPropertyEnumeratedValueAuto OdIfc4::OdIfcPropertyListValueAuto OdIfc4::OdIfcPropertyReferenceValueAuto OdIfc4::OdIfcPropertySingleValueAuto OdIfc4::OdIfcPropertyTableValueAuto

Public Member Functions

OdAnsiString getName () const
 
void setName (OdAnsiString Name)
 
OdAnsiString getDescription () const
 
void setDescription (OdAnsiString Description)
 
void getInvPartOfPsetAggr (OdDAIObjectIds &aggregate) const
 
void getInvPropertyForDependanceAggr (OdDAIObjectIds &aggregate) const
 
void getInvPropertyDependsOnAggr (OdDAIObjectIds &aggregate) const
 
void getInvPartOfComplexAggr (OdDAIObjectIds &aggregate) const
 
void getInvHasConstraintsAggr (OdDAIObjectIds &aggregate) const
 
void getInvHasApprovalsAggr (OdDAIObjectIds &aggregate) const
 
 OdIfcPropertyAuto ()
 
virtual OdResult inFields (OdDAI::OdSpfFilerBase *rdFiler)
 
virtual OdResult outFields (OdDAI::OdSpfFilerBase *wrFiler)
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
virtual bool isInstanceOf (OdIfcEntityType entityType) const
 
virtual OdDAI::Entity * getInstanceType () const
 
virtual OdIfcEntityType type () const
 
virtual OdAnsiString typeName () const
 
virtual OdRxValue getAttr (const OdAnsiString &attrName) const
 
virtual void unsetAttr (const OdAnsiString &explicitAttrName)
 
virtual bool testAttr (const OdAnsiString &explicitAttrName) const
 
virtual bool putAttr (const OdAnsiString &explicitAttrName, const OdRxValue &val)
 
virtual OdRxValue getAttr (const OdIfcAttribute attrDef) const
 
virtual void unsetAttr (const OdIfcAttribute explicitAttrDef)
 
virtual bool testAttr (const OdIfcAttribute explicitAttrDef) const
 
virtual bool putAttr (const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
 
- Public Member Functions inherited from OdIfc4::OdIfcPropertyAbstractionAuto
void getInvHasExternalReferencesAggr (OdDAIObjectIds &aggregate) const
 
- Public Member Functions inherited from OdIfc::OdIfcEntity
 ODRX_DECLARE_MEMBERS (OdIfcEntity)
 
 OdIfcEntity ()
 
 ~OdIfcEntity ()
 
virtual bool isKindOf (OdIfcEntityType entityType) const
 
virtual bool isInstanceOf (OdIfcEntityType entityType) const
 
IfcOpResult resolved ()
 
void resolve (IfcOpResult resolved, void *resPtr)
 
virtual void setGsNode (OdGsCache *pGsNode)
 
virtual OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- 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
 

Protected Attributes

OdAnsiString m_Name
 
OdAnsiString m_Description
 
OdDAIObjectIds m_PartOfPset_inv
 
OdDAIObjectIds m_PropertyForDependance_inv
 
OdDAIObjectIds m_PropertyDependsOn_inv
 
OdDAIObjectIds m_PartOfComplex_inv
 
OdDAIObjectIds m_HasConstraints_inv
 
OdDAIObjectIds m_HasApprovals_inv
 
- Protected Attributes inherited from OdIfc4::OdIfcPropertyAbstractionAuto
OdDAIObjectIds m_HasExternalReferences_inv
 
- Protected Attributes inherited from OdIfc::OdIfcEntity
voidm_resPtr
 
IfcOpResult m_resolved
 
- Protected Attributes inherited from OdDAI::EntityInstance
OdDbStub * m_id
 

Friends

class OdIfcPropertySetAuto
 
class OdIfcPropertyDependencyRelationshipAuto
 
class OdIfcComplexPropertyAuto
 
class OdIfcResourceConstraintRelationshipAuto
 
class OdIfcResourceApprovalRelationshipAuto
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kLastFlag = kDrawableNotPlottable
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdIfc::OdIfcEntity
static OdGePoint3dasPoint3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGePoint2dasPoint2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeVector3dasVector3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeVector2dasVector2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeMatrix2dasMatrix2d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdGeMatrix3dasMatrix3d (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcEntity > pEnt)
 
static OdCmEntityColorasRgbColor (OdSmartPtr< OdIfcEntity > pEnt)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDAI::EntityInstance
virtual void subViewportDraw (OdGiViewportDraw *vd) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Detailed Description

Definition at line 37 of file Ifc4/IfcPropertyAutoImpl.h.

Constructor & Destructor Documentation

◆ OdIfcPropertyAuto()

OdIfc4::OdIfcPropertyAuto::OdIfcPropertyAuto ( )

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::OdIfcPropertyAuto::getAttr ( const OdAnsiString &  attrName) const
virtual

Retrieves the current value of an attribute specified by its name.

Parameters
attrName[in] An ANSI string that contains the attribute name.
Returns
Returns the current value of the attribute.
Remarks
The method provides late binding access to the attribute value by its name. Attributes of select and aggregate data types are also supported.

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::OdIfcPropertyAuto::getAttr ( const OdIfcAttribute  attrDef) const
virtual

Retrieves the current value of an attribute specified by its definition.

Parameters
attrDef[in] A value of the <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
Returns
Returns the current value of the attribute.
Remarks
The method provides late binding access to the attribute value by its name. Attributes of select and aggregate data types are also supported.

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ getDescription()

OdAnsiString OdIfc4::OdIfcPropertyAuto::getDescription ( ) const

◆ getInstanceType()

virtual OdDAI::Entity* OdIfc4::OdIfcPropertyAuto::getInstanceType ( ) const
virtual

◆ getInvHasApprovalsAggr()

void OdIfc4::OdIfcPropertyAuto::getInvHasApprovalsAggr ( OdDAIObjectIds aggregate) const

◆ getInvHasConstraintsAggr()

void OdIfc4::OdIfcPropertyAuto::getInvHasConstraintsAggr ( OdDAIObjectIds aggregate) const

◆ getInvPartOfComplexAggr()

void OdIfc4::OdIfcPropertyAuto::getInvPartOfComplexAggr ( OdDAIObjectIds aggregate) const

◆ getInvPartOfPsetAggr()

void OdIfc4::OdIfcPropertyAuto::getInvPartOfPsetAggr ( OdDAIObjectIds aggregate) const

◆ getInvPropertyDependsOnAggr()

void OdIfc4::OdIfcPropertyAuto::getInvPropertyDependsOnAggr ( OdDAIObjectIds aggregate) const

◆ getInvPropertyForDependanceAggr()

void OdIfc4::OdIfcPropertyAuto::getInvPropertyForDependanceAggr ( OdDAIObjectIds aggregate) const

◆ getName()

OdAnsiString OdIfc4::OdIfcPropertyAuto::getName ( ) const

◆ inFields()

virtual OdResult OdIfc4::OdIfcPropertyAuto::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

◆ isInstanceOf()

virtual bool OdIfc4::OdIfcPropertyAuto::isInstanceOf ( OdIfcEntityType  entityType) const
virtual

◆ isKindOf()

virtual bool OdIfc4::OdIfcPropertyAuto::isKindOf ( OdIfcEntityType  entityType) const
virtual

◆ outFields()

virtual OdResult OdIfc4::OdIfcPropertyAuto::outFields ( OdDAI::OdSpfFilerBase *  wrFiler)
virtual

◆ putAttr() [1/2]

virtual bool OdIfc4::OdIfcPropertyAuto::putAttr ( const OdAnsiString &  explicitAttrName,
const OdRxValue val 
)
virtual

Sets a new value of an attribute that is specified by its name.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.
val[in] A new attribute value to be set.
Returns
Returns true if the attribute value was successfully set; otherwise, the method returns false.

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ putAttr() [2/2]

virtual bool OdIfc4::OdIfcPropertyAuto::putAttr ( const OdIfcAttribute  explicitAttrDef,
const OdRxValue val 
)
virtual

Sets a new value of a specified attribute.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
val[in] A new attribute value to be set.
Returns
Returns true if the attribute value was successfully set; otherwise, the method returns false.

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ setDescription()

void OdIfc4::OdIfcPropertyAuto::setDescription ( OdAnsiString  Description)

◆ setName()

void OdIfc4::OdIfcPropertyAuto::setName ( OdAnsiString  Name)

◆ testAttr() [1/2]

virtual bool OdIfc4::OdIfcPropertyAuto::testAttr ( const OdAnsiString &  explicitAttrName) const
virtual

Retrieves whether the attribute value is set or is unset.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.
Returns
Returns true if the attribute has a value; otherwise, the method returns false (the attribute value is not set).

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ testAttr() [2/2]

virtual bool OdIfc4::OdIfcPropertyAuto::testAttr ( const OdIfcAttribute  explicitAttrDef) const
virtual

Retrieves whether the attribute value is set or is unset.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.
Returns
Returns true if the attribute has a value; otherwise, the method returns false (the attribute value is not set).

Reimplemented from OdIfc4::OdIfcPropertyAbstractionAuto.

Reimplemented in OdIfc4::OdIfcPropertyTableValueAuto, OdIfc4::OdIfcPropertySingleValueAuto, OdIfc4::OdIfcPropertyReferenceValueAuto, OdIfc4::OdIfcPropertyListValueAuto, OdIfc4::OdIfcPropertyEnumeratedValueAuto, OdIfc4::OdIfcPropertyBoundedValueAuto, and OdIfc4::OdIfcComplexPropertyAuto.

◆ type()

virtual OdIfcEntityType OdIfc4::OdIfcPropertyAuto::type ( ) const
virtual

◆ typeName()

virtual OdAnsiString OdIfc4::OdIfcPropertyAuto::typeName ( ) const
virtual

◆ unsetAttr() [1/2]

virtual void OdIfc4::OdIfcPropertyAuto::unsetAttr ( const OdAnsiString &  explicitAttrName)
virtual

◆ unsetAttr() [2/2]

virtual void OdIfc4::OdIfcPropertyAuto::unsetAttr ( const OdIfcAttribute  explicitAttrDef)
virtual

Friends And Related Function Documentation

◆ OdIfcComplexPropertyAuto

friend class OdIfcComplexPropertyAuto
friend

Definition at line 92 of file Ifc4/IfcPropertyAutoImpl.h.

◆ OdIfcPropertyDependencyRelationshipAuto

Definition at line 90 of file Ifc4/IfcPropertyAutoImpl.h.

◆ OdIfcPropertySetAuto

friend class OdIfcPropertySetAuto
friend

Definition at line 89 of file Ifc4/IfcPropertyAutoImpl.h.

◆ OdIfcResourceApprovalRelationshipAuto

Definition at line 94 of file Ifc4/IfcPropertyAutoImpl.h.

◆ OdIfcResourceConstraintRelationshipAuto

Definition at line 93 of file Ifc4/IfcPropertyAutoImpl.h.

Member Data Documentation

◆ m_Description

OdAnsiString OdIfc4::OdIfcPropertyAuto::m_Description
protected

Definition at line 80 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_HasApprovals_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_HasApprovals_inv
protected

Definition at line 86 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_HasConstraints_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_HasConstraints_inv
protected

Definition at line 85 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_Name

OdAnsiString OdIfc4::OdIfcPropertyAuto::m_Name
protected

Definition at line 79 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_PartOfComplex_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_PartOfComplex_inv
protected

Definition at line 84 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_PartOfPset_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_PartOfPset_inv
protected

Definition at line 81 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_PropertyDependsOn_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_PropertyDependsOn_inv
protected

Definition at line 83 of file Ifc4/IfcPropertyAutoImpl.h.

◆ m_PropertyForDependance_inv

OdDAIObjectIds OdIfc4::OdIfcPropertyAuto::m_PropertyForDependance_inv
protected

Definition at line 82 of file Ifc4/IfcPropertyAutoImpl.h.


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