CFx SDK Documentation 2024 SP0
|
#include <AECPropertyExtensionBase.h>
Public Member Functions | |
virtual AECVariant | GetAutomaticProperty (OdDbObject *pObject, const OdString &strPropertyName, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull)=0 |
AECVariant | GetProperty (OdDbObject *pObject, const OdDbObjectId &idPropertySetDef, OdUInt32 iPropertyIndex, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull, AECVariant *pRawValue=0) |
AECVariant | GetProperty (OdDbObject *pObject, const OdDbObjectId &idPropertySetDef, const OdString &strPropertyName, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull, AECVariant *pRawValue=0) |
AECVariant | GetProperty (OdDbObject *pObject, AECPropertyDefPtr pPropertyDef, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull, AECVariant *pRawValue=0) |
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 void | GetPropertyNames (OdRxClass *pDesc, std::vector< OdString > &aNames) |
static void | GetQueryInfos (OdRxClass *pDesc, std::vector< AECQueryInfo > &aQueryInfos) |
static bool | GetQueryInfoByPropertyName (OdRxClass *pDesc, const OdString &strName, AECQueryInfo &cQueryInfo) |
static bool | GetQueryInfoByPropertyIndex (OdRxClass *pDesc, OdUInt32 iIndex, AECQueryInfo &cQueryInfo) |
static OdDbObjectId | GetPropertySet (OdDbObject *pObject, const OdDbObjectId &idPropertySetDef, bool bCreateIfNotFound=false) |
static void | RemovePropertySet (OdDbObject *pObject, const OdDbObjectId &idPropertySetDef) |
static OdDbObjectId | GetReferencePropertySet (const OdDbObjectId &idReference, const AECSmartReference &rRef, const OdDbObjectId &idPropertySetDef, bool bCreateIfNotFound=false) |
static void | RemoveReferencePropertySet (const OdDbObjectId &idReference, const AECSmartReference &rRef, const OdDbObjectId &idPropertySetDef) |
static AECVariant | GetReferenceProperty (const OdDbObjectId &idReference, const AECSmartReference &rRef, const OdDbObjectId &idPropertySetDef, OdUInt32 iPropertyIndex, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull, AECVariant *pRawValue=0) |
static AECVariant | GetReferenceProperty (const OdDbObjectId &idReference, const AECSmartReference &rRef, const OdDbObjectId &idPropertySetDef, const OdString &strPropertyName, const OdDbObjectId &idDataFormat=OdDbObjectId::kNull, AECVariant *pRawValue=0) |
static OdDbObjectId | GetPropertySetOverrideContainer (const OdDbObjectId &idReference, bool bCreateIfNotFound=false) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protocol extension class that allows access to object`s collection of Property Sets.
<group TA_Other_Classes>
Definition at line 43 of file AECPropertyExtensionBase.h.
|
pure virtual |
Returns formatted automatic property value.
pObject | [in] Object that is queried. |
strPropertyName | [in] Property name. |
idDataFormat | [in] Schedule Data Format to use for formatting. If null formatting is not applied. |
AECVariant AECPropertyExtensionBase::GetProperty | ( | OdDbObject * | pObject, |
AECPropertyDefPtr | pPropertyDef, | ||
const OdDbObjectId & | idDataFormat = OdDbObjectId::kNull , |
||
AECVariant * | pRawValue = 0 |
||
) |
AECVariant AECPropertyExtensionBase::GetProperty | ( | OdDbObject * | pObject, |
const OdDbObjectId & | idPropertySetDef, | ||
const OdString & | strPropertyName, | ||
const OdDbObjectId & | idDataFormat = OdDbObjectId::kNull , |
||
AECVariant * | pRawValue = 0 |
||
) |
Returns property value.
pObject | [in] Object that is queried. |
idPropertySet | [in] Property Set Definition. |
iPropertyIndex | [in] Property index. |
idDataFormat | [in] Schedule Data Format to use for formatting. If null formatting is not applied. |
AECVariant AECPropertyExtensionBase::GetProperty | ( | OdDbObject * | pObject, |
const OdDbObjectId & | idPropertySetDef, | ||
OdUInt32 | iPropertyIndex, | ||
const OdDbObjectId & | idDataFormat = OdDbObjectId::kNull , |
||
AECVariant * | pRawValue = 0 |
||
) |
Returns property value.
pObject | [in] Object that is queried. |
idPropertySet | [in] Property Set Definition. |
iPropertyIndex | [in] Property index. |
idDataFormat | [in] Schedule Data Format to use for formatting. If null formatting is not applied. |
|
static |
Returns the array of automatic property names for specified entity type.
pDesc | [in] Type of object. |
aNames | [out] Array of property names. |
|
static |
Returns Property Set corresponding to the specified Property Set Definition.
pObject | [in] Object that is queried for Property Set. |
idPropertySetDef | [in] Object ID of Property Set Definition. |
bCreateIfNotFound | [in] Whether property set should be created if it was not found. |
|
static |
Returns Property Set Override container for specified object.
idReference | [in] Object ID of Block Reference object. |
|
static |
|
static |
Returns query information for automatic property with specified name.
pDesc | [in] Type of object. |
strName | [in] Property name. |
cQueryInfo | [out] Query information. |
|
static |
Returns the array of query informations for all automatic properties.
pDesc | [in] Type of object. |
aQueryInfos | [out] Array of query information. |
|
static |
Returns property value for entity inside block reference.
|
static |
Returns property value for entity inside block reference.
|
static |
Creates Property Set corresponding to the specified Property Set Definition.
idReference | [in] Block reference. |
rRef | [in] Smart reference to object inside. |
idPropertySetDef | [in] Property Set Definition to override. |
bCreateIfNotFound | [in] Whether property set should be created if it was not found. |
|
static |
Removes Property Set corresponding to the specified Property Set Definition.
pObject | [in] Object that is queried for Property Set. |
idPropertySetDef | [in] Object ID of Property Set Definition. |
|
static |
Removes Property Set corresponding to the specified Property Set Definition.
idReference | [in] Block reference. |
rRef | [in] Smart reference to object inside. |
idPropertySetDef | [in] Object ID of Property Set Definition. |