CFx SDK Documentation 2024 SP0
|
#include <DbProxyObject.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdDbObject | |
OdDbObject () | |
virtual OdResult | subGetClassID (void *pClsid) const |
virtual OdDbObjectPtr | subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
virtual OdDbObjectPtr | subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
Protected Member Functions inherited from OdGiDrawable | |
OdGiDrawable () | |
virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const =0 |
virtual bool | subWorldDraw (OdGiWorldDraw *wd) const =0 |
virtual void | subViewportDraw (OdGiViewportDraw *vd) const =0 |
virtual OdUInt32 | subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const |
virtual OdUInt32 | subRegenSupportFlags () const |
Protected Attributes inherited from OdDbObject | |
OdDbObjectImpl * | m_pImpl |
This class is the abstract base class for Proxy objects in an OdDbDatabase instance.
<group OdDb_Classes>
Definition at line 42 of file DbProxyObject.h.
anonymous enum |
Enumerator | |
---|---|
kNoOperation | |
kEraseAllowed | |
kCloningAllowed | |
kAllButCloningAllowed | |
kAllAllowedBits | |
kMergeIgnore | |
kMergeReplace | |
kMergeMangleName | |
kDisableProxyWarning |
Definition at line 111 of file DbProxyObject.h.
OdDbProxyObject::OdDbProxyObject | ( | ) |
|
inline |
Returns true if and only if all but the subDeepClone() and subWblockClone() methods are allowed for this Proxy object.
Definition at line 131 of file DbProxyObject.h.
|
inline |
Returns true if and only if all methods are allowed for this Proxy entity.
@untitled table subDeepClone() erase() subWblockClone()
Definition at line 149 of file DbProxyObject.h.
OdString OdDbProxyObject::applicationDescription | ( | ) | const |
Returns the application description of the object represented by this Proxy object.
|
inline |
Returns true if and only if the subDeepClone() and subWblockClone() methods are allowed for this Proxy object.
Definition at line 136 of file DbProxyObject.h.
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
This function is called by dwgIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
OdDbProxyObject::DWGMAP_DECLARE_MEMBERS | ( | OdDbProxyObject | ) |
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
This function is called by dwgIn() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
|
virtual |
Reads the DXF format data of this object from the specified filer.
pFiler | [in] Pointer to the filer from which the data are to be read. |
This function calls this object's dxfInFields(pFiler), then loads any Xdata associated with this object.
Reimplemented from OdDbObject.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
|
inline |
Returns true if and only if the erase() method is allowed for this Proxy entity.
Definition at line 127 of file DbProxyObject.h.
void OdDbProxyObject::getReferences | ( | OdTypedIdsArray & | objectIds | ) | const |
Returns an array of the Object IDs referenced by this Proxy object.
objectIds | [out] Receives an array of the reference Object IDs. |
|
inline |
Returns true if and only this Proxy entity is a R13 format Proxy object.
Definition at line 154 of file DbProxyObject.h.
|
virtual |
Returns the merge style of this object.
Reimplemented from OdDbObject.
|
virtual |
Returns the class name of the object represented by this Proxy object.
OdString OdDbProxyObject::originalDxfName | ( | ) | const |
Returns the DXF name of the object represented by this Proxy object.
int OdDbProxyObject::proxyFlags | ( | ) | const |
Returns the edit flags for the class contained in this Proxy object.
Value Description kNoOperation 0x0 None kEraseAllowed 0x1 erase() kCloningAllowed 0x80 subDeepClone(), subWblockClone() kAllButCloningAllowed 0x1 erase() kAllAllowedBits 0x81 erase(), subDeepClone(), subWblockClone() kMergeIgnore 0x00 Keep orignal names. kMergeReplace 0x100 Use clone. kMergeMangleName 0x200 Create anonymous name.
|
virtual |
Reimplemented from OdDbObject.
|
virtual |
Called as the first operation as this object is being erased or unerased.
erasing | [in] A copy of the erasing argument passed to erase(). |
Returns eOk if and only if erase() is to continue.
When overriding this function:
1) If the OdDbObject's state is incorrect, return something other than eOk.
2) If the parent class's subErase() returns anything other than eOk, immediately return it.
3) If other actions are required before erase, do them.
4) Return eOk.
If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns other than eOk.
The default implementation of this function does nothing but return eOk. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
virtual |
Reimplemented from OdDbObject.