|
CFx SDK Documentation
2022 SP0
|
#include <RxAttribute.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdRxRefersToAttribute) | |
| OdString | path () const |
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 (const OdString &path) |
| static const OdRxPropertyBase * | parseReference (const OdString &path, const OdRxObject *pObject, FindPropertyCallback find=NULL, ConvertValueCallback convert=NULL) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions | |
| OdRxRefersToAttribute (OdRxRefersToAttributeImpl *) | |
Protected Member Functions inherited from OdRxAttribute | |
| OdRxAttribute (OdRxAttributeImpl *) | |
Additional Inherited Members | |
Protected Attributes inherited from OdRxAttribute | |
| OdRxAttributeImpl * | m_pImpl |
This attribute is used to provide additional information about properties linked with this one. Usually contained item with the container, like "/BlockTableId/Items" for OdDbEntity "BlockId" property. <group OdRx_Classes>
Definition at line 318 of file RxAttribute.h.
|
protected |
|
static |
Constructor. Creates an attribute containing provided path.
| OdRxRefersToAttribute::ODRX_DECLARE_MEMBERS | ( | OdRxRefersToAttribute | ) |
|
static |
Parses reference path returning the last property. E.g. for "/BlockTableId/Items" it would be "Items" property of the block table.
| path | [in] Path to the property. Intermediate names are separated by '/'. All the properties but the last should be dereferenceable. (type().isReference() == true) |
| pObject | [in] The object to start with. Usually database, for paths starting with '/'. |
| find | [in] Optional callback to customize property retrieval. OdRxMemberQueryEngine::find is used by default. |
| convert | [in] Optional callback to convert property value to another type. |
| OdString OdRxRefersToAttribute::path | ( | ) | const |
Path to the related property (starting with database). E.g. "/BlockTableId/Items" for OdDbEntity "BlockId" property