CFx SDK Documentation 2024 SP0
|
#include <DbModelDocViewStyle.h>
Protected Types | |
enum | { kCanRename = 1 } |
Protected Member Functions | |
OdDbModelDocViewStyle () | |
virtual OdResult | dwgInFields (OdDbDwgFiler *pFiler) |
virtual void | dwgOutFields (OdDbDwgFiler *pFiler) const |
virtual OdResult | dxfInFields (OdDbDxfFiler *pFiler) |
virtual void | dxfOutFields (OdDbDxfFiler *pFiler) const |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes inherited from OdDbObject | |
OdDbObjectImpl * | m_pImpl |
Corresponding C++ library: TD_Db <group OdDb_Classes>
Definition at line 35 of file DbModelDocViewStyle.h.
|
protected |
Enumerator | |
---|---|
kCanRename |
Definition at line 196 of file DbModelDocViewStyle.h.
Defines the attachment point for the model documentation view label text.
Enumerator | |
---|---|
kAboveView | |
kBelowView |
Definition at line 47 of file DbModelDocViewStyle.h.
Defines the alignment for the model documentation view label text.
Enumerator | |
---|---|
kTextAlignmentLeft | |
kTextAlignmentCenter | |
kTextAlignmentRight |
Definition at line 55 of file DbModelDocViewStyle.h.
|
protected |
|
pure virtual |
bool OdDbModelDocViewStyle::canRename | ( | ) | const |
OdString OdDbModelDocViewStyle::defaultViewName | ( | int | index | ) | const |
Returns the default view name based on the specified index.
index | [in] Index of default name. |
|
virtual |
Returns the description of this view style.
|
protectedvirtual |
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 OdDbDetailViewStyle, and OdDbSectionViewStyle.
|
protectedvirtual |
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 OdDbDetailViewStyle, and OdDbSectionViewStyle.
|
protectedvirtual |
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 OdDbDetailViewStyle, and OdDbSectionViewStyle.
|
protectedvirtual |
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 OdDbDetailViewStyle, and OdDbSectionViewStyle.
OdString OdDbModelDocViewStyle::getDisplayName | ( | ) | const |
**
** **
|
virtual |
Returns the name of this OdDbModelDocViewStyle object.
bool OdDbModelDocViewStyle::isModifiedForRecompute | ( | ) | const |
Specifies whether properties were changed.
\returns
True if properties were changed; returns false otherwise.
bool OdDbModelDocViewStyle::isViewNameValid | ( | const OdString & | name | ) | const |
Checks whether a label name is valid.
name | [in] Label name to check. |
OdDbModelDocViewStyle::ODDB_DECLARE_MEMBERS | ( | OdDbModelDocViewStyle | ) |
|
pure virtual |
Includes this view style object in a OdDbDatabase object.
pDb | [in] Pointer of the database to receive the OdDbModelDocViewStyle object. |
styleName | [in] Name of the view style. |
Implemented in OdDbDetailViewStyle, and OdDbSectionViewStyle.
OdResult OdDbModelDocViewStyle::setCanRename | ( | bool | canRename | ) |
|
virtual |
Sets defaults values for the properties of this view style.
Sets the description of this view style.
description | [in] Description. |
Sets the name of this OdDbModelDocViewStyle object.
name | [in] Name. |