CFx SDK Documentation  2020SP3
Public Member Functions | Static Public Member Functions | List of all members
OdIfcRxDisplayAsAttribute Class Reference

#include <IfcValueTypes.h>

Inheritance diagram for OdIfcRxDisplayAsAttribute:
OdRxDisplayAsAttribute OdRxAttribute OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdIfcRxDisplayAsAttribute)
 
virtual OdString getDisplayValue (OdRxValue &value)
 
void setShowName (bool val)
 
void setShowIndex (bool val)
 
- Public Member Functions inherited from OdRxDisplayAsAttribute
 ODRX_DECLARE_MEMBERS (OdRxDisplayAsAttribute)
 
OdString propertyName ()
 
 OdRxDisplayAsAttribute (OdRxDisplayAsAttributeImpl *pImpl)
 
 OdRxDisplayAsAttribute ()
 
- Public Member Functions inherited from OdRxAttribute
 ODRX_DECLARE_MEMBERS (OdRxAttribute)
 
virtual ~OdRxAttribute ()
 
- 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 Public Member Functions

static OdRxAttributePtr createObject (bool bSetIndex, bool bSetName)
 
- Static Public Member Functions inherited from OdRxDisplayAsAttribute
static OdRxAttributePtr createObject (const OdString &property_name)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdRxAttribute
 OdRxAttribute (OdRxAttributeImpl *)
 
- Protected Attributes inherited from OdRxAttribute
OdRxAttributeImplm_pImpl
 

Detailed Description

Definition at line 38 of file IfcValueTypes.h.

Member Function Documentation

◆ createObject()

static OdRxAttributePtr OdIfcRxDisplayAsAttribute::createObject ( bool  bSetIndex,
bool  bSetName 
)
static

◆ getDisplayValue()

virtual OdString OdIfcRxDisplayAsAttribute::getDisplayValue ( OdRxValue value)
virtual

By default this function dereferences the value and retrieves the property which name is stored in the attribute. May be overloaded in custom implementations. If the value type is not a reference or the referenced object has no such property, returns an empty string.

Reimplemented from OdRxDisplayAsAttribute.

◆ ODRX_DECLARE_MEMBERS()

OdIfcRxDisplayAsAttribute::ODRX_DECLARE_MEMBERS ( OdIfcRxDisplayAsAttribute  )

◆ setShowIndex()

void OdIfcRxDisplayAsAttribute::setShowIndex ( bool  val)

◆ setShowName()

void OdIfcRxDisplayAsAttribute::setShowName ( bool  val)

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