CFx SDK Documentation  2020SP3
DbDatabase.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 
26 
27 #ifndef _ODDBDATABASE_INCLUDED_
28 #define _ODDBDATABASE_INCLUDED_
29 
30 #include "TD_PackPush.h"
31 
32 #include "RxObject.h"
33 #include "DbObjectId.h"
34 #include "RxObjectImpl.h"
35 #include "OdString.h"
36 #include "DbDate.h"
37 #include "OdCodePage.h"
38 #include "OdToolKit.h"
39 #include "DbObject.h"
40 #include "CmColor.h"
41 #include "DbSecurity.h"
42 #include "DbSystemServices.h"
43 #include "ViewportDefs.h"
44 #include "DbAnnotationScale.h"
45 
46 class OdDbObject;
47 
48 class OdDbSymbolTable;
49 class OdDbBlockTable;
50 class OdDbTextStyleTable;
51 class OdDbLinetypeTable;
52 class OdDbLayerTable;
53 class OdDbViewTable;
54 class OdDbUCSTable;
55 class OdDbUCSTable;
56 class OdDbViewportTable;
57 class OdDbRegAppTable;
58 class OdDbDimStyleTable;
65 class OdDbLayout;
67 class OdGsView;
68 class OdGsDevice;
69 class OdGsDCRect;
70 
71 class OdDbDictionary;
73 class OdDbFiler;
74 class OdDbIdMapping;
76 class OdDbSpatialFilter;
77 class OdDbLayerFilter;
78 class OdDbAuditInfo;
79 class OdDbUndoController;
81 class OdDbEntity;
82 
83 class OdGePoint2d;
84 class OdGePoint3d;
85 class OdGeMatrix3d;
86 class OdGeVector3d;
87 class OdDbDwgFiler;
88 
89 class OdGsModel;
90 
91 class OdStreamBuf;
92 class OdThumbnailImage;
93 
94 class OdDbDatabaseImpl;
95 class OdResBuf;
96 class OdDbUnitsFormatter;
98 class OdDbObjectIdGraph;
99 class OdDbHistoryManager;
100 
177 
178 class OdSecurityParams;
179 
184 
186 
191 
193 
198 
203 
208 namespace OdDb
209 {
210 
214  enum EndCaps
215  {
219  kEndCapSquare = 3
220  };
221 
226  {
230  kJnStylFlat = 3
231  };
232 
237  {
240  kDltReplace = 2
241  };
242 
248  enum TimeZone
249  {
251  kMidwayIsland = -11000,
252  kHawaii = -10000,
253  kAlaska = -9000,
254  kPacific = -8000,
255  kMountain = -7000,
256  kArizona = -7001,
257  kMazatlan = -7002,
258  kCentral = -6000,
259  kCentralAmerica = -6001,
260  kMexicoCity = -6002,
261  kSaskatchewan = -6003,
262  kEastern = -5000,
263  kIndiana = -5001,
264  kBogota = -5002,
265  kAtlanticCanada = -4000,
266  kCaracas = -4001,
267  kSantiago = -4002,
268  kNewfoundland = -3300,
269  kBrasilia = -3000,
270  kBuenosAires = -3001,
271  kGreenland = -3002,
272  kMidAtlantic = -2000,
273  kAzores = -1000,
274  kCapeVerde = -1001,
275  kUTC = 0,
276  kGMT = 1,
277  kMonrovia = 2,
278  kBerlin = 1000,
279  kParis = 1001,
280  kPrague = 1002,
281  kSarajevo = 1003,
283  kAthens = 2000,
284  kEasternEurope = 2001,
285  kCairo = 2002,
286  kHarare = 2003,
287  kHelsinki = 2004,
288  kJerusalem = 2005,
289  kMoscow = 3000,
290  kRiyadh = 3001,
291  kBaghdad = 3002,
292  kEastAfrica = 3003,
293  kTehran = 3300,
294  kAbuDhabi = 4000,
295  kCaucasus = 4001,
296  kKabul = 4300,
297  kEkaterinburg = 5000,
298  kIslamabad = 5001,
299  kKolkata = 5300,
300  kKathmandu = 5450,
301  kAlmaty = 6000,
302  kDhaka = 6001,
303  kSriLanka = 6002,
304  kRangoon = 6300,
305  kBangkok = 7000,
306  kKrasnoyarsk = 7001,
307  kBeijing = 8000,
308  kSingapore = 8001,
309  kTaipei = 8002,
310  kIrkutsk = 8003,
311  kPerth = 8004,
312  kTokyo = 9000,
313  kSeoul = 9001,
314  kYakutsk = 9002,
315  kAdelaide = 9300,
316  kDarwin = 9301,
317  kSydney = 10000,
318  kGuam = 10001,
319  kBrisbane = 10002,
320  kHobart = 10003,
321  kVladivostock = 10004,
322  kMagadan = 11000,
323  kWellington = 12000,
324  kFiji = 12001,
325  kTonga = 13000
326  };
327 
332  {
333  kLoftNoParam = 0x00,
334  kLoftNoTwist = 0x01,
336  kLoftSimplify = 0x04,
337  kLoftClose = 0x08,
338  kLoftPeriodic = 0x10,
340  };
341 
346  {
354  };
355 
360  {
363  };
364 
369  {
372  kProxyBoundingBox = 2
373  };
374 
379  {
380  kTrimNone = 0,
383  kTrimBoth = 3
384  };
385 
390  {
400  };
401 
406  {
408  kLayerConstraints = 1
409  };
410 }
411 
421 {
422 protected:
423 
425 
426 public:
427 
432  void* pClsid) const;
433 
435 
436  void addRef();
437 
438  void release();
439 
444 
463  OdDb::MeasurementValue measurement = OdDb::kEnglish);
464  // FELIX_CHANGE_BEGIN
466  OdDb::MeasurementValue measurement, bool bVisualStyles/* = true*/);
467  // FELIX_CHANGE_END
468 
472  virtual ~OdDbDatabase();
473 
486  OdDbObject* pObject,
488  OdDbHandle handle = 0);
489 
498  bool newRegApp(
499  const OdString& regAppName);
500 
505 
510 
515 
520 
525 
530 
535 
540 
545 
551  bool createIfNotFound = true) const;
552 
558  bool createIfNotFound = true) const;
559 
565  bool createIfNotFound = true) const;
566 
572  bool createIfNotFound = true) const;
573 
578 
584  bool createIfNotFound = true) const;
585 
591  bool createIfNotFound = true) const;
592 
598  bool createIfNotFound = true) const;
599 
605  bool createIfNotFound = true) const;
606 
612  bool createIfNotFound = true) const;
613 
620  bool createIfNotFound = true) const;
621 
626 
632  OdDbObjectId objectId);
633 
639  bool createIfNotFound = true) const;
640 
645 
651  OdDbObjectId objectId);
652 
658  bool createIfNotFound = true) const;
659 
664 
670  OdDbObjectId objectId);
671 
677  bool createIfNotFound = true) const;
678 
683 
689  OdDbObjectId objectId);
690 
695 
700 
705 
710 
715 
720 
725 
730 
735 
741  bool createIfNotFound = false) const;
742 
758  OdDb::LayerAdskType layerType,
759  bool createIfNotFound = false) const;
760 
769 
778 
788  const OdRxClass* pClass);
789 
808  const OdDbHandle& objHandle,
809  bool createIfNotFound = false,
810  OdUInt32 xRefId = 0);
811 
850  void writeFile(
851  OdStreamBuf* pStreamBuf,
852  OdDb::SaveType fileType,
853  OdDb::DwgVersion fileVersion,
854  bool saveThumbnailImage = false,
855  int dxfPrecision = 16);
856 
857 
896  void writeFile(
897  const OdString& filename,
898  OdDb::SaveType fileType,
899  OdDb::DwgVersion fileVersion,
900  bool saveThumbnailImage = false,
901  int dxfPrecision = 16)
902  {
903  closeInput();
906  writeFile(pFile, fileType, fileVersion, saveThumbnailImage, dxfPrecision);
907  }
908 
916  void save(
917  OdStreamBuf* pStreamBuf,
918  bool saveThumbnailImage = false);
919 
928  void save(
929  const OdString& filename,
930  bool saveThumbnailImage = false);
931 
953  void readFile(
954  OdStreamBuf* pStreamBuf,
955  bool partialLoad = false,
956  OdDbAuditInfo *pAuditInfo = 0,
957  const OdPassword& password = OdPassword(),
958  bool allowCPConversion = false );
959 
978  void readFile(
979  const OdString& filename,
980  bool partialLoad = false,
982  const OdPassword& password = OdPassword(),
983  bool allowCPConversion = false )
984  {
985  readFile(odSystemServices()->createFile(filename, Oda::kFileRead, shareMode), partialLoad, 0, password, allowCPConversion);
986  }
987 
988  //DOM-IGNORE-BEGIN
995  void closeInput();
996  //DOM-IGNORE-END
997 
1009 
1019  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
1020 
1028 
1038  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
1039 
1053 
1063  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
1064 
1074  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
1075 
1082  OdDbDatabaseReactor* pReactor) const;
1083 
1090  pReactor) const;
1091 
1114  int dimfit() const;
1115 
1146  int dimunit() const;
1147 
1157  int val);
1158 
1168  int val);
1169 
1192  const OdDbObjectIdArray& objectIds,
1193  OdDbObjectId ownerId,
1194  OdDbIdMapping& idMap,
1195  bool deferXlation = false);
1196 
1197 
1232  const OdDbObjectIdArray& objectIds,
1233  OdDbObjectId ownerId,
1234  OdDbIdMapping& idMap,
1235  OdDb::DuplicateRecordCloning duplicateRecordCloning,
1236  bool deferXlation = false);
1237 
1250  OdDbIdMapping& idMap);
1251 
1260  void audit(
1261  OdDbAuditInfo* pAuditInfo);
1262 
1266  virtual void startTransaction();
1267 
1274  virtual void endTransaction();
1275 
1284  virtual void abortTransaction();
1285 
1289  virtual int numActiveTransactions();
1290 
1297  OdDbTransactionReactor* reactor);
1298 
1305  OdDbTransactionReactor* reactor);
1306 
1307 
1316  const void* thumbnailBitmap(
1317  OdUInt32& dataLength) const;
1318 
1329  const void* pBMPData,
1330  OdUInt32 dataLength);
1331 
1336 
1343  bool retain);
1344 
1346  OdDbDwgFiler* pFiler) const;
1347 
1349  OdDbDwgFiler* pFiler);
1350 
1351 //DOM-IGNORE-BEGIN
1352 #define VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)\
1353  SVARS_FUNC_MODIFIER type get##name() const;
1354 
1355 #include "SysVarDefs.h"
1356 
1357 #undef VAR_DEF
1358 #undef RO_VAR_DEF
1359 
1360 #define RO_VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)
1361 #define VAR_DEF(type, name, def_value, metric_def_value, reserve1, reserve2)\
1362  SVARS_FUNC_MODIFIER void set##name(type val);
1363 
1364 #include "SysVarDefs.h"
1365 
1366 #undef RO_VAR_DEF
1367 #undef VAR_DEF
1368 
1369 #define VAR_DEF(type, name, dxf, def_value, metric_def_value, reserve1, reserve2)\
1370  virtual type dim##name() const;\
1371  virtual void setDim##name(type val);
1372 
1373 #include "DimVarDefs.h"
1374 
1375 #undef VAR_DEF
1376 //DOM-IGNORE-END
1377 
1381  bool getDIMANNO() const;
1382 
1390 
1398 
1405  void resetTimes();
1406 
1421  const OdString& name) const;
1422 
1436  const OdString& name,
1437  const OdResBuf* pValue);
1438 
1446 
1454  OdDbDimStyleTableRecord* pDestination) const;
1455 
1470  OdDbObjectId &style) const;
1482  const OdDbObjectId &parentStyle) const;
1483 
1493 
1494 
1502  const OdDbDimStyleTableRecord* pSource);
1503 
1511  OdDbObjectId objectId);
1512 
1536  const OdString& ltName,
1537  const OdString& filename,
1540 
1544  virtual OdString getFilename() const;
1545 
1555  virtual void purge(
1556  OdDbObjectIdArray& objectIds) const;
1557 
1569  virtual OdResult purge(
1570  OdDbObjectIdGraph& objectIds) const;
1571 
1585  virtual void countHardReferences(
1586  const OdDbObjectIdArray& objectIds,
1587  OdUInt32* counts) const;
1588 
1593 
1599  virtual void setCurrentLayout(
1600  const OdString& layoutName);
1601 
1607  virtual void setCurrentLayout(
1608  const OdDbObjectId& layoutId);
1609 
1619  bool allowModel) const;
1620 
1626 
1636  const OdString& layoutName) const;
1637 
1643  virtual void deleteLayout(
1644  const OdString& layoutName);
1645 
1657  const OdString& layoutName,
1658  OdDbObjectId* pBlockTableRecId = 0);
1659 
1663  virtual int countLayouts() const;
1664 
1670  virtual void renameLayout(
1671  const OdString& oldName,
1672  const OdString& newName);
1673 
1678 
1682  bool hasUndo() const;
1683 
1691  void undo();
1692 
1698  void blockUndoRecording(bool bBegin);
1699 
1704 
1708  void setUndoMark();
1709 
1713  bool hasUndoMark() const;
1714 
1718  void undoBack();
1719 
1723  int getUNDOMARKS() const;
1724 
1728  void clearUndo();
1729 
1733  bool hasRedo() const;
1734 
1741  void redo();
1742 
1752  OdDbAuditInfo *pAuditInfo);
1753 
1761  OdDbDwgFiler* pUndoFiler,
1762  OdRxClass* pClassObj);
1763 
1768 
1801  const OdString& destinationBlockName,
1802  OdDbDatabase* pSource,
1803  bool preserveSourceDatabase = true);
1804 
1839  const OdString& sourceBlockName,
1840  const OdString& destinationBlockName,
1841  OdDbDatabase* pSource,
1842  bool preserveSourceDatabase = true);
1843 
1875  void insert(
1876  const OdGeMatrix3d& xfm,
1877  OdDbDatabase* pSource,
1878  bool preserveSourceDatabase = true);
1879 
1891  const OdDbObjectIdArray& outObjIds,
1892  const OdGePoint3d& basePoint);
1893 
1904  OdDbObjectId blockId);
1905 
1914 
1920 
1932  const OdSecurityParams& secParams,
1933  bool setDbMod = true);
1934 
1944  OdSecurityParams& secParams) const;
1945 
1950 
1955 
1960 
1966  void updateExt(bool bExact = false);
1967 
1971  bool isEMR() const;
1972 
1977 
1981  bool isPartiallyOpened() const;
1982 
1986  bool isDatabaseLoading() const;
1987 
1991  bool isDatabaseConverting() const;
1992 
1997 
2018  OdDb::OrthographicView viewType);
2019 
2026  const OdDbObjectId& ucsId);
2027 
2036  const OdGePoint3d& origin,
2037  const OdGeVector3d& xAxis,
2038  const OdGeVector3d& yAxis);
2039 
2060  OdDb::OrthographicView viewType) const;
2061 
2083  OdDb::OrthographicView viewType,
2084  const OdGePoint3d& origin);
2085 
2106  OdDb::OrthographicView viewType) const;
2107 
2129  OdDb::OrthographicView viewType,
2130  const OdGePoint3d& origin);
2131 
2139 
2149 
2156  static bool isValidLineWeight(int weight);
2157 
2165 
2166  //DOM-IGNORE-BEGIN
2167  /*
2168  bool plotStyleMode() const;
2169 
2170 
2171  void forceWblockDatabaseCopy();
2172 
2173  void auditXData(OdDbAuditInfo* pInfo);
2174 
2175  OdDbUndoController* undoController() const;
2176 
2177  void setDimblk(const OdChar*);
2178  void setDimblk1(const OdChar*);
2179  void setDimblk2(const OdChar*);
2180  void setDimldrblk(const OdChar*);
2181 
2182  void getDimstyleChildData(const OdRxClass *pDimClass,
2183  OdDbDimStyleTableRecordPtr& pRec,
2184  OdDbObjectId &style) const;
2185 
2186  OdDbObjectId getDimstyleChildId(const OdRxClass *pDimClass,
2187  OdDbObjectId &parentStyle) const;
2188 
2189  OdDbObjectId getDimstyleParentId(OdDbObjectId &childStyle) const;
2190 
2191  void getDimRecentStyleList(OdDbObjectIdArray& objIds) const;
2192 
2193  void applyPartialOpenFilters(const OdDbSpatialFilter* pSpatialFilter,
2194  const OdDbLayerFilter* pLayerFilter);
2195 
2196  void disablePartialOpen();
2197 
2198  void newFingerprintGuid();
2199 
2200  void newVersionGuid();
2201 
2202  double viewportScaleDefault() const;
2203 
2204  void setViewportScaleDefault(double newDefaultVPScale);
2205 
2206  OdDbObjectId getPaperSpaceVportId() const;
2207 
2208  virtual void copyLayout(const OdChar* copyname, const OdChar* newname);
2209 
2210  virtual void cloneLayout(const OdDbLayout* pLBTR, const OdChar* newname, int newTabOrder);
2211 
2212  virtual OdDbObjectId getNonRectVPIdFromClipId(const OdDbObjectId& clipId);
2213 
2214  virtual bool isViewportClipped(short index);
2215 
2216  */
2217  //DOM-IGNORE-END
2218 
2223 
2228 
2229 
2234 
2239 
2244 
2250  void enableGraphicsFlush(bool bEnable);
2251 
2256 
2257 // ODA_MT_DB_BEGIN
2261  bool isMultiThreadedMode() const;
2262 
2275 
2290 // ODA_MT_DB_END
2291 
2300 
2308 
2313 
2314 private:
2315  friend class OdDbDatabaseImpl;
2316  OdDbDatabaseImpl* m_pImpl;
2317 };
2318 
2323 
2338  OdSignatureDescription& signatureDesc);
2339 
2344 
2345 
2346 // The functions below provide write access to "Read-Only" *database* variables.
2347 // Actually they are a OdDb::kludge for bypassing non-implemented DD functionality
2348 // or to repair invalid drawings.
2349 // They should be used with care.
2350 
2363  OdDbDatabase& db,
2364  OdCodePageId val);
2365 
2378  OdDbDatabase& db,
2379  OdDbDate val);
2380 
2393  OdDbDatabase& db,
2394  OdDbDate val);
2395 
2408  OdDbDatabase& db,
2409  OdDbDate val);
2410 
2423  OdDbDatabase& db,
2424  OdDbDate val);
2425 
2438  OdDbDatabase& db,
2439  bool val);
2440 
2453  OdDbDatabase& db,
2454  OdGePoint3d val);
2455 
2468  OdDbDatabase& db,
2469  OdGeVector3d val);
2470 
2483  OdDbDatabase& db,
2484  OdGeVector3d val);
2485 
2498  OdDbDatabase& db,
2499  OdGePoint3d val);
2500 
2513  OdDbDatabase& db,
2514  OdGeVector3d val);
2515 
2528  OdDbDatabase& db,
2529  OdGeVector3d val);
2530 
2531 
2539 
2561  OdDbDatabase &db,
2562  const OdString& patternName,
2563  OdStreamBuf &filename,
2565 
2572 
2573 namespace OdDb
2574 {
2580 
2586 }
2587 
2588 //FELIX_CHANGE_BEGIN
2590 //FELIX_CHANGE_END
2591 
2592 #include "TD_PackPop.h"
2593 
2594 #endif /* _ODDBDATABASE_INCLUDED_ */
2595 
odDbSetPUCSORG
TOOLKIT_EXPORT void odDbSetPUCSORG(OdDbDatabase &db, OdGePoint3d val)
OdDbDatabase::abortTransaction
virtual void abortTransaction()
OdDb::kHelsinki
@ kHelsinki
(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
Definition: DbDatabase.h:287
OdDb::kLoftRuled
@ kLoftRuled
Body or surface of the lofted object are specified with lines between cross section curves.
Definition: DbDatabase.h:347
OdDb::kEkaterinburg
@ kEkaterinburg
(GMT+05:00) Ekaterinburg
Definition: DbDatabase.h:297
DbSecurity.h
OdResult
OdResult
Definition: OdResult.h:29
OdDb::kGuam
@ kGuam
(GMT+10:00) Guam, Port Moresby
Definition: DbDatabase.h:318
odDbSetTDINDWG
TOOLKIT_EXPORT void odDbSetTDINDWG(OdDbDatabase &db, OdDbDate val)
OdDbDatabase::numberOfSaves
OdInt32 numberOfSaves() const
OdDbViewportTablePtr
OdSmartPtr< OdDbViewportTable > OdDbViewportTablePtr
Definition: DbDatabase.h:140
OdDbDatabase::setSectionViewStyle
void setSectionViewStyle(OdDbObjectId objectId)
OdDbLayerStateManager
Definition: DbLayerState.h:352
OdDbTextStyleTableRecordPtr
OdSmartPtr< OdDbTextStyleTableRecord > OdDbTextStyleTableRecordPtr
Definition: DbDatabase.h:164
OdDb::MeasurementValue
MeasurementValue
Definition: OdaDefs.h:437
odDbLoadMlineStyleFile
TOOLKIT_EXPORT void odDbLoadMlineStyleFile(OdDbDatabase &db, const OdString &patternName, OdStreamBuf &filename, OdDb::DuplicateLinetypeLoading dlt=OdDb::kDltNotApplicable)
OdGeVector3d
Definition: GeVector3d.h:54
OdDbDatabase::addReactor
void addReactor(OdDbDatabaseReactor *pReactor) const
OdString
Definition: OdString.h:95
OdDbDatabase::setCurrentLayout
virtual void setCurrentLayout(const OdString &layoutName)
OdDbDatabase
Definition: DbDatabase.h:421
OdDb::kMoscow
@ kMoscow
(GMT+03:00) Moscow, St. Petersburg, Volgograd
Definition: DbDatabase.h:289
OdDbDictionaryWithDefault
Definition: DbDictionaryWithDefault.h:41
odDbSetTDUCREATE
TOOLKIT_EXPORT void odDbSetTDUCREATE(OdDbDatabase &db, OdDbDate val)
OdDbDatabase::getGroupDictionaryId
OdDbObjectId getGroupDictionaryId(bool createIfNotFound=true) const
OdDbTransactionReactor
Definition: DbTransactionReactor.h:50
OdDb::kMagadan
@ kMagadan
(GMT+11:00) Magadan, Solomon Is., New Caledonia
Definition: DbDatabase.h:322
OdDbDatabase::numActiveTransactions
virtual int numActiveTransactions()
OdDbDatabase::getScaleListDictionaryId
OdDbObjectId getScaleListDictionaryId(bool createIfNotFound=true) const
OdDbViewTablePtr
OdSmartPtr< OdDbViewTable > OdDbViewTablePtr
Definition: DbDatabase.h:132
OdDbDatabase::flushGraphics
void flushGraphics()
OdDb::kSriLanka
@ kSriLanka
(GMT+06:00) Sri Jayawardenepura
Definition: DbDatabase.h:303
OdDbDatabase::getBlockTableId
OdDbObjectId getBlockTableId() const
OdDb::kEndCapSquare
@ kEndCapSquare
Squared endcap.
Definition: DbDatabase.h:219
OdDbDatabase::dimunit
int dimunit() const
OdDb::kSydney
@ kSydney
(GMT+10:00) Canberra, Melbourne, Sydney
Definition: DbDatabase.h:317
OdDb::MultiThreadedMode
MultiThreadedMode
Definition: OdaDefs.h:422
OdDbDimStyleTableRecord
Definition: DbDimStyleTableRecord.h:316
OdDb::kPrague
@ kPrague
(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
Definition: DbDatabase.h:280
OdDbDatabase::applyPartialUndo
void applyPartialUndo(OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
OdDbLayerFilter
Definition: DbLayerFilter.h:50
odSystemServices
TOOLKIT_EXPORT OdDbSystemServices * odSystemServices()
OdDb::kDarwin
@ kDarwin
(GMT+09:30) Darwin
Definition: DbDatabase.h:316
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
OdGsView
Definition: Gs.h:133
OdRxSystemServices::createFile
virtual OdStreamBufPtr createFile(const OdString &filename, Oda::FileAccessMode accessMode=Oda::kFileRead, Oda::FileShareMode shareMode=Oda::kShareDenyNo, Oda::FileCreationDisposition creationDisposition=Oda::kOpenExisting)
OdDbDatabase::findActiveLayout
virtual OdString findActiveLayout(bool allowModel) const
validateDrawingSignature
TOOLKIT_EXPORT OdResult validateDrawingSignature(const OdString &drawingFullPath, OdCryptoServices::OdSignatureVerificationResult &verificationResult, OdSignatureDescription &signatureDesc)
OdDbDatabase::setRetainOriginalThumbnailBitmap
void setRetainOriginalThumbnailBitmap(bool retain)
OdDbBlockTablePtr
OdSmartPtr< OdDbBlockTable > OdDbBlockTablePtr
Definition: DbDatabase.h:120
OdDb::kCaucasus
@ kCaucasus
(GMT+04:00) Baku, Tbilisi, Yerevan
Definition: DbDatabase.h:295
OdDb::kSantiago
@ kSantiago
(GMT-04:00) Santiago
Definition: DbDatabase.h:267
OdDb::kDltIgnore
@ kDltIgnore
Ignore duplicate Linetypes.
Definition: DbDatabase.h:239
OdDb::kUTC
@ kUTC
(UTC) Universal Coordinated Time
Definition: DbDatabase.h:275
OdDbLayerTable
Definition: DbLayerTable.h:57
OdDb::kGreenland
@ kGreenland
(GMT-03:00) Greenland
Definition: DbDatabase.h:271
OdDbDatabase::enableGraphicsFlush
void enableGraphicsFlush(bool bEnable)
DbObject.h
OdDb::kCollisionTypeSolid
@ kCollisionTypeSolid
The entity is involved in collision detection and acts as a solid object in it.
Definition: DbDatabase.h:362
OdDbDatabase::startTransaction
virtual void startTransaction()
OdDbRegAppTableRecordPtr
OdSmartPtr< OdDbRegAppTableRecord > OdDbRegAppTableRecordPtr
Definition: DbDatabase.h:168
OdPassword
OdString OdPassword
Definition: DbSecurity.h:52
OdDbDatabase::currentLayoutId
OdDbObjectId currentLayoutId() const
OdResBuf
Definition: ResBuf.h:112
OdDb::TimeZone
TimeZone
Definition: DbDatabase.h:249
OdDbDatabase::setPUCSBASEORG
void setPUCSBASEORG(OdDb::OrthographicView viewType, const OdGePoint3d &origin)
OdDb::kFiji
@ kFiji
(GMT+12:00) Fiji, Kamchatka, Marshall Is.
Definition: DbDatabase.h:324
OdDbRegAppTable
Definition: DbRegAppTable.h:47
odDbSaveLineTypeFile
TOOLKIT_EXPORT void odDbSaveLineTypeFile(OdDbDatabase &Db, OdStreamBuf &filename, OdDb::TextFileEncoding encode=OdDb::kTextFileEncodingDefault)
OdDbDatabase::getSectionViewStyleDictionaryId
OdDbObjectId getSectionViewStyleDictionaryId(bool createIfNotFound=true) const
odDbSetTDUSRTIMER
TOOLKIT_EXPORT void odDbSetTDUSRTIMER(OdDbDatabase &db, OdDbDate val)
OdDbDate
Definition: DbDate.h:45
OdDbDatabase::setDimstyleData
void setDimstyleData(const OdDbDimStyleTableRecord *pSource)
OdDb::kAtlanticCanada
@ kAtlanticCanada
(GMT-04:00) Atlantic Time (Canada)
Definition: DbDatabase.h:265
OdDbDatabase::isUndoBlockStarted
bool isUndoBlockStarted()
OdDbDatabase::findLayoutNamed
virtual OdDbObjectId findLayoutNamed(const OdString &layoutName) const
OdDbDatabase::writeFile
void writeFile(const OdString &filename, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
Definition: DbDatabase.h:896
OdDbDatabase::hasUndoMark
bool hasUndoMark() const
OdDbObjectId
Definition: DbObjectId.h:99
OdDbDatabase::getPUCSBASEORG
OdGePoint3d getPUCSBASEORG(OdDb::OrthographicView viewType) const
OdDb::kTextFileEncodingDefault
@ kTextFileEncodingDefault
Chooses the current system encoding automatically.
Definition: DbDatabase.h:391
OdCryptoServices::OdSignatureVerificationResult
OdSignatureVerificationResult
Definition: OdCryptoServices.h:110
OdDbDatabase::initialize
void initialize(OdDb::MeasurementValue measurement, bool bVisualStyles)
OdGsDCRect
Definition: GsDefs.h:111
OdDbDatabase::setThumbnailBitmap
void setThumbnailBitmap(const void *pBMPData, OdUInt32 dataLength)
OdDb::kAthens
@ kAthens
(GMT+02:00) Athens, Beirut, Istanbul, Minsk
Definition: DbDatabase.h:283
OdDb::kLoftNoTwist
@ kLoftNoTwist
No twisted lofting.
Definition: DbDatabase.h:334
OdDbDatabase::setDimstyleData
void setDimstyleData(OdDbObjectId objectId)
OdDbDatabase::getMLStyleDictionaryId
OdDbObjectId getMLStyleDictionaryId(bool createIfNotFound=true) const
OdDb::kLoftAllNormal
@ kLoftAllNormal
Normal of the lofted object surface is also the normal to all cross section curves.
Definition: DbDatabase.h:352
OdDb::kEndCapRound
@ kEndCapRound
Rounded endcap.
Definition: DbDatabase.h:217
OdDbDatabase::subWblockClone
OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *) const
OdDbDatabase::getDimstyleParentId
OdDbObjectId getDimstyleParentId(const OdDbObjectId &childStyle) const
OdDbDatabase::byLayerMaterialId
OdDbObjectId byLayerMaterialId() const
OdGsDevice
Definition: Gs.h:1061
OdDbDatabase::activeViewportId
OdDbObjectId activeViewportId() const
odDbSetTDUUPDATE
TOOLKIT_EXPORT void odDbSetTDUUPDATE(OdDbDatabase &db, OdDbDate val)
OdDb::kEastAfrica
@ kEastAfrica
(GMT+03:00) Nairobi
Definition: DbDatabase.h:292
OdDb::kEnglish
@ kEnglish
English system.
Definition: OdaDefs.h:438
CmColor.h
OdDbLinetypeTable
Definition: DbLinetypeTable.h:99
OdDbDatabase::hasRedo
bool hasRedo() const
OdCodePageId
OdCodePageId
Definition: OdCodePage.h:31
OdDbRegAppTablePtr
OdSmartPtr< OdDbRegAppTable > OdDbRegAppTablePtr
Definition: DbDatabase.h:144
OdDb::kJnStylFlat
@ kJnStylFlat
Flat.
Definition: DbDatabase.h:230
OdFileDependencyManager
Definition: OdFileDepMgr.h:77
OdDbDatabase::auditDatabase
void auditDatabase(OdDbAuditInfo *pAuditInfo)
OdDb::kLoftUseDraftAngles
@ kLoftUseDraftAngles
Body or surface of the lofted object are specified with angle and cone constraints of the first and l...
Definition: DbDatabase.h:353
OdDb::kVladivostock
@ kVladivostock
(GMT+10:00) Vladivostok
Definition: DbDatabase.h:321
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
OdDbDatabase::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbDatabase)
OdCodePage.h
OdDb::kMidAtlantic
@ kMidAtlantic
(GMT-02:00) Mid-Atlantic
Definition: DbDatabase.h:272
OdDbDatabase::initialize
void initialize(OdDb::MeasurementValue measurement=OdDb::kEnglish)
OdDb::kProxyShow
@ kProxyShow
Proxy images are shown.
Definition: DbDatabase.h:371
TD_PackPop.h
Oda::kFileRead
@ kFileRead
Definition: RxSystemServices.h:56
OdDbDatabase::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbDatabase::removeReactor
void removeReactor(OdDbDatabaseReactor *pReactor) const
OdDbTextStyleTable
Definition: DbTextStyleTable.h:57
OdDbDatabase::getRegAppTableId
OdDbObjectId getRegAppTableId() const
OdDb::kTrimFirst
@ kTrimFirst
The first fillet is trimmed.
Definition: DbDatabase.h:381
OdDb::kLoftPeriodic
@ kLoftPeriodic
Periodic lofting.
Definition: DbDatabase.h:338
OdDbDatabase::writeFile
void writeFile(OdStreamBuf *pStreamBuf, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
OdDbDatabase::removeTransactionReactor
virtual void removeTransactionReactor(OdDbTransactionReactor *reactor)
OdDb::kDltNotApplicable
@ kDltNotApplicable
Not Applicable.
Definition: DbDatabase.h:238
OdDbFiler
Definition: DbFiler.h:57
OdDbTextStyleTableRecord
Definition: DbTextStyleTableRecord.h:54
OdDbDatabase::getPaperSpaceId
OdDbObjectId getPaperSpaceId() const
OdDbDatabase::setSecurityParams
void setSecurityParams(const OdSecurityParams &secParams, bool setDbMod=true)
OdDb::kMonrovia
@ kMonrovia
(GMT) Casablanca, Monrovia
Definition: DbDatabase.h:277
RxObject.h
OdDb::kHawaii
@ kHawaii
(GMT-10:00) Hawaii
Definition: DbDatabase.h:252
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbDatabase::isPartiallyOpened
bool isPartiallyOpened() const
DbAnnotationScale.h
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbDatabase::getVisualStyleDictionaryId
OdDbObjectId getVisualStyleDictionaryId(bool createIfNotFound=true) const
OdDbBlockTable
Definition: DbBlockTable.h:72
OdDbDatabase::getMLeaderStyleDictionaryId
OdDbObjectId getMLeaderStyleDictionaryId(bool createIfNotFound=true) const
OdDbObjectContextManager
Definition: DbObjectContextManager.h:47
OdDb::EndCaps
EndCaps
Definition: DbDatabase.h:215
OdDb::kTrimBoth
@ kTrimBoth
Both fillets are trimmed.
Definition: DbDatabase.h:383
OdDb::kMexicoCity
@ kMexicoCity
(GMT-06:00) Guadalajara, Mexico City, Monterrey
Definition: DbDatabase.h:260
OdDbDatabase::getColorDictionaryId
OdDbObjectId getColorDictionaryId(bool createIfNotFound=true) const
OdDbDatabase::hasUndo
bool hasUndo() const
OdDbDatabase::getLayerAdskId
OdDbObjectId getLayerAdskId(OdDb::LayerAdskType layerType, bool createIfNotFound=false) const
OdDbDatabase::redo
void redo()
OdDb::kLoftNoParam
@ kLoftNoParam
No loft parameters.
Definition: DbDatabase.h:333
OdDb::kIslamabad
@ kIslamabad
(GMT+05:00) Islamabad, Karachi, Tashkent
Definition: DbDatabase.h:298
OdDbDatabase::getPlotSettingsDictionaryId
OdDbObjectId getPlotSettingsDictionaryId(bool createIfNotFound=true) const
OdDbDatabase::getLinetypeTableId
OdDbObjectId getLinetypeTableId() const
OdDbUCSTablePtr
OdSmartPtr< OdDbUCSTable > OdDbUCSTablePtr
Definition: DbDatabase.h:136
OdDbDatabase::getLinetypeByLayerId
OdDbObjectId getLinetypeByLayerId() const
getClassByName
TOOLKIT_EXPORT OdRxClass * getClassByName(OdDbDatabase *pDb, const OdString &className)
OdSignatureDescription
Definition: DbSecurity.h:88
OdDb::kAzores
@ kAzores
(GMT-01:00) Azores
Definition: DbDatabase.h:273
OdDbDatabase::setTablestyle
void setTablestyle(OdDbObjectId objectId)
OdDbDatabase::getTDCREATE
OdDbDate getTDCREATE() const
OdDb::kWellington
@ kWellington
(GMT+12:00) Auckland, Wellington
Definition: DbDatabase.h:323
OdDbDatabase::loadLineTypeFile
void loadLineTypeFile(const OdString &ltName, const OdString &filename, OdDb::DuplicateLinetypeLoading dlt=OdDb::kDltNotApplicable, OdDb::TextFileEncoding encode=OdDb::kTextFileEncodingDefault)
OdDb::DwgVersion
DwgVersion
Definition: OdaDefs.h:46
OdDb::kLoftDefault
@ kLoftDefault
Default lofting settings.
Definition: DbDatabase.h:339
OdDb::LoftNormalsType
LoftNormalsType
Definition: DbDatabase.h:346
OdDbDatabase::undo
void undo()
OdDb::kPerth
@ kPerth
(GMT+08:00) Perth
Definition: DbDatabase.h:311
OdDbDatabase::getPointCloudDictionaryId
OdDbObjectId getPointCloudDictionaryId() const
OdDbDatabase::getDimStyleTableId
OdDbObjectId getDimStyleTableId() const
OdDb::kBaghdad
@ kBaghdad
(GMT+03:00) Baghdad
Definition: DbDatabase.h:291
OdDbDatabase::getSysVar
OdResBufPtr getSysVar(const OdString &name) const
OdDbDatabase::getDimStyleStandardId
OdDbObjectId getDimStyleStandardId() const
OdToolKit.h
Oda::kFileWrite
@ kFileWrite
Definition: RxSystemServices.h:58
OdDb::kArizona
@ kArizona
(GMT-07:00) Arizona
Definition: DbDatabase.h:256
OdDbDatabase::insert
void insert(const OdGeMatrix3d &xfm, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
OdDb::kMidwayIsland
@ kMidwayIsland
(GMT-11:00) Midway Island, Samoa
Definition: DbDatabase.h:251
OdDbDatabase::auditInfo
OdDbAuditInfo * auditInfo() const
OdDbDatabase::isDatabaseConverting
bool isDatabaseConverting() const
OdDb::kLoftEndsNormal
@ kLoftEndsNormal
Normal of the lofted object surface is also the normal to both first and last cross section curves.
Definition: DbDatabase.h:351
OdDbDatabase::renameLayout
virtual void renameLayout(const OdString &oldName, const OdString &newName)
OdDb::kHarare
@ kHarare
(GMT+02:00) Harare, Pretoria
Definition: DbDatabase.h:286
OdString.h
OdRxClass
Definition: RxObject.h:865
OdDbDatabase::purge
virtual void purge(OdDbObjectIdArray &objectIds) const
OdDbDatabase::retainOriginalThumbnailBitmap
bool retainOriginalThumbnailBitmap() const
DbDate.h
OdDbDatabase::countLayouts
virtual int countLayouts() const
OdResBufPtr
OdSmartPtr< OdResBuf > OdResBufPtr
Definition: DbDatabase.h:99
OdDb::kJerusalem
@ kJerusalem
(GMT+02:00) Jerusalem
Definition: DbDatabase.h:288
OdDb::kParis
@ kParis
(GMT+01:00) Brussels, Copenhagen, Madrid, Paris
Definition: DbDatabase.h:279
OdDbDatabase::mleaderstyle
OdDbObjectId mleaderstyle() const
OdDbDatabase::isDatabaseLoading
bool isDatabaseLoading() const
OdDbDatabase::subGetClassID
OdResult subGetClassID(void *pClsid) const
OdDb::kSaskatchewan
@ kSaskatchewan
(GMT-06:00) Saskatchewan
Definition: DbDatabase.h:261
OdDb::DwgVersionToStr
TOOLKIT_EXPORT const char * DwgVersionToStr(DwgVersion ver)
OdDbUndoController
Definition: DbUndoController.h:57
OdDb::DuplicateLinetypeLoading
DuplicateLinetypeLoading
Definition: DbDatabase.h:237
OdDbDatabase::getActiveLayoutBTRId
virtual OdDbObjectId getActiveLayoutBTRId() const
OdDb::MaintReleaseVer
MaintReleaseVer
Definition: OdaDefs.h:107
OdDb::JoinStyle
JoinStyle
Definition: DbDatabase.h:226
OdDbDatabase::deepCloneObjects
void deepCloneObjects(const OdDbObjectIdArray &objectIds, OdDbObjectId ownerId, OdDbIdMapping &idMap, bool deferXlation=false)
OdSmartPtr< OdResBuf >
OdDbDatabase::formatter
virtual OdDbUnitsFormatter & formatter()
OdDbDatabase::setDimfit
void setDimfit(int val)
OdGePoint3d
Definition: GePoint3d.h:55
OdDbDatabase::getTableStyleDictionaryId
OdDbObjectId getTableStyleDictionaryId(bool createIfNotFound=true) const
OdDbUnitsFormatter
Definition: DbUnitsFormatter.h:37
OdDbRegAppTableRecord
Definition: DbRegAppTableRecord.h:43
Oda::kShareDenyReadWrite
@ kShareDenyReadWrite
Definition: RxSystemServices.h:65
OdDbDatabase::purge
virtual OdResult purge(OdDbObjectIdGraph &objectIds) const
OdDbDatabase::getTDUPDATE
OdDbDate getTDUPDATE() const
OdDbDatabase::getDetailViewStyleDictionaryId
OdDbObjectId getDetailViewStyleDictionaryId(bool createIfNotFound=true) const
OdDb::kCentralAmerica
@ kCentralAmerica
(GMT-06:00) Central America
Definition: DbDatabase.h:259
OdDb::kLayerSystemLights
@ kLayerSystemLights
System lights layer type.
Definition: DbDatabase.h:407
OdDb::kLoftSmooth
@ kLoftSmooth
Body or surface of the lofted object are specified with smooth lines between cross section curves.
Definition: DbDatabase.h:348
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDb::kHobart
@ kHobart
(GMT+10:00) Hobart
Definition: DbDatabase.h:320
OdDb::kEasternEurope
@ kEasternEurope
(GMT+02:00) Bucharest
Definition: DbDatabase.h:284
OdDbDatabase::setUndoMark
void setUndoMark()
OdDbDatabase::getMaterialDictionaryId
OdDbObjectId getMaterialDictionaryId(bool createIfNotFound=true) const
OdDb::kBerlin
@ kBerlin
(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Definition: DbDatabase.h:278
odDbSetUCSORG
TOOLKIT_EXPORT void odDbSetUCSORG(OdDbDatabase &db, OdGePoint3d val)
OdDbDatabase::readFile
void readFile(const OdString &filename, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyWrite, const OdPassword &password=OdPassword(), bool allowCPConversion=false)
Definition: DbDatabase.h:978
odDbSetUCSYDIR
TOOLKIT_EXPORT void odDbSetUCSYDIR(OdDbDatabase &db, OdGeVector3d val)
OdDbDatabase::isValidLineWeight
static bool isValidLineWeight(int weight)
OdDb::kGMT
@ kGMT
(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London
Definition: DbDatabase.h:276
OdDbDatabase::originalFileVersion
OdDb::DwgVersion originalFileVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbDatabase::getDimstyleChildData
OdResult getDimstyleChildData(const OdRxClass *pDimClass, OdDbDimStyleTableRecord *pRec, OdDbObjectId &style) const
OdDbDatabase::undoFiler
OdDbDwgFiler * undoFiler()
DbObjectId.h
OdDbDatabase::blockUndoRecording
void blockUndoRecording(bool bBegin)
OdDb::kRangoon
@ kRangoon
(GMT+06:30) Rangoon
Definition: DbDatabase.h:304
OdDbDatabase::setCurrentLayout
virtual void setCurrentLayout(const OdDbObjectId &layoutId)
OdDbDatabase::audit
void audit(OdDbAuditInfo *pAuditInfo)
OdDbDatabase::cannoscale
OdDbAnnotationScalePtr cannoscale() const
OdDbDictionary
Definition: DbDictionary.h:135
odDbSetPSTYLEMODE
TOOLKIT_EXPORT void odDbSetPSTYLEMODE(OdDbDatabase &db, bool val)
OdDbDatabase::version
OdDb::DwgVersion version(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbViewportTable
Definition: DbViewportTable.h:48
OdDbDatabase::setMultiThreadedMode
virtual void setMultiThreadedMode(OdDb::MultiThreadedMode)
OdDb::kBangkok
@ kBangkok
(GMT+07:00) Bangkok, Hanoi, Jakarta
Definition: DbDatabase.h:305
OdDb::kTrimNone
@ kTrimNone
No fillet is trimmed.
Definition: DbDatabase.h:380
OdDbHistoryManager
Definition: DbHistoryManager.h:44
SysVarDefs.h
OdDbDatabase::getUCSTableId
OdDbObjectId getUCSTableId() const
OdDb::kTextFileEncodingUTF32BE
@ kTextFileEncodingUTF32BE
UTF32 BigEndian.
Definition: DbDatabase.h:399
OdDb::CollisionType
CollisionType
Definition: DbDatabase.h:360
OdDb::kTextFileEncodingUTF32LE
@ kTextFileEncodingUTF32LE
UTF32 LittleEndian.
Definition: DbDatabase.h:398
OdDbDimStyleTable
Definition: DbDimStyleTable.h:45
OdDb::kJnStylNone
@ kJnStylNone
No style.
Definition: DbDatabase.h:227
OdDbObjectId::kNull
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
Definition: DbObjectId.h:118
OdDb::DwgVersionFromStr
TOOLKIT_EXPORT DwgVersion DwgVersionFromStr(const char *str)
OdDbDatabase::readFile
void readFile(OdStreamBuf *pStreamBuf, bool partialLoad=false, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword(), bool allowCPConversion=false)
OdDbDatabase::tablestyle
OdDbObjectId tablestyle() const
OdDbDatabase::restoreOriginalXrefSymbols
void restoreOriginalXrefSymbols()
OdDb::kTaipei
@ kTaipei
(GMT+08:00) Taipei
Definition: DbDatabase.h:309
OdDbLayoutManagerReactor
Definition: DbLayoutManager.h:51
odDbSetUCSXDIR
TOOLKIT_EXPORT void odDbSetUCSXDIR(OdDbDatabase &db, OdGeVector3d val)
OdDbDatabase::OdDbDatabase
OdDbDatabase()
OdDb::kTextFileEncodingANSI
@ kTextFileEncodingANSI
Forces ANSI character set encoding text writing.
Definition: DbDatabase.h:392
OdDbDatabase::approxNumObjects
OdInt32 approxNumObjects() const
OdDbDatabase::getDIMANNO
bool getDIMANNO() const
OdDbDatabase::sectionViewStyle
OdDbObjectId sectionViewStyle() const
odDbGetPreviewBitmap
TOOLKIT_EXPORT void odDbGetPreviewBitmap(OdStreamBuf *pStreamBuf, OdThumbnailImage *pPreview)
OdDbDatabase::classDxfName
const OdString classDxfName(const OdRxClass *pClass)
OdDbHostAppServices
Definition: DbHostAppServices.h:65
OdDb::kSingapore
@ kSingapore
(GMT+08:00) Kuala Lumpur, Singapore
Definition: DbDatabase.h:308
OdDbDatabase::getLinetypeContinuousId
OdDbObjectId getLinetypeContinuousId() const
OdDbDatabase::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbDatabase::updateExt
void updateExt(bool bExact=false)
OdThumbnailImage
Definition: ThumbnailImage.h:44
OdDbDatabase::handseed
OdDbHandle handseed() const
OdDbDatabase::isEMR
bool isEMR() const
odDbSaveMlineStyleFile
TOOLKIT_EXPORT void odDbSaveMlineStyleFile(OdDbDatabase &Db, OdStreamBuf &filename)
OdDbDatabase::startUndoRecord
void startUndoRecord()
OdDbDatabase::setUCSBASEORG
void setUCSBASEORG(OdDb::OrthographicView viewType, const OdGePoint3d &origin)
OdDbDatabase::getViewTableId
OdDbObjectId getViewTableId() const
OdDbDatabase::setCurrentUCS
void setCurrentUCS(const OdDbObjectId &ucsId)
TD_PackPush.h
OdDbAnnotationScale
Definition: DbAnnotationScale.h:52
OdDbDatabase::abortDeepClone
void abortDeepClone(OdDbIdMapping &idMap)
OdDbDatabase::securityParams
bool securityParams(OdSecurityParams &secParams) const
OdDb::kSarajevo
@ kSarajevo
(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb
Definition: DbDatabase.h:281
OdDbObject::m_pImpl
OdDbObjectImpl * m_pImpl
Definition: DbObject.h:1722
OdDbDatabase::appServices
OdDbHostAppServices * appServices() const
OdDbDatabase::getSectionManager
OdDbObjectId getSectionManager() const
OdDb::kKrasnoyarsk
@ kKrasnoyarsk
(GMT+07:00) Krasnoyarsk
Definition: DbDatabase.h:306
OdDb::kSeoul
@ kSeoul
(GMT+09:00) Seoul
Definition: DbDatabase.h:313
OdDbDatabase::getTextStyleTableId
OdDbObjectId getTextStyleTableId() const
OdDbDatabase::detailViewStyle
OdDbObjectId detailViewStyle() const
OdDb::kPacific
@ kPacific
(GMT-08:00) Pacific Time (US & Canada); Tijuana
Definition: DbDatabase.h:254
OdDbDatabase::getTextStyleStandardId
OdDbObjectId getTextStyleStandardId() const
OdDb::kBrasilia
@ kBrasilia
(GMT-03:00) Brasilia
Definition: DbDatabase.h:269
OdDb::kProxyNotShow
@ kProxyNotShow
Proxy images are not shown.
Definition: DbDatabase.h:370
OdDb::kTextFileEncodingUTF16
@ kTextFileEncodingUTF16
Chooses UTF16 endian automatically.
Definition: DbDatabase.h:394
OdDbDatabase::wblockCloneObjects
void wblockCloneObjects(const OdDbObjectIdArray &objectIds, OdDbObjectId ownerId, OdDbIdMapping &idMap, OdDb::DuplicateRecordCloning duplicateRecordCloning, bool deferXlation=false)
OdDb::kYakutsk
@ kYakutsk
(GMT+09:00) Yakutsk
Definition: DbDatabase.h:314
OdDbLinetypeTablePtr
OdSmartPtr< OdDbLinetypeTable > OdDbLinetypeTablePtr
Definition: DbDatabase.h:152
OdDbDatabase::getLayerTableId
OdDbObjectId getLayerTableId() const
OdDbLayout
Definition: DbLayout.h:48
OdDbDatabase::getViewportTableId
OdDbObjectId getViewportTableId() const
OdDbDatabase::createLayout
virtual OdDbObjectId createLayout(const OdString &layoutName, OdDbObjectId *pBlockTableRecId=0)
OdSecurityParamsPtr
OdSmartPtr< OdSecurityParams > OdSecurityParamsPtr
Definition: DbDatabase.h:178
OdDb::OrthographicView
OrthographicView
Definition: ViewportDefs.h:35
OdDbDictionaryPtr
OdSmartPtr< OdDbDictionary > OdDbDictionaryPtr
Definition: DbDatabase.h:108
OdDb::kLayerConstraints
@ kLayerConstraints
System constraints layer type.
Definition: DbDatabase.h:408
DimVarDefs.h
OdDbDatabase::setDetailViewStyle
void setDetailViewStyle(OdDbObjectId objectId)
OdSecurityParams
Definition: DbSecurity.h:61
OdDb::kAbuDhabi
@ kAbuDhabi
(GMT+04:00) Abu Dhabi, Muscat
Definition: DbDatabase.h:294
OdDbDatabase::thumbnailBitmap
const void * thumbnailBitmap(OdUInt32 &dataLength) const
OdDb::kTextFileEncodingUTF8
@ kTextFileEncodingUTF8
Uses UTF8 encoding for file writing.
Definition: DbDatabase.h:393
OdDbSpatialFilter
Definition: DbSpatialFilter.h:67
OdDbDatabase::setMLeaderstyle
void setMLeaderstyle(OdDbObjectId objectId)
OdDbEntity
Definition: DbEntity.h:90
OdDb::kWestCentralAfrica
@ kWestCentralAfrica
(GMT+01:00) West Central Africa
Definition: DbDatabase.h:282
OdDbDatabase::insert
OdDbObjectId insert(const OdString &sourceBlockName, const OdString &destinationBlockName, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
OdDb::kKathmandu
@ kKathmandu
(GMT+05:45) Kathmandu
Definition: DbDatabase.h:300
OdDb::kKabul
@ kKabul
(GMT+04:30) Kabul
Definition: DbDatabase.h:296
OdDbDatabase::getOdDbObjectId
OdDbObjectId getOdDbObjectId(const OdDbHandle &objHandle, bool createIfNotFound=false, OdUInt32 xRefId=0)
OdDbObjectContextManagerPtr
OdSmartPtr< OdDbObjectContextManager > OdDbObjectContextManagerPtr
Definition: DbDatabase.h:192
OdDb::kLoftAlignDirection
@ kLoftAlignDirection
Lofting alining in a specified direction.
Definition: DbDatabase.h:335
OdDb::kBogota
@ kBogota
(GMT-05:00) Bogota, Lima, Quito
Definition: DbDatabase.h:264
OdDb::kProxyBoundingBox
@ kProxyBoundingBox
Proxy images are shown as a bounding box.
Definition: DbDatabase.h:372
OdDb::kCentral
@ kCentral
(GMT-06:00) Central Time (US & Canada)
Definition: DbDatabase.h:258
OdDbDatabase::getNearestLineWeight
static OdDb::LineWeight getNearestLineWeight(int weight)
OdDb::kAlmaty
@ kAlmaty
(GMT+06:00) Almaty, Novosibirsk
Definition: DbDatabase.h:301
OdDb::kTextFileEncodingUTF16LE
@ kTextFileEncodingUTF16LE
UTF16 LittleEndian.
Definition: DbDatabase.h:395
OdStreamBuf
Definition: OdStreamBuf.h:67
OdDbDatabase::xrefBlockId
OdDbObjectId xrefBlockId() const
OdDbDatabase::release
void release()
OdDbDatabase::closeInput
void closeInput()
OdDbBlockTableRecord
Definition: DbBlockTableRecord.h:57
OdDb::kTextFileEncodingUTF32
@ kTextFileEncodingUTF32
Chooses UTF32 endian automatically.
Definition: DbDatabase.h:397
OdDbHandle
Definition: DbHandle.h:67
OdDb::LineWeight
LineWeight
Definition: OdaDefs.h:382
OdDbDatabase::getDimstyleChildId
OdDbObjectId getDimstyleChildId(const OdRxClass *pDimClass, const OdDbObjectId &parentStyle) const
OdDb::kTehran
@ kTehran
(GMT+03:30) Tehran
Definition: DbDatabase.h:293
OdDb::SaveType
SaveType
Definition: DbObject.h:150
OdDbDatabasePtr
OdSmartPtr< OdDbDatabase > OdDbDatabasePtr
Definition: DbDatabase.h:202
OdDbDatabase::setCurrentUCS
void setCurrentUCS(const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis)
OdDb::kIrkutsk
@ kIrkutsk
(GMT+08:00) Irkutsk, Ulaan Bataar
Definition: DbDatabase.h:310
OdDbDimStyleTablePtr
OdSmartPtr< OdDbDimStyleTable > OdDbDimStyleTablePtr
Definition: DbDatabase.h:148
OdDb
Definition: Db2dPolyline.h:50
OdDb::kTonga
@ kTonga
(GMT+13:00) Nuku'alofa
Definition: DbDatabase.h:325
OdDb::kLoftClose
@ kLoftClose
Closed lofting.
Definition: DbDatabase.h:337
OdDbDatabase::getRegAppAcadId
OdDbObjectId getRegAppAcadId() const
OdDbDatabase::getPlotStyleNameDictionaryId
OdDbObjectId getPlotStyleNameDictionaryId(bool createIfNotFound=true) const
OdDb::kRiyadh
@ kRiyadh
(GMT+03:00) Kuwait, Riyadh
Definition: DbDatabase.h:290
OdDbDatabase::multiThreadedMode
OdDb::MultiThreadedMode multiThreadedMode() const
OdDbDatabase::deleteLayout
virtual void deleteLayout(const OdString &layoutName)
OdDbDatabase::byBlockMaterialId
OdDbObjectId byBlockMaterialId() const
OdDbDatabase::getLayoutDictionaryId
OdDbObjectId getLayoutDictionaryId(bool createIfNotFound=true) const
OdDbDatabase::globalMaterialId
OdDbObjectId globalMaterialId() const
OdDbSymbolTable
Definition: DbSymbolTable.h:88
Oda::kShareDenyWrite
@ kShareDenyWrite
Definition: RxSystemServices.h:66
OdDb::kJnStylAngle
@ kJnStylAngle
Angle.
Definition: DbDatabase.h:229
fxSetHandseed
void TOOLKIT_EXPORT fxSetHandseed(OdDbDatabase *pDb, OdDbHandle handseed)
OdDbDatabase::wblock
OdDbDatabasePtr wblock(OdDbObjectId blockId)
OdDbDatabase::getModelSpaceId
OdDbObjectId getModelSpaceId() const
OdDbViewTable
Definition: DbViewTable.h:45
OdDb::kTextFileEncodingUTF16BE
@ kTextFileEncodingUTF16BE
UTF16 BigEndian.
Definition: DbDatabase.h:396
odDbSetPUCSXDIR
TOOLKIT_EXPORT void odDbSetPUCSXDIR(OdDbDatabase &db, OdGeVector3d val)
OdDbDatabase::addRef
void addRef()
OdDbDatabase::getLayerStateManager
OdDbLayerStateManager * getLayerStateManager() const
OdDb::kBrisbane
@ kBrisbane
(GMT+10:00) Brisbane
Definition: DbDatabase.h:319
OdDbBlockTableRecordPtr
OdSmartPtr< OdDbBlockTableRecord > OdDbBlockTableRecordPtr
Definition: DbDatabase.h:156
OdDbDatabase::wblock
OdDbDatabasePtr wblock()
OdDbDatabase::originalFileType
OdDb::SaveType originalFileType() const
OdDbDatabase::undoBack
void undoBack()
OdDb::kKolkata
@ kKolkata
(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi
Definition: DbDatabase.h:299
OdDbDatabase::setCannoscale
void setCannoscale(OdDbAnnotationScale *val)
OdDbDatabase::historyManager
OdDbHistoryManager * historyManager()
OdDbDatabase::save
void save(const OdString &filename, bool saveThumbnailImage=false)
OdDb::LoftParamType
LoftParamType
Definition: DbDatabase.h:332
OdDb::kNewfoundland
@ kNewfoundland
(GMT-03:30) Newfoundland and Labrador
Definition: DbDatabase.h:268
OdDbSymbolTablePtr
OdSmartPtr< OdDbSymbolTable > OdDbSymbolTablePtr
Definition: DbDatabase.h:116
OdDb::kDhaka
@ kDhaka
(GMT+06:00) Astana, Dhaka
Definition: DbDatabase.h:302
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDb::TextFileEncoding
TextFileEncoding
Definition: DbDatabase.h:390
OdDbDictionaryWithDefaultPtr
OdSmartPtr< OdDbDictionaryWithDefault > OdDbDictionaryWithDefaultPtr
Definition: DbDatabase.h:112
OdDbDatabase::endTransaction
virtual void endTransaction()
OdDbObjectIdGraph
Definition: DbObjectIdGraph.h:51
OdDb::kEndCapAngle
@ kEndCapAngle
Angled endcap.
Definition: DbDatabase.h:218
OdDbDatabase::dimfit
int dimfit() const
OdDbDatabase::clearUndo
void clearUndo()
OdDb::kCollisionTypeNone
@ kCollisionTypeNone
The entity is not involved in collision detection.
Definition: DbDatabase.h:361
OdDbAuditInfo
Definition: DbAudit.h:60
OdDbDatabase::getUNDOMARKS
int getUNDOMARKS() const
OdDbDatabase::getLayerDefpointsId
OdDbObjectId getLayerDefpointsId(bool createIfNotFound=false) const
OdDbDatabase::restoreForwardingXrefSymbols
void restoreForwardingXrefSymbols()
OdGsModel
Definition: GsModel.h:77
OdDb::kIndiana
@ kIndiana
(GMT-05:00) Indiana (East)
Definition: DbDatabase.h:263
OdDb::kAdelaide
@ kAdelaide
(GMT+09:30) Adelaide
Definition: DbDatabase.h:315
OdDbLinetypeTableRecordPtr
OdSmartPtr< OdDbLinetypeTableRecord > OdDbLinetypeTableRecordPtr
Definition: DbDatabase.h:176
odDbSetPUCSYDIR
TOOLKIT_EXPORT void odDbSetPUCSYDIR(OdDbDatabase &db, OdGeVector3d val)
OdDbDatabase::originalFileSavedByVersion
OdDb::DwgVersion originalFileSavedByVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbDatabase::newRegApp
bool newRegApp(const OdString &regAppName)
OdDbDatabase::save
void save(OdStreamBuf *pStreamBuf, bool saveThumbnailImage=false)
getGapsAmount
TOOLKIT_EXPORT OdUInt32 getGapsAmount(OdDbDatabase *pDb)
OdDb::kJnStylRound
@ kJnStylRound
Round.
Definition: DbDatabase.h:228
OdDbDatabase::fileDependencyManager
OdFileDependencyManagerPtr fileDependencyManager() const
RxObjectImpl.h
OdDb::kLoftLastNormal
@ kLoftLastNormal
Normal of the lofted object surface is the normal to the last cross section curve as well.
Definition: DbDatabase.h:350
OdDb::kLoftSimplify
@ kLoftSimplify
Simplifyed lofting.
Definition: DbDatabase.h:336
OdDb::kDltReplace
@ kDltReplace
Replace duplicate Linetypes.
Definition: DbDatabase.h:240
OdDb::kInternationalDateLine
@ kInternationalDateLine
(GMT-12:00) International Date Line West
Definition: DbDatabase.h:250
OdDb::DuplicateRecordCloning
DuplicateRecordCloning
Definition: DbObject.h:126
OdDbDatabase::getFilename
virtual OdString getFilename() const
OdDb::FilletTrimMode
FilletTrimMode
Definition: DbDatabase.h:379
DbSystemServices.h
OdDbUCSTable
Definition: DbUCSTable.h:57
OdDbDatabase::wblock
OdDbDatabasePtr wblock(const OdDbObjectIdArray &outObjIds, const OdGePoint3d &basePoint)
OdDbDatabase::getLinetypeByBlockId
OdDbObjectId getLinetypeByBlockId() const
OdDbDatabase::~OdDbDatabase
virtual ~OdDbDatabase()
OdDbDatabaseReactor
Definition: DbDatabaseReactor.h:49
ViewportDefs.h
OdDb::kTokyo
@ kTokyo
(GMT+09:00) Osaka, Sapporo, Tokyo
Definition: DbDatabase.h:312
OdDb::kEastern
@ kEastern
(GMT-05:00) Eastern Time (US & Canada)
Definition: DbDatabase.h:262
Oda::FileShareMode
FileShareMode
Definition: RxSystemServices.h:64
OdDbDatabase::lastSavedAsVersion
OdDb::DwgVersion lastSavedAsVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDb::kBeijing
@ kBeijing
(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Definition: DbDatabase.h:307
OdDbDatabase::addOdDbObject
OdDbObjectId addOdDbObject(OdDbObject *pObject, OdDbObjectId ownerId=OdDbObjectId::kNull, OdDbHandle handle=0)
OdDbIdMapping
Definition: DbIdMapping.h:238
OdDb::kCairo
@ kCairo
(GMT+02:00) Cairo
Definition: DbDatabase.h:285
OdFileDependencyManagerPtr
OdSmartPtr< OdFileDependencyManager > OdFileDependencyManagerPtr
Definition: DbDatabase.h:185
odDbSetDWGCODEPAGE
TOOLKIT_EXPORT void odDbSetDWGCODEPAGE(OdDbDatabase &db, OdCodePageId val)
OdDbDimStyleTableRecordPtr
OdSmartPtr< OdDbDimStyleTableRecord > OdDbDimStyleTableRecordPtr
Definition: DbDatabase.h:160
OdDbLinetypeTableRecord
Definition: DbLinetypeTableRecord.h:56
OdDb::kCapeVerde
@ kCapeVerde
(GMT-01:00) Cape Verde Islands
Definition: DbDatabase.h:274
OdDbDatabase::setDimunit
void setDimunit(int val)
OdDbDatabase::resetTimes
void resetTimes()
OdDbObject
Definition: DbObject.h:211
OdDb::kMountain
@ kMountain
(GMT-07:00) Mountain Time (US & Canada)
Definition: DbDatabase.h:255
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDb::kTrimSecond
@ kTrimSecond
The second fillet is trimmed.
Definition: DbDatabase.h:382
OdDb::kBuenosAires
@ kBuenosAires
(GMT-03:00) Buenos Aires, Georgetown
Definition: DbDatabase.h:270
OdDbDatabase::objectContextManager
OdDbObjectContextManagerPtr objectContextManager() const
OdDbLayerTablePtr
OdSmartPtr< OdDbLayerTable > OdDbLayerTablePtr
Definition: DbDatabase.h:124
OdDbDatabase::setCurrentUCS
void setCurrentUCS(OdDb::OrthographicView viewType)
Oda::FileAccessMode
FileAccessMode
Definition: RxSystemServices.h:55
OdDbDatabase::setSysVar
void setSysVar(const OdString &name, const OdResBuf *pValue)
Oda::kCreateAlways
@ kCreateAlways
Definition: RxSystemServices.h:75
OdDb::kLoftFirstNormal
@ kLoftFirstNormal
Normal of the lofted object surface is the normal to the first cross section curve as well.
Definition: DbDatabase.h:349
OdDbDatabase::getUCSBASEORG
OdGePoint3d getUCSBASEORG(OdDb::OrthographicView viewType) const
OdDb::LayerAdskType
LayerAdskType
Definition: DbDatabase.h:406
OdDbDatabase::getDimstyleData
void getDimstyleData(OdDbDimStyleTableRecord *pDestination) const
OdDb::kMazatlan
@ kMazatlan
(GMT-07:00) Chihuahua, La Paz, Mazatlan
Definition: DbDatabase.h:257
OdDbDatabase::addTransactionReactor
virtual void addTransactionReactor(OdDbTransactionReactor *reactor)
OdDbDatabase::countHardReferences
virtual void countHardReferences(const OdDbObjectIdArray &objectIds, OdUInt32 *counts) const
OdDb::kEndCapNone
@ kEndCapNone
No endcap.
Definition: DbDatabase.h:216
OdDb::kAlaska
@ kAlaska
(GMT-09:00) Alaska
Definition: DbDatabase.h:253
OdDbDatabase::getNamedObjectsDictionaryId
OdDbObjectId getNamedObjectsDictionaryId() const
OdDbDatabase::insert
OdDbObjectId insert(const OdString &destinationBlockName, OdDbDatabase *pSource, bool preserveSourceDatabase=true)
OdDbTextStyleTablePtr
OdSmartPtr< OdDbTextStyleTable > OdDbTextStyleTablePtr
Definition: DbDatabase.h:128
OdDb::kCaracas
@ kCaracas
(GMT-04:00) Caracas, La Paz
Definition: DbDatabase.h:266
OdDbDatabase::getLayerZeroId
OdDbObjectId getLayerZeroId() const
OdGePoint2d
Definition: GePoint2d.h:60
OdDb::ProxyImage
ProxyImage
Definition: DbDatabase.h:369
OdDbDatabase::isMultiThreadedMode
bool isMultiThreadedMode() const