CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbTableTemplate Class Reference

#include <DbTableTemplate.h>

Inheritance diagram for OdDbTableTemplate:
OdDbTableContent OdDbFormattedTableData OdDbLinkedTableData OdDbLinkedData OdDbObject OdGiDrawable OdRxObject

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbTableTemplate)
 
 OdDbTableTemplate ()
 
 OdDbTableTemplate (const OdDbTable *pTable, OdDb::TableCopyOption nCopyOption)
 
virtual OdResult capture (const OdDbTable *pTable, OdDb::TableCopyOption nCopyOption)
 
virtual OdResult createTable (OdDbTable *pTable, OdDb::TableCopyOption nCopyOption)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbTableContent
 ODDB_DECLARE_MEMBERS (OdDbTableContent)
 
 OdDbTableContent ()
 
virtual OdDbObjectId tableStyleId () const
 
virtual void setTableStyleId (const OdDbObjectId &idTableStyle)
 
virtual const OdString cellStyle (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setCellStyle (OdInt32 nRow, OdInt32 nCol, const OdString &pszCellStyle)
 
virtual double rowHeight (OdInt32 nRow) const
 
virtual void setRowHeight (OdInt32 nRow, double fHeight)
 
virtual double columnWidth (OdInt32 nCol) const
 
virtual void setColumnWidth (OdInt32 nCol, double fWidth)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbFormattedTableData
 ODDB_DECLARE_MEMBERS (OdDbFormattedTableData)
 
 OdDbFormattedTableData ()
 
virtual OdInt32 insertRowAndInherit (OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumRows)
 
virtual OdInt32 insertColumnAndInherit (OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumCols)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idField, OdDb::CellOption nFlag)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idField, OdDb::CellOption nFlag)
 
virtual void merge (const OdCellRange &range)
 
virtual void unmerge (const OdCellRange &range)
 
virtual bool isMerged (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdCellRange getMergeRange (OdInt32 nRow, OdInt32 nCol) const
 
virtual bool isMergeAllEnabled (OdInt32 nRow, OdInt32 nCol) const
 
virtual void enableMergeAll (OdInt32 nRow, OdInt32 nCol, bool bEnable)
 
virtual bool isFormatEditable (OdInt32 nRow, OdInt32 nCol) const
 
virtual double rotation (OdInt32 nRow, OdInt32 nCol) const
 
virtual double rotation (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setRotation (OdInt32 nRow, OdInt32 nCol, double fRotation)
 
virtual void setRotation (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fRotation)
 
virtual double scale (OdInt32 nRow, OdInt32 nCol) const
 
virtual double scale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setScale (OdInt32 nRow, OdInt32 nCol, double fScale)
 
virtual void setScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fScale)
 
virtual bool isAutoScale (OdInt32 nRow, OdInt32 nCol) const
 
virtual bool isAutoScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setAutoScale (OdInt32 nRow, OdInt32 nCol, bool bAutoScale)
 
virtual void setAutoScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, bool bAutoScale)
 
