CFx SDK Documentation
2023 SP0
|
#include <DbProxyEntity.h>
This class is the abstract base class for Proxy entities derived from OdDbEntity in an OdDbDatabase instance.
<group OdDb_Classes>
Whenever the parent application is loaded, the Proxy entities revert to their custom objects.
Definition at line 52 of file DbProxyEntity.h.
anonymous enum |
Definition at line 94 of file DbProxyEntity.h.
Enumerator | |
---|---|
kNoMetafile | |
kBoundingBox | |
kFullGraphics |
Definition at line 59 of file DbProxyEntity.h.
OdDbProxyEntity::OdDbProxyEntity | ( | ) |
|
inline |
Returns true if and only if all but the subDeepClone() and subWblockClone() methods are allowed for this Proxy entity.
@untitled table erase() setColor() setColorIndex() setLayer() setLinetype() setLinetypeScale() setLineWeight() setMaterial() setPlotStyleName() setVisibility() transformBy()
Definition at line 205 of file DbProxyEntity.h.
|
inline |
Returns true if and only if all methods are allowed for this Proxy entity.
@untitled table subDeepClone() erase() setColor() setColorIndex() setLayer() setLinetype() setLinetypeScale() setLineWeight() setMaterial() setPlotStyleName() setVisibility() transformBy() subWblockClone()
Definition at line 227 of file DbProxyEntity.h.
|
virtual |
Returns the application description of the entity represented by this Proxy entity.
|
inline |
Returns true if and only the subDeepClone() and subWblockClone() methods are allowed for this Proxy entity.
Definition at line 185 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setColor() and setColorIndex() methods are allowed for this Proxy entity.
Definition at line 153 of file DbProxyEntity.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 OdDbEntity.
|
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 OdDbEntity.
|
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 OdDbEntity.
|
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 OdDbEntity.
|
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 OdDbEntity.
|
inline |
Returns true if and only if the erase() method is allowed for this Proxy entity.
Definition at line 145 of file DbProxyEntity.h.
|
virtual |
Returns an array of the Object IDs referenced by this Proxy entity.
objectIds | [out] Receives an array of the reference Object IDs. |
|
virtual |
Returns the GraphicsMetafileType for this Proxy entity;
Value Description kNoMetafile 0 No bounding box or graphics (R13 drawing files only) kBoundingBox 1 Bounding Box kFullGraphics 2 Full Graphics
|
inline |
Returns true if and only this Proxy entity is a R13 format Proxy entity.
Definition at line 232 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setLayer() method is allowed for this Proxy entity.
Definition at line 157 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setLinetype() method is allowed for this Proxy entity.
Definition at line 161 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setLinetypeScale() method is allowed for this Proxy entity.
Definition at line 165 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setLineWeight() method is allowed for this Proxy entity.
Definition at line 173 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setMaterial() method is allowed for this Proxy entity.
Definition at line 181 of file DbProxyEntity.h.
OdDbProxyEntity::ODDB_DECLARE_MEMBERS | ( | OdDbProxyEntity | ) |
|
virtual |
Returns the class name of the entity represented by this Proxy entity.
|
virtual |
Returns the DXF name of the entity represented by this Proxy entity.
|
inline |
Returns true if and only if the setPlotStyleName() method is allowed for this Proxy entity.
Definition at line 177 of file DbProxyEntity.h.
|
virtual |
Returns the edit flags settings for the class associated with this Proxy entity.
proxyFlags() returns a combination of one or more of the following:
Value Methods enabled
kNoOperation 0x0 None kEraseAllowed 0x1 erase() kTransformAllowed 0x2 transformBy() kColorChangeAllowed 0x4 setColor(), setColorIndex() kLayerChangeAllowed 0x8 setLayer() kLinetypeChangeAllowed 0x10 setLinetype() kLinetypeScaleChangeAllowed 0x20 setLinetypeScale() kVisibilityChangeAllowed 0x40 setVisibility() kCloningAllowed 0x80 subDeepClone(), subWblockClone() kLineWeightChangeAllowed 0x100 setLineWeight() kPlotStyleNameChangeAllowed 0x200 setPlotStyleName() kDisableProxyWarning 0x400 kMaterialChangeAllowed 0x800 setMaterial() kAllButCloningAllowed 0xB7F All of the above but cloning kAllAllowedBits 0xBFF All of the above
|
virtual |
Sets the properties for this entity taking into account the proxy flags.
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
Sets the material to be referenced by this entity (DXF 347).
materialID | [in] Object ID of the material. |
doSubents | [in] If and only if true, applies the change to all sub-entities owned by this entity. |
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
Reimplemented from OdDbEntity.
|
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 OdDbEntity.
|
virtual |
Reimplemented from OdDbEntity.
|
virtual |
This function honors proxyFlags().
Reimplemented from OdDbEntity.
|
virtual |
Reimplemented from OdDbEntity.
|
virtual |
Reimplemented from OdDbEntity.
|
inline |
Returns true if and only if the transformBy() method is allowed for this Proxy entity.
Definition at line 149 of file DbProxyEntity.h.
|
inline |
Returns true if and only if the setVisibility() method is allowed for this Proxy entity.
Definition at line 169 of file DbProxyEntity.h.