CFx SDK Documentation 2024 SP0
|
#include <IfcValueTypes.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdIfcRxDisplayAsAttribute) | |
virtual OdString | getDisplayValue (OdRxValue &value, bool useDynamicProperties) |
void | setShowObjectType (bool val) |
void | setShowIndex (bool val) |
Public Member Functions inherited from OdRxDisplayAsAttribute | |
ODRX_DECLARE_MEMBERS (OdRxDisplayAsAttribute) | |
OdString | propertyName () |
virtual OdString | getDisplayValue (OdRxValue &value, bool useDynamicProperties=true) |
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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 bShowIndex, bool bShowObjectType) |
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 OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdRxAttribute | |
OdRxAttribute (OdRxAttributeImpl *) | |
Protected Attributes inherited from OdRxAttribute | |
OdRxAttributeImpl * | m_pImpl |
The class implements an IFC attribute that can be used by the user interface to represent property values in a human-readable form (instead of displaying just a handle).
Definition at line 45 of file IfcValueTypes.h.
|
static |
Createa a new IFC attribute instance with specified parameters.
bShowIndex | [in] A flag that determines whether the index of the created attributes should be shown. |
bShowObjectType | [in] A flag that determines whether the type of the created attributes should be shown. |
|
virtual |
Dereferences the IFC attribute value and retrieves the property which name is stored in the attribute.
value | [in] A value to dereference and retrieve the property of. |
useDynamicProperties | [in] A flag that determines whether the getting of the displayed value should be optimized (is equal to true) or not (is equal to false). |
Reimplemented from OdRxDisplayAsAttribute.
OdIfcRxDisplayAsAttribute::ODRX_DECLARE_MEMBERS | ( | OdIfcRxDisplayAsAttribute | ) |
void OdIfcRxDisplayAsAttribute::setShowIndex | ( | bool | val | ) |
Sets the new value of the flag that determines whether the attribute index is displayed. If the flag value is equal to true, the index is displayed; otherwise (the flag value is equal to false), the index is not displayed.
val | [in] A new flag value to be set. |
void OdIfcRxDisplayAsAttribute::setShowObjectType | ( | bool | val | ) |
Sets the new value of the flag that determines whether the attribute type is displayed. If the flag value is equal to true, the type is displayed; otherwise (the flag value is equal to false), the type is not displayed.
val | [in] A new flag value to be set. |