CFx SDK Documentation
2020SP3
|
#include <DbBreakData.h>
This class represents break data for dimensions.
<group OdDb_Classes>
Definition at line 44 of file DbBreakData.h.
void OdDbBreakData::addBreakPointRef | ( | OdDbBreakPointRef * | ptRef | ) |
void OdDbBreakData::deleteAllBreakPointRefs | ( | ) |
OdDbObjectId OdDbBreakData::dimObjId | ( | ) | const |
|
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.
|
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 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.
|
virtual |
Notification function called whenever an object has been erased or unerased.
pObject | [in] Pointer to the object that was erased/unerased. |
erasing | [in] True if and only if this object is being erased. |
Reimplemented from OdDbObject.
void OdDbBreakData::getBreakPointRef | ( | int | lineIndex, |
OdDbBreakPointRefPtrArray & | ptRefs | ||
) | const |
void OdDbBreakData::getBreakPointRef | ( | OdDbBreakPointRefPtrArray & | ptRefs | ) | const |
|
virtual |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed.
pObject | [in] Pointer to the object that is being closed after being modified. |
Reimplemented from OdDbObject.
|
virtual |
Notification function called whenever an object derived from OdDbEntity is modified.
pObject | [in] Pointer to the modified object. |
This function is called whenever the following has occurred.
1) The calling object is opened OdDb::kForWrite.
2) One of its member functions either
a Calls its assertWriteEnabled with recordModified == true. b Calls its recordGraphicsModified(true).
3) The calling object is being closed.
This function is called whenever the object as been modified. It therefore indicates only that the graphics for it may have changed.
Reimplemented from OdDbObject.
OdDbBreakData::ODDB_DECLARE_MEMBERS | ( | OdDbBreakData | ) |
void OdDbBreakData::setDimObjId | ( | const OdDbObjectId & | dimId | ) |
OdResult OdDbBreakData::updateAssociativity | ( | const OdDbObjectIdArray & | ids, |
int | cmdType | ||
) |