CFx SDK Documentation  2020SP3
Public Member Functions | Protected Attributes | Friends | List of all members
OdIfc4x2::OdIfcAddressAuto Class Reference

#include <IfcAddressAutoImpl.h>

Inheritance diagram for OdIfc4x2::OdIfcAddressAuto:
OdIfc::OdIfcEntity OdDAI::EntityInstance OdGiDrawable OdRxObject OdIfc4x2::OdIfcPostalAddressAuto OdIfc4x2::OdIfcTelecomAddressAuto

Public Member Functions

IfcAddressTypeEnum getPurpose () const
 
void setPurpose (IfcAddressTypeEnum Purpose)
 
OdAnsiString getDescription () const
 
void setDescription (OdAnsiString Description)
 
OdAnsiString getUserDefinedPurpose () const
 
void setUserDefinedPurpose (OdAnsiString UserDefinedPurpose)
 
void getInvOfPersonAggr (OdDAIObjectIds &aggregate) const
 
void getInvOfOrganizationAggr (OdDAIObjectIds &aggregate) const
 
 OdIfcAddressAuto ()
 
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 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

IfcAddressTypeEnum m_Purpose
 
OdAnsiString m_Description
 
OdAnsiString m_UserDefinedPurpose
 
OdDAIObjectIds m_OfPerson_inv
 
OdDAIObjectIds m_OfOrganization_inv
 
- Protected Attributes inherited from OdIfc::OdIfcEntity
voidm_resPtr
 
IfcOpResult m_resolved
 
- Protected Attributes inherited from OdDAI::EntityInstance
OdDbStub * m_id
 

Friends

class OdIfcPersonAuto
 
class OdIfcOrganizationAuto
 

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 40 of file Ifc4x2/IfcAddressAutoImpl.h.

Constructor & Destructor Documentation

◆ OdIfcAddressAuto()

OdIfc4x2::OdIfcAddressAuto::OdIfcAddressAuto ( )

Member Function Documentation

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ getDescription()

OdAnsiString OdIfc4x2::OdIfcAddressAuto::getDescription ( ) const

◆ getInstanceType()

virtual OdDAI::Entity* OdIfc4x2::OdIfcAddressAuto::getInstanceType ( ) const
virtual

Retrieves the type of the entity instance.

Returns
Returns a raw pointer to the <link OdDAI::Entity, schema entity definition> of the entity instance.

Implements OdDAI::EntityInstance.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ getInvOfOrganizationAggr()

void OdIfc4x2::OdIfcAddressAuto::getInvOfOrganizationAggr ( OdDAIObjectIds aggregate) const

◆ getInvOfPersonAggr()

void OdIfc4x2::OdIfcAddressAuto::getInvOfPersonAggr ( OdDAIObjectIds aggregate) const

◆ getPurpose()

IfcAddressTypeEnum OdIfc4x2::OdIfcAddressAuto::getPurpose ( ) const

◆ getUserDefinedPurpose()

OdAnsiString OdIfc4x2::OdIfcAddressAuto::getUserDefinedPurpose ( ) const

◆ inFields()

virtual OdResult OdIfc4x2::OdIfcAddressAuto::inFields ( OdDAI::OdSpfFilerBase *  rdFiler)
virtual

◆ isInstanceOf()

virtual bool OdIfc4x2::OdIfcAddressAuto::isInstanceOf ( OdIfcEntityType  entityType) const
virtual

◆ isKindOf()

virtual bool OdIfc4x2::OdIfcAddressAuto::isKindOf ( OdIfcEntityType  entityType) const
virtual

◆ outFields()

virtual OdResult OdIfc4x2::OdIfcAddressAuto::outFields ( OdDAI::OdSpfFilerBase *  wrFiler)
virtual

◆ putAttr() [1/2]

virtual bool OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ putAttr() [2/2]

virtual bool OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ setDescription()

void OdIfc4x2::OdIfcAddressAuto::setDescription ( OdAnsiString  Description)

◆ setPurpose()

void OdIfc4x2::OdIfcAddressAuto::setPurpose ( IfcAddressTypeEnum  Purpose)

◆ setUserDefinedPurpose()

void OdIfc4x2::OdIfcAddressAuto::setUserDefinedPurpose ( OdAnsiString  UserDefinedPurpose)

◆ testAttr() [1/2]

virtual bool OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ testAttr() [2/2]

virtual bool OdIfc4x2::OdIfcAddressAuto::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 OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ type()

virtual OdIfcEntityType OdIfc4x2::OdIfcAddressAuto::type ( ) const
virtual

Retrieves the current type of the entity.

Returns
Returns a value of the <link OdIfc::OdIfcEntityType, OdIfcEntityType> enumeration that represents the current entity's type.

Implements OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ typeName()

virtual OdAnsiString OdIfc4x2::OdIfcAddressAuto::typeName ( ) const
virtual

Retrieves the type name of the entity instance.

Returns
Returns an ANSI string that contains the type name.

Implements OdDAI::EntityInstance.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ unsetAttr() [1/2]

virtual void OdIfc4x2::OdIfcAddressAuto::unsetAttr ( const OdAnsiString &  explicitAttrName)
virtual

Clears the attribute value.

Parameters
explicitAttrName[in] An ANSI string that contains the attribute name.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

◆ unsetAttr() [2/2]

virtual void OdIfc4x2::OdIfcAddressAuto::unsetAttr ( const OdIfcAttribute  explicitAttrDef)
virtual

Clears the attribute value.

Parameters
explicitAttrDef[in] An <link OdIfc::OdIfcAttribute, OdIfcAttribute> enumeration that represents the attribute definition.

Reimplemented from OdIfc::OdIfcEntity.

Reimplemented in OdIfc4x2::OdIfcTelecomAddressAuto, and OdIfc4x2::OdIfcPostalAddressAuto.

Friends And Related Function Documentation

◆ OdIfcOrganizationAuto

friend class OdIfcOrganizationAuto
friend

Definition at line 88 of file Ifc4x2/IfcAddressAutoImpl.h.

◆ OdIfcPersonAuto

friend class OdIfcPersonAuto
friend

Definition at line 87 of file Ifc4x2/IfcAddressAutoImpl.h.

Member Data Documentation

◆ m_Description

OdAnsiString OdIfc4x2::OdIfcAddressAuto::m_Description
protected

Definition at line 81 of file Ifc4x2/IfcAddressAutoImpl.h.

◆ m_OfOrganization_inv

OdDAIObjectIds OdIfc4x2::OdIfcAddressAuto::m_OfOrganization_inv
protected

Definition at line 84 of file Ifc4x2/IfcAddressAutoImpl.h.

◆ m_OfPerson_inv

OdDAIObjectIds OdIfc4x2::OdIfcAddressAuto::m_OfPerson_inv
protected

Definition at line 83 of file Ifc4x2/IfcAddressAutoImpl.h.

◆ m_Purpose

IfcAddressTypeEnum OdIfc4x2::OdIfcAddressAuto::m_Purpose
protected

Definition at line 80 of file Ifc4x2/IfcAddressAutoImpl.h.

◆ m_UserDefinedPurpose

OdAnsiString OdIfc4x2::OdIfcAddressAuto::m_UserDefinedPurpose
protected

Definition at line 82 of file Ifc4x2/IfcAddressAutoImpl.h.


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