CFx SDK Documentation
2020SP3
|
#include <DbSymbolTableRecord.h>
<group OdDb_Classes>
This class implements the named record object, which is the base class for all record objects in the database.
<link db_database_object_sample_about.html, Example of Using the Record-Table and Dictionary Interfaces for Getting Information about Objects>
OdDbSymbolTable class
Definition at line 55 of file DbSymbolTableRecord.h.
OdDbSymbolTableRecord::OdDbSymbolTableRecord | ( | ) |
Builds an instance of the named record object.
|
virtual |
This function appends this object to the specified owner object.
idPair | [in] ID pair to append. |
pOwnerObject | [in] Pointer to the owner object. |
ownerIdMap | [in/out] Owner's ID map. |
This function is used internally to subDeepClone() and subWblockClone().
Throws:
Cause eInvalidOwnerObject !pOwnerObject->get()
Reimplemented from OdDbObject.
|
virtual |
Copies the contents of other into the messaged object, whenever feasible
Reimplemented from OdDbObject.
Reimplemented in OdDbViewportTableRecord, OdDbAbstractViewTableRecord, and OdDbBlockTableRecord.
|
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.
Reimplemented in OdDbBlockTableRecord, OdDbViewTableRecord, OdDbViewportTableRecord, OdDbUCSTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, OdDbDimStyleTableRecord, and OdDbAbstractViewTableRecord.
|
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.
Reimplemented in OdDbBlockTableRecord, OdDbViewTableRecord, OdDbViewportTableRecord, OdDbUCSTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, OdDbDimStyleTableRecord, and OdDbAbstractViewTableRecord.
|
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.
Reimplemented in OdDbBlockTableRecord, OdDbViewTableRecord, OdDbViewportTableRecord, OdDbUCSTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, and OdDbDimStyleTableRecord.
|
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.
Reimplemented in OdDbBlockTableRecord, OdDbViewTableRecord, OdDbViewportTableRecord, OdDbUCSTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, and OdDbDimStyleTableRecord.
|
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). 3) 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.
Reimplemented in OdDbViewTableRecord, OdDbViewportTableRecord, OdDbUCSTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, and OdDbDimStyleTableRecord.
|
virtual |
Returns the name of the record object (DXF 2).
bool OdDbSymbolTableRecord::isDependent | ( | ) | const |
Returns true if and only if this Record object is Xref dependent (DXF 70, bit 0x10).
bool OdDbSymbolTableRecord::isResolved | ( | ) | const |
Returns true if and only if this Record object is Xref dependent and resolved (DXF 70, bit 0x20).
OdDbSymbolTableRecord::ODDB_DECLARE_MEMBERS | ( | OdDbSymbolTableRecord | ) |
Sets the name for the record object (DXF 2).
sName | [in] Record name as a String value up to 255 characters long. |
|
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.
Reimplemented in OdDbBlockTableRecord, OdDbTextStyleTableRecord, OdDbRegAppTableRecord, OdDbLinetypeTableRecord, OdDbLayerTableRecord, and OdDbDimStyleTableRecord.
|
virtual |
Called as the first operation of swapIdWith
otherId | [in] Object ID to be swapped with this object's Object ID. |
swapXdata | [in] If and only if true, extended data are swapped. |
swapExtDict | [in] If and only if true, extension dictionaries are swapped. |
When overriding this function:
1) If the OdDbObject's state is incorrect, throw exception.
2) Call parent class's subSwapIdWith().
3) If other actions are required before swapping IDs, do them.
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
Reimplemented in OdDbViewTableRecord.