virtual OdDb::CellAlignment alignment (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setAlignment (OdInt32 nRow, OdInt32 nCol, OdDb::CellAlignment nAlignment)
 
virtual OdCmColor contentColor (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdCmColor contentColor (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setContentColor (OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
 
virtual void setContentColor (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdCmColor &color)
 
virtual OdDbObjectId textStyle (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId textStyle (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setTextStyle (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idTextStyle)
 
virtual void setTextStyle (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdDbObjectId &idTextStyle)
 
virtual double textHeight (OdInt32 nRow, OdInt32 nCol) const
 
virtual double textHeight (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setTextHeight (OdInt32 nRow, OdInt32 nCol, double fTextHeight)
 
virtual void setTextHeight (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fTextHeight)
 
virtual OdCmColor backgroundColor (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setBackgroundColor (OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
 
virtual OdDb::CellContentLayout contentLayout (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setContentLayout (OdInt32 nRow, OdInt32 nCol, OdDb::CellContentLayout nLayout)
 
virtual OdDb::FlowDirection flowDirection () const
 
virtual void setFlowDirection (OdDb::FlowDirection nDir)
 
virtual double margin (OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargin) const
 
virtual void setMargin (OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargins, double fMargin)
 
virtual OdDb::GridLineStyle gridLineStyle (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLineStyle (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::GridLineStyle nLineStyle)
 
virtual OdDb::LineWeight gridLineWeight (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLineWeight (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::LineWeight nLineWeight)
 
virtual OdDbObjectId gridLinetype (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLinetype (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdDbObjectId &idLinetype)
 
virtual OdCmColor gridColor (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridColor (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdCmColor &color)
 
virtual OdDb::Visibility gridVisibility (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridVisibility (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::Visibility nVisibility)
 
virtual double gridDoubleLineSpacing (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridDoubleLineSpacing (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, double fSpacing)
 
virtual void getGridProperty (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdGridProperty &gridProp) const
 
virtual void setGridProperty (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
 
virtual void setGridProperty (const OdCellRange &range, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
 
virtual OdDb::CellProperty getOverride (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual OdDb::GridProperty getOverride (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setOverride (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, OdDb::CellProperty nOverride)
 
virtual void setOverride (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdDb::GridProperty nOverride)
 
virtual void removeAllOverrides (OdInt32 nRow, OdInt32 nCol)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbLinkedTableData
 ODDB_DECLARE_MEMBERS (OdDbLinkedTableData)
 
 OdDbLinkedTableData ()
 
virtual void setSize (OdInt32 nRows, OdInt32 nCols)
 
virtual OdInt32 numColumns () const
 
virtual OdString getColumnName (OdInt32 nIndex) const
 
virtual void setColumnName (OdInt32 nIndex, const OdString name)
 
virtual OdInt32 appendColumn (OdInt32 nNumCols)
 
virtual OdInt32 insertColumn (OdInt32 nIndex, OdInt32 nNumCols)
 
virtual void deleteColumn (OdInt32 nIndex, OdInt32 nNumColsToDelete)
 
virtual OdInt32 numRows () const
 
virtual bool canInsert (OdInt32 nIndex, bool bRow) const
 
virtual OdInt32 appendRow (OdInt32 nNumRows)
 
virtual OdInt32 insertRow (OdInt32 nIndex, OdInt32 nNumRows)
 
virtual bool canDelete (OdInt32 nIndex, OdInt32 nCount, bool bRow) const
 
virtual void deleteRow (OdInt32 nIndex, OdInt32 nNumRowsToDelete)
 
virtual bool isContentEditable (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDb::CellState cellState (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setCellState (OdInt32 nRow, OdInt32 nCol, OdDb::CellState nCellState)
 
virtual OdString getToolTip (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setToolTip (OdInt32 nRow, OdInt32 nCol, const OdString &sToolTip)
 
virtual OdInt32 getCustomData (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setCustomData (OdInt32 nRow, OdInt32 nCol, OdInt32 nData)
 
virtual OdValue getCustomData (OdInt32 nRow, OdInt32 nCol, const OdString &sKey) const
 
virtual void setCustomData (OdInt32 nRow, OdInt32 nCol, const OdString &sKey, const OdValue *pData)
 
virtual OdUInt32 numContents (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdUInt32 createContent (OdInt32 nRow, OdInt32 nCol, OdInt32 nIndex)
 
virtual void moveContent (OdInt32 nRow, OdInt32 nCol, OdInt32 nFromIndex, OdInt32 nToIndex)
 
virtual void deleteContent (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent)
 
virtual void deleteContent (OdInt32 nRow, OdInt32 nCol)
 
virtual void deleteContent (const OdCellRange &range)
 
virtual OdDb::CellContentType contentType (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDb::CellContentType contentType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void getDataType (OdInt32 nRow, OdInt32 nCol, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
 
virtual void getDataType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
 
virtual void setDataType (OdInt32 nRow, OdInt32 nCol, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
 
virtual void setDataType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
 
virtual OdString dataFormat (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdString dataFormat (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setDataFormat (OdInt32 nRow, OdInt32 nCol, const OdString sFormat)
 
virtual void setDataFormat (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString sFormat)
 
virtual OdValue getValue (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdValue getValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::FormatOption nOption) const
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, const OdValue &value)
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdValue &value)
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdValue &value, OdValue::ParseOption nOption)
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::FormatOption nOption) const
 
virtual void setText (OdInt32 nRow, OdInt32 nCol, const OdString &sText)
 
virtual void setText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString &sText)
 
virtual bool hasFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual OdString getFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString sFormula)
 
virtual OdDbObjectId getFieldId (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idField)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idField)
 
virtual OdDbFieldPtr getField (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdDb::OpenMode mode) const
 
virtual OdDbObjectId getBlockTableRecordId (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idBTR)
 
virtual void setBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idBTR)
 
virtual OdString getBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idAttDef) const
 
virtual OdString getBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idAttDef) const
 
virtual void setBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idAttDef, const OdString sAttValue)
 
virtual void setBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idAttDef, const OdString sAttValue)
 
virtual bool isLinked (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getDataLink (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbDataLinkPtr getDataLink (OdInt32 nRow, OdInt32 nCol, OdDb::OpenMode mode) const
 
virtual OdInt32 getDataLink (const OdCellRange &pRange, OdDbObjectIdArray &dataLinkIds) const
 
virtual void setDataLink (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idDataLink, bool bUpdate)
 
virtual void setDataLink (const OdCellRange &range, const OdDbObjectId &idDataLink, bool bUpdate)
 
virtual OdCellRange getDataLinkRange (OdInt32 nRow, OdInt32 nCol) const
 
virtual void removeDataLink (OdInt32 nRow, OdInt32 nCol)
 
virtual void removeDataLink (void)
 
virtual void updateDataLink (OdInt32 nRow, OdInt32 nCol, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
 
virtual void updateDataLink (OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
 
virtual void clear ()
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual void copyFrom (const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption)
 
virtual void copyFrom (const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption, const OdCellRange &srcRange, const OdCellRange &targetRange, OdCellRange *pNewTargetRange)
 
OdDbTableIteratorPtr getIterator (void) const
 
OdDbTableIteratorPtr getIterator (const OdCellRange *pRange, OdDb::TableIteratorOption nOption) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbLinkedData
 ODDB_DECLARE_MEMBERS (OdDbLinkedData)
 
 OdDbLinkedData ()
 
virtual const OdString name (void) const
 
virtual void setName (const OdString &name)
 
virtual const OdString description (void) const
 
virtual void setDescription (const OdString &description)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
virtual void copyFrom (const OdRxObject *pSource)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- 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
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents TableTemplate objects which are used for capturing, storing and managing table templates.

  <group OdDb_Classes>

Definition at line 41 of file DbTableTemplate.h.

Constructor & Destructor Documentation

◆ OdDbTableTemplate() [1/2]

OdDbTableTemplate::OdDbTableTemplate ( )

◆ OdDbTableTemplate() [2/2]

OdDbTableTemplate::OdDbTableTemplate ( const OdDbTable pTable,
OdDb::TableCopyOption  nCopyOption 
)

Member Function Documentation

◆ capture()

virtual OdResult OdDbTableTemplate::capture ( const OdDbTable pTable,
OdDb::TableCopyOption  nCopyOption 
)
virtual

Captures table template contents.

Parameters
pTable[in] Table from which to capture the template.
nCopyOption[in] Specifies which contents are captured while capturing a template.
Returns
Returns eOk if successful. Otherwise, returns eInvalidInput.

◆ createTable()

virtual OdResult OdDbTableTemplate::createTable ( OdDbTable pTable,
OdDb::TableCopyOption  nCopyOption 
)
virtual

Creates a table from the specified template contents.

Parameters
pTable[out] Pointer to created table.
nCopyOption[in] Specifies which contents are copied while creating a table.
Returns
Returns eOk if successful. Otherwise, returns eInvalidInput.

◆ dwgInFields()

virtual OdResult OdDbTableTemplate::dwgInFields ( OdDbDwgFiler pFiler)
virtual

OdDbObject override.

Reimplemented from OdDbTableContent.

◆ dwgOutFields()

virtual void OdDbTableTemplate::dwgOutFields ( OdDbDwgFiler pFiler) const
virtual

OdDbObject override.

Reimplemented from OdDbTableContent.

◆ dxfInFields()

virtual OdResult OdDbTableTemplate::dxfInFields ( OdDbDxfFiler pFiler)
virtual

OdDbObject override.

Reimplemented from OdDbTableContent.

◆ dxfOutFields()

virtual void OdDbTableTemplate::dxfOutFields ( OdDbDxfFiler pFiler) const
virtual

OdDbObject override.

Reimplemented from OdDbTableContent.

◆ ODDB_DECLARE_MEMBERS()

OdDbTableTemplate::ODDB_DECLARE_MEMBERS ( OdDbTableTemplate  )

The documentation for this class was generated from the following file: