CFx SDK Documentation
2023 SP0
|
#include "TD_PackPush.h"
#include "RxObject.h"
#include "DbObjectId.h"
#include "RxObjectImpl.h"
#include "OdString.h"
#include "DbDate.h"
#include "OdCodePage.h"
#include "OdToolKit.h"
#include "DbObject.h"
#include "CmColor.h"
#include "DbSecurity.h"
#include "DbSystemServices.h"
#include "ViewportDefs.h"
#include "DbAnnotationScale.h"
#include "SysVarDefs.h"
#include "DimVarDefs.h"
#include "TD_PackPop.h"
Go to the source code of this file.
Classes | |
class | OdDbDatabase |
Namespaces | |
OdDb | |
Macros | |
#define | VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2) SVARS_FUNC_MODIFIER type get##name() const; |
#define | RO_VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2) |
#define | VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2) SVARS_FUNC_MODIFIER void set##name(type val); |
#define | VAR_DEF(type, name, dxf, def_value, metric_def_value, reserve1, reserve2) |
Definition at line 1387 of file DbDatabase.h.
#define VAR_DEF | ( | type, | |
name, | |||
def_value, | |||
metric_def_value, | |||
reserve1, | |||
reserve2 | |||
) | SVARS_FUNC_MODIFIER type get##name() const; |
Definition at line 1396 of file DbDatabase.h.
#define VAR_DEF | ( | type, | |
name, | |||
def_value, | |||
metric_def_value, | |||
reserve1, | |||
reserve2 | |||
) | SVARS_FUNC_MODIFIER void set##name(type val); |
Definition at line 1396 of file DbDatabase.h.
Definition at line 1396 of file DbDatabase.h.
typedef OdSmartPtr<OdDbBlockTable> OdDbBlockTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbBlockTable object pointers.
Definition at line 120 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbBlockTableRecord object pointers.
Definition at line 156 of file DbDatabase.h.
typedef OdSmartPtr<OdDbDatabase> OdDbDatabasePtr |
This template class is a specialization of the OdSmartPtr class for OdDbDatabase object pointers.
Definition at line 202 of file DbDatabase.h.
typedef OdSmartPtr<OdDbDictionary> OdDbDictionaryPtr |
This template class is a specialization of the OdSmartPtr class for OdDbDictionary object pointers.
Definition at line 108 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbDictionaryWithDefault object pointers.
Definition at line 112 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbDimStyleTable object pointers.
Definition at line 148 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbDimStyleTableRecord object pointers.
Definition at line 160 of file DbDatabase.h.
typedef OdSmartPtr<OdDbLayerTable> OdDbLayerTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbLayerTable object pointers.
Definition at line 124 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbLinetypeTable object pointers.
Definition at line 152 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbLinetypeTableRecord object pointers.
Definition at line 176 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbObjectContextManager object pointers.
Definition at line 197 of file DbDatabase.h.
typedef OdSmartPtr<OdDbRegAppTable> OdDbRegAppTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbRegAppTable object pointers.
Definition at line 144 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbRegAppTableRecord object pointers.
Definition at line 168 of file DbDatabase.h.
typedef OdSmartPtr<OdDbSymbolTable> OdDbSymbolTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbSymbolTable object pointers.
Definition at line 116 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbTextStyleTable object pointers.
Definition at line 128 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbTextStyleTableRecord object pointers.
Definition at line 164 of file DbDatabase.h.
typedef OdSmartPtr<OdDbUCSTable> OdDbUCSTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbUCSTable object pointers.
Definition at line 136 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdDbViewportTable object pointers.
Definition at line 140 of file DbDatabase.h.
typedef OdSmartPtr<OdDbViewTable> OdDbViewTablePtr |
This template class is a specialization of the OdSmartPtr class for OdDbViewTable object pointers.
Definition at line 132 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdFileDependencyManager object pointers.
Definition at line 190 of file DbDatabase.h.
typedef OdSmartPtr<OdResBuf> OdResBufPtr |
This template class is a specialization of the OdSmartPtr class for OdResBuf object pointers.
Definition at line 104 of file DbDatabase.h.
This template class is a specialization of the OdSmartPtr class for OdSecurityParams object pointers.
Definition at line 183 of file DbDatabase.h.
void TOOLKIT_EXPORT fxSetHandseed | ( | OdDbDatabase * | pDb, |
OdDbHandle | handseed | ||
) |
TOOLKIT_EXPORT OdRxClass* getClassByName | ( | OdDbDatabase * | pDb, |
const OdString & | className | ||
) |
TOOLKIT_EXPORT OdUInt32 getGapsAmount | ( | OdDbDatabase * | pDb | ) |
TOOLKIT_EXPORT OdDbDataLinkManager* odDbGetDataLinkManager | ( | OdDbDatabase * | db | ) |
TOOLKIT_EXPORT void odDbGetPreviewBitmap | ( | OdStreamBuf * | pStreamBuf, |
OdThumbnailImage * | pPreview | ||
) |
Fills in the OdThumbnailImage object from stream. Throws appropriate exception if an error occurred.
TOOLKIT_EXPORT void odDbLoadMlineStyleFile | ( | OdDbDatabase & | db, |
const OdString & | patternName, | ||
OdStreamBuf & | filename, | ||
OdDb::DuplicateLinetypeLoading | dlt = OdDb::kDltNotApplicable |
||
) |
Loads an MLineStyle into the specified database object.
db | [in] OdDbDatabase object. |
patternName | [in] Name of the pattern to load. |
filename | [in] Name of the MlineStyle file from which to load. |
dlt | [in] Duplicate linetype loading. |
Value Description OdDb::kDltNotApplicable 0 Not Applicable. OdDb::kDltIgnore 1 Ignore duplicate linetypes. OdDb::kDltReplace 2 Replace duplicate linetypes.
Throws: An appropriate error if not successful.
TOOLKIT_EXPORT void odDbSaveLineTypeFile | ( | OdDbDatabase & | Db, |
OdStreamBuf & | filename, | ||
OdDb::TextFileEncoding | encode = OdDb::kTextFileEncodingDefault |
||
) |
Saves linetypes to the specified file.
db | [in] OdDbDatabase object. |
filename | [in] Name of the linetype file to save. |
encode | [in] Encoding used for writing linetype text files. |
TOOLKIT_EXPORT void odDbSaveMlineStyleFile | ( | OdDbDatabase & | Db, |
OdStreamBuf & | filename | ||
) |
Saves an MLineStyle to the specified file.
db | [in] OdDbDatabase object. |
filename | [in] Name of the MlineStyle file to save. |
TOOLKIT_EXPORT void odDbSetDWGCODEPAGE | ( | OdDbDatabase & | db, |
OdCodePageId | val | ||
) |
Sets the DWGCODEPAGE value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for DWGCODEPAGE. |
TOOLKIT_EXPORT void odDbSetPSTYLEMODE | ( | OdDbDatabase & | db, |
bool | val | ||
) |
Sets the PSTYLEMODE value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for PSTYLEMODE. |
TOOLKIT_EXPORT void odDbSetPUCSORG | ( | OdDbDatabase & | db, |
OdGePoint3d | val | ||
) |
Sets the PUCSORG value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for PUCSORG. |
TOOLKIT_EXPORT void odDbSetPUCSXDIR | ( | OdDbDatabase & | db, |
OdGeVector3d | val | ||
) |
Sets the PUCSXDIR value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for PUCSXDIR. |
TOOLKIT_EXPORT void odDbSetPUCSYDIR | ( | OdDbDatabase & | db, |
OdGeVector3d | val | ||
) |
Sets the PUCSYDIR value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for PUCSYDIR. |
TOOLKIT_EXPORT void odDbSetTDINDWG | ( | OdDbDatabase & | db, |
OdDbDate | val | ||
) |
Sets the TDINDWG value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for TDINDWG. |
TOOLKIT_EXPORT void odDbSetTDUCREATE | ( | OdDbDatabase & | db, |
OdDbDate | val | ||
) |
Sets the TDUCREATE system variable in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for TDUCREATE. |
TOOLKIT_EXPORT void odDbSetTDUSRTIMER | ( | OdDbDatabase & | db, |
OdDbDate | val | ||
) |
Sets the TDUSRTIMER value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for TDUSRTIMER. |
TOOLKIT_EXPORT void odDbSetTDUUPDATE | ( | OdDbDatabase & | db, |
OdDbDate | val | ||
) |
Sets the TDUUPDATE value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for TDUUPDATE. |
TOOLKIT_EXPORT void odDbSetUCSORG | ( | OdDbDatabase & | db, |
OdGePoint3d | val | ||
) |
Sets the UCSORG system variable in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for UCSORG. |
TOOLKIT_EXPORT void odDbSetUCSXDIR | ( | OdDbDatabase & | db, |
OdGeVector3d | val | ||
) |
Sets the UCSXDIR value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for UCSXDIR. |
TOOLKIT_EXPORT void odDbSetUCSYDIR | ( | OdDbDatabase & | db, |
OdGeVector3d | val | ||
) |
Sets the UCSYDIR value in the specified OdDbDatabase instance.
db | [in] Database. |
val | [in] Value for UCSYDIR. |
TOOLKIT_EXPORT OdResult validateDrawingSignature | ( | const OdString & | drawingFullPath, |
OdCryptoServices::OdSignatureVerificationResult & | verificationResult, | ||
OdSignatureDescription & | signatureDesc | ||
) |
Verify drawing Digital Signature if exists.
drawingFullPath | [in] Full path to the drawing file to verify the signature. |
verifResultMsg | [out] Verification result message. |
pSignDesc | [out] A pointer to preallocated structure into which signature description data will be placed. |