CFx SDK Documentation  2020SP3
DbFiler.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 #ifndef FILER_INCLUDED
25 #define FILER_INCLUDED
26 
27 #include <float.h>
28 #include "RxObject.h"
29 #include "OdStreamBuf.h"
30 #include "DbObjectId.h"
31 
32 class OdString;
33 class OdGeScale3d;
34 class OdBinaryData;
35 class OdDbFilerController;
36 class OdDbDatabase;
37 class OdResBuf;
39 class OdDbObjectId;
40 class OdGePoint2d;
41 class OdGePoint3d;
42 class OdGeVector2d;
43 class OdGeVector3d;
44 class OdDbAuditInfo;
45 
46 #include "TD_PackPush.h"
47 
57 {
58 public:
59  OdDbFiler() {}
60 
62 
70  virtual OdResult filerStatus() const;
71 
78  virtual void resetFilerStatus();
79 
80  enum FilerType
81  {
82  kFileFiler = 0, // .dwg and .dxf files
83  kCopyFiler = 1,
84  kUndoFiler = 2,
85  kBagFiler = 3,
86  kIdXlateFiler = 4,
87  kPageFiler = 5,
88  kDeepCloneFiler = 6,
89  kIdFiler = 7,
90  kPurgeFiler = 8,
91  kWblockCloneFiler = 9
92  };
93 
97  virtual FilerType filerType() const = 0;
98 
102  virtual OdDbDatabase* database() const;
103 
113  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
114 
119 
125  virtual void setController(
126  OdDbFilerController * pFilerController);
127 
131  virtual OdDbFilerController* controller() const;
132 };
133 
135 
145 {
146 public:
150  typedef enum
151  {
152  Unknown = 0,
153  Name = 1,
154  String = 2,
155  Bool = 3,
156  Integer8 = 4,
157  Integer16 = 5,
158  Integer32 = 6,
159  Double = 7,
160  Angle = 8,
161  Point = 9,
162  BinaryChunk = 10,
163  LayerName = 11,
164  Handle = 12,
165  ObjectId = 13,
170  Integer64 = 18
171  } Type;
172 
182  static Type _getType( int code );
183 };
184 
194 {
195 public:
198 
219  virtual void seek(
220  OdInt64 offset,
221  OdDb::FilerSeekType seekType);
222 
230  virtual OdUInt64 tell() const;
231 
242  virtual int precision() const;
243 
253  virtual void setPrecision(
254  int decimalDigits);
255 
259  enum
260  {
261  kDfltPrec = -1,
262  kMaxPrec = DBL_DIG + 1
263  };
264 
268  virtual void writeXDataStart();
269 
274  virtual bool includesDefaultValues() const;
275 
292  virtual bool atEOF();
293 
307  virtual bool atEndOfObject();
308 
316  virtual bool atExtendedData();
317 
330  virtual bool atSubclassData(
331  const OdString& subClassName);
332 
343  virtual bool atEmbeddedObjectStart();
344 
352  virtual int nextItem();
353 
357  virtual OdResBufPtr nextRb();
358 
363  virtual void writeRb(
364  const OdResBuf* pRb);
365 
373  virtual void pushBackItem();
374 
380  virtual void rdString(
381  OdString &value) = 0;
382 
386  virtual bool rdBool() = 0;
387 
391  virtual OdInt8 rdInt8() = 0;
392 
396  virtual OdInt16 rdInt16() = 0;
397 
401  virtual OdInt32 rdInt32() = 0;
402 
406  virtual OdInt64 rdInt64() = 0;
407 
411  virtual OdUInt8 rdUInt8() = 0;
412 
416  virtual OdUInt16 rdUInt16() = 0;
417 
421  virtual OdUInt32 rdUInt32() = 0;
422 
426  virtual OdUInt64 rdUInt64() = 0;
427 
431  virtual OdDbHandle rdHandle() = 0;
432 
436  virtual OdDbObjectId rdObjectId() = 0;
437 
441  virtual double rdAngle() = 0;
442 
446  virtual double rdDouble() = 0;
447 
452  virtual void rdPoint2d(
453  OdGePoint2d& value) = 0;
454 
459  virtual void rdPoint3d(
460  OdGePoint3d& value) = 0;
461 
466  virtual void rdVector2d(
467  OdGeVector2d& value) = 0;
468 
473  virtual void rdVector3d(
474  OdGeVector3d& value) = 0;
475 
480  virtual void rdScale3d(
481  OdGeScale3d& value) = 0;
482 
488  virtual void rdBinaryChunk(
489  OdBinaryData& value) = 0;
490 
495  virtual void copyItem(
496  OdDbDxfFiler * pSource);
497 
503  virtual void wrName(
504  int groupCode,
505  const OdString& value) = 0;
506 
512  virtual void wrString(
513  int groupCode,
514  const OdString& value) = 0;
515 
527  int groupCode,
528  const OdString& value);
529 
536  const OdString &value);
537 
542 
548  virtual void wrBool(
549  int groupCode,
550  bool value) = 0;
551 
563  void wrBoolOpt(
564  int groupCode,
565  bool value,
566  bool defaultValue);
567 
573  virtual void wrInt8(
574  int groupCode,
575  OdInt8 value) = 0;
576 
588  void wrInt8Opt(
589  int groupCode,
590  OdInt8 value,
591  OdInt8 defaultValue);
592 
598  virtual void wrUInt8(
599  int groupCode,
600  OdUInt8 value) = 0;
613  int groupCode,
614  OdUInt8 value,
615  OdUInt8 defaultValue);
616 
622  virtual void wrInt16(
623  int groupCode,
624  OdInt16 value) = 0;
625 
638  int groupCode,
639  OdInt16 value,
640  OdInt16 defaultValue);
641 
647  virtual void wrUInt16(
648  int groupCode,
649  OdUInt16 value) = 0;
650 
663  int groupCode,
664  OdUInt16 value,
665  OdUInt16 defaultValue);
666 
672  virtual void wrInt32(
673  int groupCode,
674  OdInt32 value) = 0;
675 
688  int groupCode,
689  OdInt32 value,
690  OdInt32 defaultValue);
691 
697  virtual void wrUInt32(
698  int groupCode,
699  OdUInt32 value) = 0;
700 
713  int groupCode,
714  OdUInt32 value,
715  OdUInt32 defaultValue);
716 
722  virtual void wrInt64(
723  int groupCode,
724  OdInt64 value) = 0;
725 
738  int groupCode,
739  OdInt64 value,
740  OdInt64 defaultValue);
741 
747  virtual void wrUInt64(
748  int groupCode,
749  OdUInt64 value) = 0;
750 
763  int groupCode,
764  OdUInt64 value,
765  OdUInt64 defaultValue);
766 
772  virtual void wrHandle(
773  int groupCode,
774  OdDbHandle value) = 0;
775 
781  virtual void wrObjectId(
782  int groupCode,
783  OdDbObjectId value) = 0;
784 
797  int groupCode,
799 
806  virtual void wrAngle(
807  int groupCode,
808  double value,
809  int precision = kDfltPrec) = 0;
810 
824  int groupCode,
825  double value,
826  double defaultValue = 0.,
827  int precision = kDfltPrec);
828 
835  virtual void wrDouble(
836  int groupCode,
837  double value,
838  int precision = kDfltPrec) = 0;
839 
853  int groupCode,
854  double value,
855  double defaultValue = 0.,
856  int precision = kDfltPrec);
857 
864  virtual void wrPoint2d(
865  int groupCode,
866  const OdGePoint2d& value,
867  int precision = kDfltPrec) = 0;
868 
882  int groupCode,
883  const OdGePoint2d& value,
884  const OdGePoint2d& defaultValue,
885  int precision = kDfltPrec);
886 
893  virtual void wrPoint3d(
894  int groupCode,
895  const OdGePoint3d& value,
896  int precision = kDfltPrec) = 0;
897 
911  int groupCode,
912  const OdGePoint3d& value,
913  const OdGePoint3d& defaultValue,
914  int precision = kDfltPrec);
915 
922  virtual void wrVector2d(
923  int groupCode,
924  const OdGeVector2d& value,
925  int precision = kDfltPrec) = 0;
926 
940  int groupCode,
941  const OdGeVector2d& value,
942  const OdGeVector2d& defaultValue,
943  int precision = kDfltPrec);
944 
951  virtual void wrVector3d(
952  int groupCode,
953  const OdGeVector3d& value,
954  int precision = kDfltPrec) = 0;
955 
969  int groupCode,
970  const OdGeVector3d& value,
971  const OdGeVector3d& defaultValue,
972  int precision = kDfltPrec);
973 
980  virtual void wrScale3d(
981  int groupCode,
982  const OdGeScale3d& value,
983  int precision = kDfltPrec) = 0;
984 
991  virtual void wrBinaryChunk(
992  int groupCode,
993  const OdUInt8* buffer,
994  OdUInt32 numBytes) = 0;
995 
1002  int groupCode,
1003  const OdBinaryData& value);
1004 };
1009 
1017 {
1018 public:
1019  OdError_DwgObjectImproperlyRead() : OdError(eDwgObjectImproperlyRead){}
1020 };
1021 
1031 {
1032 public:
1034 
1036 
1053  virtual void seek(
1054  OdInt64 offset,
1055  OdDb::FilerSeekType seekType) = 0;
1056 
1060  virtual OdUInt64 tell() const = 0;
1061 
1065  virtual bool rdBool() = 0;
1066 
1071  virtual OdString rdString() = 0;
1072 
1073 
1079  virtual void rdBytes(
1080  void* buffer,
1081  OdUInt32 numBytes) = 0;
1082 
1083 
1087  virtual OdInt8 rdInt8() = 0;
1088 
1092  virtual OdUInt8 rdUInt8() = 0;
1093 
1097  virtual OdInt16 rdInt16() = 0;
1098 
1102  virtual OdInt32 rdInt32() = 0;
1103 
1107  virtual OdInt64 rdInt64() = 0;
1108 
1112  virtual void* rdAddress();
1113 
1117  virtual double rdDouble() = 0;
1118 
1122  virtual OdDbHandle rdDbHandle() = 0;
1123 
1128 
1133 
1138 
1143 
1147  virtual OdGePoint2d rdPoint2d() = 0;
1148 
1152  virtual OdGePoint3d rdPoint3d() = 0;
1153 
1157  virtual OdGeVector2d rdVector2d() = 0;
1158 
1162  virtual OdGeVector3d rdVector3d() = 0;
1163 
1167  virtual OdGeScale3d rdScale3d() = 0;
1168 
1173  virtual void wrBool(
1174  bool value) = 0;
1175 
1180  virtual void wrString(
1181  const OdString &value) = 0;
1182 
1188  virtual void wrBytes(
1189  const void* buffer,
1190  OdUInt32 numBytes) = 0;
1191 
1196  virtual void wrInt8(
1197  OdInt8 value) = 0;
1198 
1203  virtual void wrUInt8(
1204  OdUInt8 value) = 0;
1205 
1210  virtual void wrInt16(
1211  OdInt16 value) = 0;
1212 
1217  virtual void wrInt32(
1218  OdInt32 value) = 0;
1219 
1224  virtual void wrInt64(
1225  OdInt64 value) = 0;
1226 
1231  virtual void wrAddress(
1232  const void* value);
1233 
1238  virtual void wrDouble(double value) = 0;
1239 
1244  virtual void wrDbHandle(
1245  const OdDbHandle& value) = 0;
1246 
1251  virtual void wrSoftOwnershipId(
1252  const OdDbObjectId& value) = 0;
1253 
1258  virtual void wrHardOwnershipId(
1259  const OdDbObjectId& value) = 0;
1260 
1265  virtual void wrSoftPointerId(
1266  const OdDbObjectId& value) = 0;
1267 
1272  virtual void wrHardPointerId(
1273  const OdDbObjectId& value) = 0;
1274 
1279  virtual void wrPoint2d(
1280  const OdGePoint2d& value) = 0;
1281 
1286  virtual void wrPoint3d(
1287  const OdGePoint3d& value) = 0;
1288 
1293  virtual void wrVector2d(
1294  const OdGeVector2d& value) = 0;
1295 
1300  virtual void wrVector3d(
1301  const OdGeVector3d& value) = 0;
1302 
1307  virtual void wrScale3d(
1308  const OdGeScale3d& value) = 0;
1316  virtual bool usesReferences() const;
1317 
1322 };
1323 
1328 
1329 
1339 {
1340 public:
1341  OdIdFiler() : m_pController(NULL) {}
1342 
1343  void seek(
1344  OdInt64 offset,
1345  OdDb::FilerSeekType seekType);
1346 
1347  OdUInt64 tell() const;
1348 
1350 
1352 
1354 
1356  OdDb::MaintReleaseVer* pMaintReleaseVer = 0) const;
1357 
1358  bool rdBool();
1359 
1361 
1362  void rdBytes(
1363  void* buffer,
1364  OdUInt32 numBytes);
1365 
1371  double rdDouble();
1373 
1378 
1384 
1385  void wrBool(
1386  bool value);
1387 
1388  void wrString(
1389  const OdString &value);
1390 
1391  void wrBytes(
1392  const void* buffer,
1393  OdUInt32 numBytes);
1394 
1395  void wrInt8(
1396  OdInt8 value);
1397  void wrUInt8(
1398  OdUInt8 value);
1399  void wrInt16(
1400  OdInt16 value);
1401  void wrInt32(
1402  OdInt32 value);
1403  void wrInt64(
1404  OdInt64 value);
1405  void wrDouble(
1406  double value);
1408  const OdDbHandle& value);
1409 
1411  const OdGePoint2d& value);
1413  const OdGePoint3d& value);
1415  const OdGeVector2d& value);
1417  const OdGeVector3d& value);
1419  const OdGeScale3d& value);
1420 
1422  OdDbFilerController* pFilerController) { m_pController = pFilerController; }
1423  OdDbFilerController* controller() const { return m_pController; }
1424 private:
1425  OdDbFilerController* m_pController;
1426 };
1427 
1428 #include "TD_PackPop.h"
1429 
1430 #endif // FILER_INCLUDED
1431 
OdResult
OdResult
Definition: OdResult.h:29
OdDbFiler::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbFiler)
OdDbDxfFiler::rdVector2d
virtual void rdVector2d(OdGeVector2d &value)=0
OdDbDxfFiler::rdInt32
virtual OdInt32 rdInt32()=0
OdPdfPublish::Action::Type
Type
Definition: PdfPublishCommon.h:444
OdGeVector3d
Definition: GeVector3d.h:54
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
NULL
#define NULL
Definition: GsProperties.h:177
OdResBufPtr
OdSmartPtr< OdResBuf > OdResBufPtr
Definition: DbFiler.h:37
OdDbDwgFiler::wrInt32
virtual void wrInt32(OdInt32 value)=0
OdDbDwgFiler::wrVector3d
virtual void wrVector3d(const OdGeVector3d &value)=0
OdIdFiler::rdDbHandle
OdDbHandle rdDbHandle()
OdUInt8
unsigned char OdUInt8
Definition: OdPlatformSettings.h:759
OdIdFiler::wrBool
void wrBool(bool value)
OdDbFiler::filerType
virtual FilerType filerType() const =0
OdDbDwgFiler::wrPoint2d
virtual void wrPoint2d(const OdGePoint2d &value)=0
OdIdFiler::wrInt32
void wrInt32(OdInt32 value)
OdDbDwgFiler::wrUInt8
virtual void wrUInt8(OdUInt8 value)=0
OdDbDxfFiler::rdUInt16
virtual OdUInt16 rdUInt16()=0
OdDbDwgFiler::rdUInt8
virtual OdUInt8 rdUInt8()=0
OdDbDxfFiler::wrAngle
virtual void wrAngle(int groupCode, double value, int precision=kDfltPrec)=0
OdDbDwgFiler::wrAddress
virtual void wrAddress(const void *value)
OdDbDxfFiler::wrInt64Opt
void wrInt64Opt(int groupCode, OdInt64 value, OdInt64 defaultValue)
OdDbDxfFiler::rdVector3d
virtual void rdVector3d(OdGeVector3d &value)=0
OdIdFiler::wrInt8
void wrInt8(OdInt8 value)
OdIdFiler::setController
void setController(OdDbFilerController *pFilerController)
Definition: DbFiler.h:1421
OdInt64
Definition: Int64.h:43
OdDbDwgFilerPtr
OdSmartPtr< OdDbDwgFiler > OdDbDwgFilerPtr
Definition: DbFiler.h:1327
OdDbDxfFiler::wrName
virtual void wrName(int groupCode, const OdString &value)=0
OdDbDxfFiler::wrUInt8Opt
void wrUInt8Opt(int groupCode, OdUInt8 value, OdUInt8 defaultValue)
OdDbDxfFiler::rdPoint2d
virtual void rdPoint2d(OdGePoint2d &value)=0
OdIdFiler::rdVector2d
OdGeVector2d rdVector2d()
OdDbDxfFilerPtr
OdSmartPtr< OdDbDxfFiler > OdDbDxfFilerPtr
Definition: DbFiler.h:1008
OdDbDxfFiler::rdInt16
virtual OdInt16 rdInt16()=0
OdIdFiler::wrDbHandle
void wrDbHandle(const OdDbHandle &value)
OdDbDxfFiler::rdBool
virtual bool rdBool()=0
OdIdFiler::rdSoftOwnershipId
OdDbObjectId rdSoftOwnershipId()
OdDbDxfFiler::wrInt8Opt
void wrInt8Opt(int groupCode, OdInt8 value, OdInt8 defaultValue)
OdTf::SoftPointerId
@ SoftPointerId
Definition: Tf.h:406
OdResBuf
Definition: ResBuf.h:112
OdDbDxfFiler::rdHandle
virtual OdDbHandle rdHandle()=0
OdDbDxfFiler::wrUInt64
virtual void wrUInt64(int groupCode, OdUInt64 value)=0
OdDbFiler::FilerType
FilerType
Definition: DbFiler.h:81
buffer
GLuint buffer
Definition: gles2_ext.h:178
OdBinaryData
Definition: OdBinaryData.h:42
OdDbDxfFiler::rdScale3d
virtual void rdScale3d(OdGeScale3d &value)=0
OdDbDxfFiler::wrEmbeddedObjectStart
void wrEmbeddedObjectStart()
precision
GLenum GLint GLint * precision
Definition: gles2_ext.h:563
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
OdDbDwgFiler::wrInt16
virtual void wrInt16(OdInt16 value)=0
OdDbDxfFiler::writeRb
virtual void writeRb(const OdResBuf *pRb)
OdDbDwgFiler::rdString
virtual OdString rdString()=0
OdDbDxfFiler::setPrecision
virtual void setPrecision(int decimalDigits)
OdGeScale3d
Definition: GeScale3d.h:47
OdDbDxfFiler::wrString
virtual void wrString(int groupCode, const OdString &value)=0
OdDbDxfFiler::atEOF
virtual bool atEOF()
OdDbDwgFiler::seek
virtual void seek(OdInt64 offset, OdDb::FilerSeekType seekType)=0
OdDbDxfFiler::wrPoint3dOpt
void wrPoint3dOpt(int groupCode, const OdGePoint3d &value, const OdGePoint3d &defaultValue, int precision=kDfltPrec)
OdDbDwgFiler::wrDouble
virtual void wrDouble(double value)=0
OdDbDwgFiler::rdDouble
virtual double rdDouble()=0
OdIdFiler::rdInt8
OdInt8 rdInt8()
OdDbDxfFiler::rdObjectId
virtual OdDbObjectId rdObjectId()=0
OdDbDxfFiler::rdUInt32
virtual OdUInt32 rdUInt32()=0
TD_PackPop.h
OdDbDxfFiler::rdUInt64
virtual OdUInt64 rdUInt64()=0
OdTf::Handle
@ Handle
Definition: Tf.h:403
OdDbDwgFiler::wrDbHandle
virtual void wrDbHandle(const OdDbHandle &value)=0
OdDbDxfFiler::rdAngle
virtual double rdAngle()=0
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdIdFiler::resetFilerStatus
void resetFilerStatus()
OdDbFiler
Definition: DbFiler.h:57
OdDb::FilerSeekType
FilerSeekType
Definition: OdStreamBuf.h:49
OdDbDwgFiler::rdVector2d
virtual OdGeVector2d rdVector2d()=0
RxObject.h
OdDbDxfFiler::atExtendedData
virtual bool atExtendedData()
OdIdFiler::rdInt16
OdInt16 rdInt16()
OdIdFiler::seek
void seek(OdInt64 offset, OdDb::FilerSeekType seekType)
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbDwgFiler::wrSoftPointerId
virtual void wrSoftPointerId(const OdDbObjectId &value)=0
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdDbDwgFiler::wrHardPointerId
virtual void wrHardPointerId(const OdDbObjectId &value)=0
OdDbDxfFiler::wrAngleOpt
void wrAngleOpt(int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
OdTf::SoftOwnershipId
@ SoftOwnershipId
Definition: Tf.h:404
OdDbDwgFiler::wrPoint3d
virtual void wrPoint3d(const OdGePoint3d &value)=0
OdDbDwgFiler::rdHardPointerId
virtual OdDbObjectId rdHardPointerId()=0
OdIdFiler::rdSoftPointerId
OdDbObjectId rdSoftPointerId()
OdDbDxfFiler::wrDouble
virtual void wrDouble(int groupCode, double value, int precision=kDfltPrec)=0
OdDb::DwgVersion
DwgVersion
Definition: OdaDefs.h:46
OdDb::ReferenceType
ReferenceType
Definition: DbObjectId.h:62
OdDbDxfFiler::wrInt16
virtual void wrInt16(int groupCode, OdInt16 value)=0
OdDbDxfFiler::wrBool
virtual void wrBool(int groupCode, bool value)=0
OdIdFiler::wrVector3d
void wrVector3d(const OdGeVector3d &value)
OdDbDxfFiler::rdInt64
virtual OdInt64 rdInt64()=0
OdDbFiler::filerStatus
virtual OdResult filerStatus() const
OdStreamBuf.h
OdDbDwgFiler::rdAddress
virtual void * rdAddress()
OdIdFiler::rdScale3d
OdGeScale3d rdScale3d()
OdDxfCode
Definition: DbFiler.h:145
OdDbDxfFiler::wrDoubleOpt
void wrDoubleOpt(int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
OdDbDxfFiler::wrStringOpt
void wrStringOpt(int groupCode, const OdString &value)
OdDb::MaintReleaseVer
MaintReleaseVer
Definition: OdaDefs.h:107
OdDbDxfFiler::wrInt64
virtual void wrInt64(int groupCode, OdInt64 value)=0
OdSmartPtr< OdResBuf >
OdDbDwgFiler::rdVector3d
virtual OdGeVector3d rdVector3d()=0
OdIdFiler::tell
OdUInt64 tell() const
OdIdFiler::OdIdFiler
OdIdFiler()
Definition: DbFiler.h:1341
OdDbDxfFiler::wrBinaryChunk
void wrBinaryChunk(int groupCode, const OdBinaryData &value)
OdGePoint3d
Definition: GePoint3d.h:55
OdDbDwgFiler::rdDbHandle
virtual OdDbHandle rdDbHandle()=0
OdDbDxfFiler::wrVector2d
virtual void wrVector2d(int groupCode, const OdGeVector2d &value, int precision=kDfltPrec)=0
offset
GLintptr offset
Definition: gles2_ext.h:183
OdDbDwgFiler::wrString
virtual void wrString(const OdString &value)=0
OdDbDwgFiler::wrInt64
virtual void wrInt64(OdInt64 value)=0
OdDbDxfFiler::wrObjectIdOpt
void wrObjectIdOpt(int groupCode, OdDbObjectId value)
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDbDwgFiler::rdBool
virtual bool rdBool()=0
OdIdFiler::wrInt64
void wrInt64(OdInt64 value)
OdDbDxfFiler::seek
virtual void seek(OdInt64 offset, OdDb::FilerSeekType seekType)
OdDbDxfFiler::wrPoint2d
virtual void wrPoint2d(int groupCode, const OdGePoint2d &value, int precision=kDfltPrec)=0
OdIdFiler::rdHardPointerId
OdDbObjectId rdHardPointerId()
DbObjectId.h
OdIdFiler::rdBool
bool rdBool()
OdIdFiler::dwgVersion
OdDb::DwgVersion dwgVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDxfCode::_getType
static Type _getType(int code)
OdIdFiler::rdString
OdString rdString()
OdDbDxfFiler::wrUInt8
virtual void wrUInt8(int groupCode, OdUInt8 value)=0
OdIdFiler::filerStatus
OdResult filerStatus() const
OdIdFiler::wrString
void wrString(const OdString &value)
OdDbDwgFiler::wrBool
virtual void wrBool(bool value)=0
OdDbDxfFiler::wrSubclassMarker
void wrSubclassMarker(const OdString &value)
OdDbDwgFiler::rdBytes
virtual void rdBytes(void *buffer, OdUInt32 numBytes)=0
OdDbDwgFiler::rdInt16
virtual OdInt16 rdInt16()=0
OdTf::HardPointerId
@ HardPointerId
Definition: Tf.h:407
OdDbDxfFiler::wrInt16Opt
void wrInt16Opt(int groupCode, OdInt16 value, OdInt16 defaultValue)
OdDbDxfFiler::wrBinaryChunk
virtual void wrBinaryChunk(int groupCode, const OdUInt8 *buffer, OdUInt32 numBytes)=0
OdDbDxfFiler::includesDefaultValues
virtual bool includesDefaultValues() const
OdDbDwgFiler::rdPoint3d
virtual OdGePoint3d rdPoint3d()=0
OdDbDxfFiler
Definition: DbFiler.h:194
OdGeVector2d
Definition: GeVector2d.h:51
OdDbDwgFiler::wrInt8
virtual void wrInt8(OdInt8 value)=0
OdDbFiler::getAuditInfo
OdDbAuditInfo * getAuditInfo() const
OdIdFiler::controller
OdDbFilerController * controller() const
Definition: DbFiler.h:1423
TD_PackPush.h
OdDbDwgFiler::rdHardOwnershipId
virtual OdDbObjectId rdHardOwnershipId()=0
OdDbDxfFiler::pushBackItem
virtual void pushBackItem()
OdTf::Bool
@ Bool
Definition: Tf.h:392
OdIdFiler::rdBytes
void rdBytes(void *buffer, OdUInt32 numBytes)
OdInt8
signed char OdInt8
Definition: OdPlatformSettings.h:755
OdDbDxfFiler::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbDxfFiler)
OdDbDxfFiler::tell
virtual OdUInt64 tell() const
OdDbDwgFiler::wrSoftOwnershipId
virtual void wrSoftOwnershipId(const OdDbObjectId &value)=0
OdIdFiler::rdUInt8
OdUInt8 rdUInt8()
OdIdFiler::rdPoint2d
OdGePoint2d rdPoint2d()
OdIdFiler
Definition: DbFiler.h:1339
OdDbDwgFiler::rdPoint2d
virtual OdGePoint2d rdPoint2d()=0
OdDbDwgFiler::rdInt64
virtual OdInt64 rdInt64()=0
OdDbDxfFiler::copyItem
virtual void copyItem(OdDbDxfFiler *pSource)
OdDbDxfFiler::rdInt8
virtual OdInt8 rdInt8()=0
OdDbDxfFiler::rdPoint3d
virtual void rdPoint3d(OdGePoint3d &value)=0
OdDbDxfFiler::rdUInt8
virtual OdUInt8 rdUInt8()=0
OdDbDxfFiler::wrBoolOpt
void wrBoolOpt(int groupCode, bool value, bool defaultValue)
OdDbFiler::OdDbFiler
OdDbFiler()
Definition: DbFiler.h:59
OdDbDxfFiler::wrHandle
virtual void wrHandle(int groupCode, OdDbHandle value)=0
OdDbFiler::setController
virtual void setController(OdDbFilerController *pFilerController)
OdIdFiler::rdVector3d
OdGeVector3d rdVector3d()
OdDbDxfFiler::wrVector2dOpt
void wrVector2dOpt(int groupCode, const OdGeVector2d &value, const OdGeVector2d &defaultValue, int precision=kDfltPrec)
OdError_DwgObjectImproperlyRead
Definition: DbFiler.h:1017
OdIdFiler::wrVector2d
void wrVector2d(const OdGeVector2d &value)
OdTf::String
@ String
Definition: Tf.h:402
OdDbDxfFiler::wrObjectId
virtual void wrObjectId(int groupCode, OdDbObjectId value)=0
OdError_DwgObjectImproperlyRead::OdError_DwgObjectImproperlyRead
OdError_DwgObjectImproperlyRead()
Definition: DbFiler.h:1019
OdDbDxfFiler::precision
virtual int precision() const
OdDxfCode::Type
Type
Definition: DbFiler.h:151
OdDbDwgFiler::rdInt32
virtual OdInt32 rdInt32()=0
OdDbDwgFiler::rdScale3d
virtual OdGeScale3d rdScale3d()=0
OdDbHandle
Definition: DbHandle.h:67
OdDbDxfFiler::wrUInt64Opt
void wrUInt64Opt(int groupCode, OdUInt64 value, OdUInt64 defaultValue)
OdIdFiler::rdPoint3d
OdGePoint3d rdPoint3d()
OdIdFiler::rdInt64
OdInt64 rdInt64()
OdDbFiler::controller
virtual OdDbFilerController * controller() const
OdDbDxfFiler::wrUInt16Opt
void wrUInt16Opt(int groupCode, OdUInt16 value, OdUInt16 defaultValue)
OdError
Definition: OdError.h:43
OdDbDxfFiler::wrInt32Opt
void wrInt32Opt(int groupCode, OdInt32 value, OdInt32 defaultValue)
OdIdFiler::wrUInt8
void wrUInt8(OdUInt8 value)
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
OdDbDxfFiler::atSubclassData
virtual bool atSubclassData(const OdString &subClassName)
OdDbDxfFiler::OdDbDxfFiler
OdDbDxfFiler()
Definition: DbFiler.h:197
OdDbDxfFiler::wrVector3dOpt
void wrVector3dOpt(int groupCode, const OdGeVector3d &value, const OdGeVector3d &defaultValue, int precision=kDfltPrec)
OdDbDwgFiler::OdDbDwgFiler
OdDbDwgFiler()
Definition: DbFiler.h:1033
OdDbDxfFiler::rdDouble
virtual double rdDouble()=0
OdDbDxfFiler::wrPoint3d
virtual void wrPoint3d(int groupCode, const OdGePoint3d &value, int precision=kDfltPrec)=0
OdDbDwgFiler::rdSoftOwnershipId
virtual OdDbObjectId rdSoftOwnershipId()=0
OdDbDxfFiler::wrUInt16
virtual void wrUInt16(int groupCode, OdUInt16 value)=0
OdDbDwgFiler::wrBytes
virtual void wrBytes(const void *buffer, OdUInt32 numBytes)=0
OdIdFiler::wrInt16
void wrInt16(OdInt16 value)
OdIdFiler::rdInt32
OdInt32 rdInt32()
OdDbDxfFiler::writeXDataStart
virtual void writeXDataStart()
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbDxfFiler::atEmbeddedObjectStart
virtual bool atEmbeddedObjectStart()
OdDbDxfFiler::atEndOfObject
virtual bool atEndOfObject()
OdIdFiler::wrScale3d
void wrScale3d(const OdGeScale3d &value)
OdDbDwgFiler::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbDwgFiler)
OdDbFiler::database
virtual OdDbDatabase * database() const
OdDbDwgFiler::addReference
virtual void addReference(OdDbObjectId id, OdDb::ReferenceType rt)
OdDbDxfFiler::wrInt32
virtual void wrInt32(int groupCode, OdInt32 value)=0
OdIdFiler::wrPoint2d
void wrPoint2d(const OdGePoint2d &value)
OdDbDxfFiler::nextRb
virtual OdResBufPtr nextRb()
OdDbAuditInfo
Definition: DbAudit.h:60
OdDbDwgFiler::wrVector2d
virtual void wrVector2d(const OdGeVector2d &value)=0
OdDbDwgFiler::tell
virtual OdUInt64 tell() const =0
OdDbDwgFiler::wrHardOwnershipId
virtual void wrHardOwnershipId(const OdDbObjectId &value)=0
OdDbDxfFiler::wrInt8
virtual void wrInt8(int groupCode, OdInt8 value)=0
OdIdFiler::wrBytes
void wrBytes(const void *buffer, OdUInt32 numBytes)
OdDbDxfFiler::wrVector3d
virtual void wrVector3d(int groupCode, const OdGeVector3d &value, int precision=kDfltPrec)=0
OdDbDwgFiler::wrScale3d
virtual void wrScale3d(const OdGeScale3d &value)=0
OdDbDxfFiler::rdString
OdString rdString()
OdIdFiler::rdHardOwnershipId
OdDbObjectId rdHardOwnershipId()
OdDbFiler::resetFilerStatus
virtual void resetFilerStatus()
OdDbDxfFiler::rdBinaryChunk
virtual void rdBinaryChunk(OdBinaryData &value)=0
OdDbDxfFiler::wrUInt32
virtual void wrUInt32(int groupCode, OdUInt32 value)=0
OdDbFiler::dwgVersion
virtual OdDb::DwgVersion dwgVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
OdDbDxfFiler::rdString
virtual void rdString(OdString &value)=0
OdDbDwgFiler
Definition: DbFiler.h:1031
OdIdFiler::wrDouble
void wrDouble(double value)
OdDbDxfFiler::wrScale3d
virtual void wrScale3d(int groupCode, const OdGeScale3d &value, int precision=kDfltPrec)=0
OdIdFiler::rdDouble
double rdDouble()
OdIdFiler::wrPoint3d
void wrPoint3d(const OdGePoint3d &value)
OdDbDwgFiler::rdInt8
virtual OdInt8 rdInt8()=0
OdDbDwgFiler::rdSoftPointerId
virtual OdDbObjectId rdSoftPointerId()=0
OdUInt64
Definition: Int64.h:137
OdTf::HardOwnershipId
@ HardOwnershipId
Definition: Tf.h:405
OdIdFiler::filerType
FilerType filerType() const
OdDbDxfFiler::nextItem
virtual int nextItem()
OdGePoint2d
Definition: GePoint2d.h:60
OdDbDxfFiler::wrPoint2dOpt
void wrPoint2dOpt(int groupCode, const OdGePoint2d &value, const OdGePoint2d &defaultValue, int precision=kDfltPrec)
OdTf::Double
@ Double
Definition: Tf.h:400
OdDbDxfFiler::wrUInt32Opt
void wrUInt32Opt(int groupCode, OdUInt32 value, OdUInt32 defaultValue)
OdDbDwgFiler::usesReferences
virtual bool usesReferences() const