CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GsFiler.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 __OD_GS_FILER_H__
25#define __OD_GS_FILER_H__
26
27#include "TD_PackPush.h"
28
29#include "OdStreamBuf.h"
30#include "Gs/GsExport.h"
31#include "OdBinaryData.h"
32#include "OdVector.h"
33#include "IntArray.h"
34#include "UInt8Array.h"
35#include "UInt32Array.h"
36#include "UInt16Array.h"
37#include "GsMarkerArray.h"
38#include "DbStubPtrArray.h"
39#include "Ge/GePoint2d.h"
40#include "UInt64Array.h"
41
42class OdGePoint2d;
43class OdGeVector2d;
44class OdGePoint3d;
45class OdGeVector3d;
46class OdGeMatrix3d;
47class OdGeExtents3d;
48
49class OdDbStub;
51
52class OdGsView;
53class OdGsCache;
54
55class OdGsDCRect;
59
63{
64 public:
66
71
75 virtual ~OdGsFiler() { }
76 public:
81 {
82 kEOFSection = -1, // EOF
83 // V1 sections
84 kHeaderSection = 0, // File header
85 kDatabaseLinkSection, // Database linkage section
86 kGsModuleSection, // Gs Module section
87 kDeviceSection, // Gs Device section
88 kClientDeviceSection, // Client Gs Device section
89 kViewSection, // Gs View section
90 kClientViewSection, // Client Gs View section
91 kModelSection, // Gs Model section
92 kClientModelSection, // Client Gs Model section
93 kNodeSection, // Gs Node section
94 kClientNodeSection, // Client Gs Node section
95 kMetafileSection, // Gs Metafile section
96 kClientMetafileSection, // Client Gs Metafile section
97 kClientMaterialSection, // Client Gs Material section
98 kBlockRefImplSection, // Block reference cache implementation section
99 kLinkedDeviceSection, // Linked Gs Device section
100 kRenditionSection, // Client visual rendition section
101 // V2 sections
102 kRuntimeChangesSection // Runtime Gs modifications section
103 };
108 {
109 kV1 = 100,
110 kV2 = 200,
111 kVLast = kV2
112 };
114 {
115 typedef void (*SetPtrFunc)(void *pPlace, const void *pValue);
118 virtual void applySubstitution(void *pPlace, const void *pValue, SetPtrFunc pSetFunc) { pSetFunc(pPlace, pValue); }
119 };
121 {
122 // Register known substitution
123 virtual void registerSubstitution(const void *pValue, const void *pSubstitution, OdUInt32 size = sizeof(OdIntPtr), bool bRegister = true, bool bImmediate = false) = 0;
124 // Register substitution request
125 virtual void requestSubstitution(void *pPlace, const void *pValue, OdUInt32 size = sizeof(OdIntPtr), bool bRegister = true, bool bImmediate = true) = 0;
126 // Register substitution request for smart pointer
127 virtual void requestSubstitution(OdBaseObjectPtr *pPlace, const void *pValue, bool bRegister = true, bool bImmediate = true) = 0;
128 // Register substitution with non-default behavior
129 virtual void requestSubstitution(void *pPlace, OdGsFiler::SubstitutionActuator *pActuator, const void *pValue, OdUInt32 size = sizeof(OdIntPtr), bool bRegister = true, bool bImmediate = true) = 0;
130 // Clear substitutions
131 virtual void clearSubstitutions(const void *pValue = NULL, OdUInt32 size = 0) = 0;
132 // Run substitutions
133 virtual void runSubstitutions(const void *pValue = NULL, OdUInt32 size = 0, bool bClear = true) = 0;
134 };
135 public:
136 // Attach stream and initiate read/write process
143 virtual bool setStream(OdStreamBuf *pStream, bool bWrite = false) = 0;
144
148 virtual OdStreamBufPtr getStream() const = 0;
149
150 // Setup working database
156 virtual void setDatabase(const OdDbBaseDatabase *pDb) = 0;
157
161 virtual OdDbBaseDatabase *getDatabase() const = 0;
162
163 // File version control
169 virtual void setVersion(OdUInt32 nVersion) = 0;
170
179 virtual OdUInt32 version() const = 0;
180
181 // Database hash control
182 virtual void wrDbHash(const OdDbBaseDatabase *pDb) = 0;
183 virtual bool checkDbHash(const OdDbBaseDatabase *pDb) = 0;
184
185 // Setup sections for writing
191 virtual void setWriteSections(OdUInt64 nSections) = 0;
192
199 virtual void setWriteSection(Section section, bool bSet) = 0;
200
208 virtual bool isWriteSection(Section section) const = 0;
209
210 // Setup sections for reading
216 virtual void setReadSections(OdUInt64 nSections) = 0;
217
224 virtual void setReadSection(Section section, bool bSet) = 0;
225
233 virtual bool isReadSection(Section section) const = 0;
234
235 // Section writing
241 virtual void wrSectionBegin(Section section) = 0;
242
248 virtual void wrSectionEnd(Section section) = 0;
249
253 virtual void wrEOFSection() = 0;
254
255 // Section reading
259 virtual Section rdSection() const = 0;
260
264 virtual Section curSection() const = 0;
265
269 virtual void skipSection() const = 0;
270 virtual void rdBackSection() const = 0;
276 virtual bool checkEOF() const = 0;
277
278 // Substitutions processing
279 virtual Substitutor *subst() const = 0;
280 virtual void makeSubstitutions(bool bClear = true) const = 0;
281 virtual OdRxObjectPtr getSubstitutor() const = 0;
282 virtual void setSubstitutor(OdRxObject *pSubst) = 0;
283
284 // Arbitrary data
285 virtual void setArbitraryData(const OdChar *pName, OdRxObject *pObject) = 0;
286 virtual OdRxObjectPtr getArbitraryData(const OdChar *pName) const = 0;
287 virtual bool hasArbitraryData(const OdChar *pName) const = 0;
288 virtual void clearArbitraryData() = 0;
289
290 // Pointers registration
291 virtual void registerPtr(const void *pPtr) = 0;
292 virtual void unregisterPtr(const void *pPtr) = 0;
293 virtual bool isPtrRegistered(const void *pPtr) const = 0;
294 virtual void clearRegisteredPtrs() = 0;
295
296 // Process handles
302 virtual void wrHandle(OdDbStub *pHandle) = 0;
303
307 virtual OdDbStub *rdHandle() const = 0;
308
309 // Process classes
315 virtual void wrClass(OdRxObject *pObj) = 0;
316
323 virtual OdRxObjectPtr rdClass() const = 0;
324
325 // Process raw data
332 virtual void wrRawData(const void *pData, OdUInt32 nDataSize) = 0;
333
340 virtual void rdRawData(void *pData, OdUInt32 nDataSize) const = 0;
341
342 // Process data primitives
348 virtual void wrBool(bool bVal);
349
356 virtual bool rdBool() const;
357
363 virtual void wrInt(int val);
364
371 virtual int rdInt() const;
372
378 virtual void wrUInt(unsigned int val);
379
386 virtual unsigned int rdUInt() const;
387
393 virtual void wrChar(char val);
394
401 virtual char rdChar() const;
402
408 virtual void wrUInt8(OdUInt8 val);
409
416 virtual OdUInt8 rdUInt8() const;
417
423 virtual void wrInt16(OdInt16 val);
424
431 virtual OdInt16 rdInt16() const;
432
438 virtual void wrUInt16(OdUInt16 val);
439
446 virtual OdUInt16 rdUInt16() const;
447
453 virtual void wrInt32(OdInt32 val);
454
461 virtual OdInt32 rdInt32() const;
462
468 virtual void wrUInt32(OdUInt32 val);
469
476 virtual OdUInt32 rdUInt32() const;
477
484 virtual void wrInt64(OdInt64 val);
485
492 virtual OdInt64 rdInt64() const;
493
499 virtual void wrUInt64(OdUInt64 val);
500
507 virtual OdUInt64 rdUInt64() const;
508
514 virtual void wrIntPtr(OdIntPtr val);
515
522 virtual OdIntPtr rdIntPtr() const;
523
529 void wrPtr(const void *pPtr) { wrIntPtr((OdIntPtr)pPtr); }
530
534 void *rdPtr() const { return (void*)rdIntPtr(); }
535
541 virtual void wrCOLORREF(ODCOLORREF val);
542
546 virtual ODCOLORREF rdCOLORREF() const;
547
553 virtual void wrFloat(float val);
554
561 virtual float rdFloat() const;
562
568 virtual void wrDouble(double val);
569
576 virtual double rdDouble() const;
577
583 virtual void wrPoint2d(const OdGePoint2d &pt);
584
590 virtual void rdPoint2d(OdGePoint2d &pt) const;
591
597 virtual void wrVector2d(const OdGeVector2d &vec);
598
604 virtual void rdVector2d(OdGeVector2d &vec) const;
605
611 virtual void wrPoint3d(const OdGePoint3d &pt);
612
618 virtual void rdPoint3d(OdGePoint3d &pt) const;
619
625 virtual void wrVector3d(const OdGeVector3d &vec);
626
632 virtual void rdVector3d(OdGeVector3d &vec) const;
633
639 virtual void wrMatrix3d(const OdGeMatrix3d &mat);
640
646 virtual void rdMatrix3d(OdGeMatrix3d &mat) const;
647
653 virtual void wrExtents3d(const OdGeExtents3d &ext);
654
660 virtual void rdExtents3d(OdGeExtents3d &ext) const;
661
667 virtual void wrAnsiString(const OdAnsiString &str);
668
674 virtual void rdAnsiString(OdAnsiString &str) const;
675
679 OdAnsiString rdAnsiStringRet() const { OdAnsiString str; rdAnsiString(str); return str; }
680
686 virtual void wrString(const OdString &str);
687
693 virtual void rdString(OdString &str) const;
694
698 OdString rdStringRet() const { OdString str; rdString(str); return str; }
699
705 virtual void wrUInt8Array (const OdUInt8Array& arr);
706
712 virtual void wrUInt16Array(const OdUInt16Array& arr);
713
720 virtual void wrUInt16Array(OdUInt32 count, const OdUInt16* arr);
721
727 virtual void wrUInt32Array(const OdUInt32Array& arr);
728
734 virtual void wrUInt32Array(const OdUInt32Vector& arr);
735
741 virtual void wrUInt64Array(const OdUInt64Array& arr);
742
748 virtual void wrUInt64Array(const OdUInt64Vector& vec);
749
756 virtual void wrUInt64Array(OdUInt32 count, const OdUInt64* arr);
757
763 virtual void wrIntArray (const OdIntArray& arr);
764
770 virtual void wrFloatArray (const OdFloatArray& arr);
771
778 virtual void wrFloatArray (OdUInt32 count, const float* arr);
779
785 virtual void wrPoint2dArray (const OdGePoint2dArray& arr);
786
792 virtual void wrPoint3dArray (const OdGePoint3dArray& arr);
793
799 virtual void wrDbStubPtrArray(const OdDbStubPtrArray& arr);
800
806 virtual void wrGsDCRect (const OdGsDCRect& rc);
807
813 virtual void wrGsDCRectDouble(const OdGsDCRectDouble& rcd);
814
820 virtual void rdUInt8Array (OdUInt8Array& arr);
821
827 virtual void rdUInt16Array(OdUInt16Array& arr);
828
836
842 virtual void rdUInt32Array(OdUInt32Array& arr);
843
849 virtual void rdUInt32Array(OdUInt32Vector& arr);
850
856 virtual void rdUInt64Array(OdUInt64Array& arr);
857
863 virtual void rdUInt64Array(OdUInt64Vector& vec);
864
872
878 virtual void rdIntArray (OdIntArray& arr);
879
885 virtual void rdFloatArray (OdFloatArray& arr);
886
893 virtual void rdFloatArray (OdUInt32 count, float* arr);
894
900 virtual void rdPoint2dArray (OdGePoint2dArray& arr);
901
907 virtual void rdPoint3dArray (OdGePoint3dArray& arr);
908
915
921 virtual void rdGsDCRect (OdGsDCRect& dcrc);
922
928 virtual void rdGsDCRectDouble(OdGsDCRectDouble& dcrcd);
929
938 static OdSmartPtr<OdGsFiler> createObject(OdStreamBuf *pStream, bool bForWrite, const OdDbBaseDatabase *pDb, OdUInt32 nVersion = kVLast);
939};
940
942
943#define OdGsFiler_wrArray(filer, arry, wrFunc) \
944 { \
945 filer.wrUInt32(arry.size()); \
946 for (OdUInt32 nVal = 0; nVal < arry.size(); nVal++) \
947 filer.wrFunc(arry.getPtr()[nVal]); \
948 }
949#define OdGsFilerPtr_wrArray(pFiler, arry, wrFunc) \
950 OdGsFiler_wrArray((*pFiler), arry, wrFunc)
951
952#define OdGsFiler_wrArrayRaw(filer, arry, typSz) \
953 { \
954 filer.wrUInt32(arry.size()); \
955 if (!arry.isEmpty()) \
956 filer.wrRawData(arry.getPtr(), arry.size() * typSz); \
957 }
958#define OdGsFilerPtr_wrArrayRaw(pFiler, arry, typSz) \
959 OdGsFiler_wrArrayRaw((*pFiler), arry, typSz)
960
961#define OdGsFiler_rdArray(filer, arry, rdFunc) \
962 { \
963 arry.clear(); \
964 OdUInt32 nElems = filer.rdUInt32(); \
965 arry.setPhysicalLength(nElems); \
966 for (OdUInt32 nElem = 0; nElem < nElems; nElem++) \
967 arry.push_back(filer.rdFunc()); \
968 }
969#define OdGsFilerPtr_rdArray(pFiler, arry, rdFunc) \
970 OdGsFiler_rdArray((*pFiler), arry, rdFunc)
971
972#define OdGsFiler_rdArrayArg(filer, arry, rdFunc) \
973 { \
974 OdUInt32 nElems = filer.rdUInt32(); \
975 arry.resize(nElems); \
976 for (OdUInt32 nElem = 0; nElem < nElems; nElem++) \
977 filer.rdFunc(arry[nElem]); \
978 }
979#define OdGsFilerPtr_rdArrayArg(pFiler, arry, rdFunc) \
980 OdGsFiler_rdArrayArg((*pFiler), arry, rdFunc)
981
982#define OdGsFiler_rdArrayRaw(filer, arry, typSz) \
983 { \
984 OdUInt32 nElems = filer.rdUInt32(); \
985 arry.resize(nElems); \
986 if (nElems) \
987 filer.rdRawData(arry.asArrayPtr(), nElems * typSz); \
988 }
989#define OdGsFilerPtr_rdArrayRaw(pFiler, arry, typSz) \
990 OdGsFiler_rdArrayRaw((*pFiler), arry, typSz)
991
995{
996public:
998public:
1006 virtual OdGsFilerPtr createGsFiler(OdStreamBuf *pStream, bool bForWrite, const OdDbBaseDatabase *pDb) = 0;
1007};
1008
1013
1017{
1018public:
1020public:
1029};
1030
1035
1036#include "TD_PackPop.h"
1037
1038#endif // __OD_GS_FILER_H__
#define GS_TOOLKIT_EXPORT
Definition: GsExport.h:37
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition: GsFiler.h:58
OdSmartPtr< OdGsFiler > OdGsFilerPtr
Definition: GsFiler.h:941
OdRxObject OdDbBaseDatabase
Definition: GsFiler.h:50
OdSmartPtr< OdGsFilerDbHashPE > OdGsFilerDbHashPEPtr
Definition: GsFiler.h:1034
OdSmartPtr< OdGsFilerCreatorPE > OdGsFilerCreatorPEPtr
Definition: GsFiler.h:1012
OdArray< float, OdMemoryAllocator< float > > OdFloatArray
Definition: GsFiler.h:57
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned int OdUInt32
short OdInt16
unsigned short OdUInt16
int OdInt32
unsigned char OdUInt8
ptrdiff_t OdIntPtr
wchar_t OdChar
virtual OdGsFilerPtr createGsFiler(OdStreamBuf *pStream, bool bForWrite, const OdDbBaseDatabase *pDb)=0
ODRX_DECLARE_MEMBERS(OdGsFilerCreatorPE)
virtual OdBinaryData computeDbHash(const OdDbBaseDatabase *pDb)=0
ODRX_DECLARE_MEMBERS(OdGsFilerDbHashPE)
virtual void wrPoint3d(const OdGePoint3d &pt)
virtual void wrFloatArray(const OdFloatArray &arr)
virtual void wrUInt16Array(OdUInt32 count, const OdUInt16 *arr)
virtual void wrClass(OdRxObject *pObj)=0
virtual void wrUInt(unsigned int val)
virtual void wrFloatArray(OdUInt32 count, const float *arr)
virtual unsigned int rdUInt() const
virtual void wrDouble(double val)
virtual void rdVector2d(OdGeVector2d &vec) const
virtual bool hasArbitraryData(const OdChar *pName) const =0
virtual void setDatabase(const OdDbBaseDatabase *pDb)=0
virtual bool setStream(OdStreamBuf *pStream, bool bWrite=false)=0
virtual OdRxObjectPtr rdClass() const =0
virtual void clearRegisteredPtrs()=0
virtual void rdPoint2d(OdGePoint2d &pt) const
virtual OdInt16 rdInt16() const
virtual void wrUInt32Array(const OdUInt32Array &arr)
void * rdPtr() const
Definition: GsFiler.h:534
virtual void wrInt64(OdInt64 val)
virtual void wrEOFSection()=0
virtual bool isPtrRegistered(const void *pPtr) const =0
virtual ~OdGsFiler()
Definition: GsFiler.h:75
virtual void wrIntArray(const OdIntArray &arr)
virtual void skipSection() const =0
virtual void makeSubstitutions(bool bClear=true) const =0
virtual void clearArbitraryData()=0
virtual void rdMatrix3d(OdGeMatrix3d &mat) const
virtual void rdGsDCRectDouble(OdGsDCRectDouble &dcrcd)
virtual char rdChar() const
virtual void wrVector2d(const OdGeVector2d &vec)
virtual void wrUInt16Array(const OdUInt16Array &arr)
virtual void wrFloat(float val)
virtual void rdUInt64Array(OdUInt64Vector &vec)
virtual void wrPoint3dArray(const OdGePoint3dArray &arr)
OdAnsiString rdAnsiStringRet() const
Definition: GsFiler.h:679
virtual void rdUInt16Array(OdUInt16Array &arr)
virtual void wrUInt64Array(const OdUInt64Vector &vec)
virtual void wrSectionEnd(Section section)=0
virtual OdInt32 rdInt32() const
virtual void rdUInt8Array(OdUInt8Array &arr)
virtual void wrIntPtr(OdIntPtr val)
virtual void rdDbStubPtrArray(OdDbStubPtrArray &arr)
virtual void wrUInt16(OdUInt16 val)
virtual void rdVector3d(OdGeVector3d &vec) const
virtual void setSubstitutor(OdRxObject *pSubst)=0
virtual void rdPoint3dArray(OdGePoint3dArray &arr)
virtual void wrString(const OdString &str)
virtual void rdAnsiString(OdAnsiString &str) const
virtual OdUInt8 rdUInt8() const
virtual Substitutor * subst() const =0
virtual bool isReadSection(Section section) const =0
virtual void rdExtents3d(OdGeExtents3d &ext) const
virtual void rdUInt16Array(OdUInt32 count, OdUInt16 *arr)
virtual void wrInt16(OdInt16 val)
virtual void wrChar(char val)
virtual void rdPoint2dArray(OdGePoint2dArray &arr)
virtual bool checkDbHash(const OdDbBaseDatabase *pDb)=0
virtual void rdFloatArray(OdUInt32 count, float *arr)
virtual void wrUInt64Array(const OdUInt64Array &arr)
virtual void wrUInt32Array(const OdUInt32Vector &arr)
virtual void rdUInt64Array(OdUInt32 count, OdUInt64 *arr)
OdString rdStringRet() const
Definition: GsFiler.h:698
virtual OdUInt64 rdUInt64() const
virtual int rdInt() const
virtual float rdFloat() const
virtual OdRxObjectPtr getArbitraryData(const OdChar *pName) const =0
virtual OdUInt32 version() const =0
virtual void wrHandle(OdDbStub *pHandle)=0
virtual void rdGsDCRect(OdGsDCRect &dcrc)
virtual void rdFloatArray(OdFloatArray &arr)
virtual void wrUInt8(OdUInt8 val)
virtual void wrUInt64(OdUInt64 val)
virtual void wrGsDCRect(const OdGsDCRect &rc)
virtual void wrCOLORREF(ODCOLORREF val)
virtual void wrDbHash(const OdDbBaseDatabase *pDb)=0
virtual void rdIntArray(OdIntArray &arr)
virtual void wrAnsiString(const OdAnsiString &str)
virtual void wrRawData(const void *pData, OdUInt32 nDataSize)=0
virtual bool rdBool() const
ODRX_DECLARE_MEMBERS(OdGsFiler)
virtual void wrDbStubPtrArray(const OdDbStubPtrArray &arr)
virtual Section rdSection() const =0
virtual OdDbStub * rdHandle() const =0
virtual void wrPoint2dArray(const OdGePoint2dArray &arr)
@ kClientMaterialSection
Definition: GsFiler.h:97
@ kLinkedDeviceSection
Definition: GsFiler.h:99
@ kMetafileSection
Definition: GsFiler.h:95
@ kDatabaseLinkSection
Definition: GsFiler.h:85
@ kClientViewSection
Definition: GsFiler.h:90
@ kClientDeviceSection
Definition: GsFiler.h:88
@ kClientNodeSection
Definition: GsFiler.h:94
@ kDeviceSection
Definition: GsFiler.h:87
@ kNodeSection
Definition: GsFiler.h:93
@ kGsModuleSection
Definition: GsFiler.h:86
@ kViewSection
Definition: GsFiler.h:89
@ kClientModelSection
Definition: GsFiler.h:92
@ kBlockRefImplSection
Definition: GsFiler.h:98
@ kRenditionSection
Definition: GsFiler.h:100
@ kClientMetafileSection
Definition: GsFiler.h:96
@ kModelSection
Definition: GsFiler.h:91
virtual void rdPoint3d(OdGePoint3d &pt) const
virtual void setVersion(OdUInt32 nVersion)=0
virtual void rdUInt32Array(OdUInt32Vector &arr)
virtual void wrBool(bool bVal)
static OdSmartPtr< OdGsFiler > createObject(OdStreamBuf *pStream, bool bForWrite, const OdDbBaseDatabase *pDb, OdUInt32 nVersion=kVLast)
virtual OdDbBaseDatabase * getDatabase() const =0
virtual Section curSection() const =0
virtual void rdString(OdString &str) const
void wrPtr(const void *pPtr)
Definition: GsFiler.h:529
virtual void setReadSection(Section section, bool bSet)=0
virtual void wrInt(int val)
virtual void setWriteSections(OdUInt64 nSections)=0
virtual void wrMatrix3d(const OdGeMatrix3d &mat)
virtual void wrUInt64Array(OdUInt32 count, const OdUInt64 *arr)
virtual bool checkEOF() const =0
virtual void rdUInt64Array(OdUInt64Array &arr)
virtual void wrUInt8Array(const OdUInt8Array &arr)
virtual void rdRawData(void *pData, OdUInt32 nDataSize) const =0
virtual void unregisterPtr(const void *pPtr)=0
virtual OdRxObjectPtr getSubstitutor() const =0
virtual bool isWriteSection(Section section) const =0
virtual ODCOLORREF rdCOLORREF() const
virtual void setReadSections(OdUInt64 nSections)=0
virtual void wrGsDCRectDouble(const OdGsDCRectDouble &rcd)
virtual OdUInt32 rdUInt32() const
virtual OdInt64 rdInt64() const
virtual void rdBackSection() const =0
virtual OdUInt16 rdUInt16() const
virtual void wrPoint2d(const OdGePoint2d &pt)
OdGsFiler()
Definition: GsFiler.h:70
virtual void registerPtr(const void *pPtr)=0
virtual void setWriteSection(Section section, bool bSet)=0
virtual void wrInt32(OdInt32 val)
virtual OdIntPtr rdIntPtr() const
virtual void wrSectionBegin(Section section)=0
virtual OdStreamBufPtr getStream() const =0
virtual void wrExtents3d(const OdGeExtents3d &ext)
virtual void rdUInt32Array(OdUInt32Array &arr)
virtual void wrVector3d(const OdGeVector3d &vec)
virtual void setArbitraryData(const OdChar *pName, OdRxObject *pObject)=0
virtual double rdDouble() const
virtual void wrUInt32(OdUInt32 val)
Definition: Gs.h:140
Definition: Int64.h:43
GLsizeiptr size
Definition: gles2_ext.h:182
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLsizei GLsizei * count
Definition: gles2_ext.h:276
virtual void applySubstitution(void *pPlace, const void *pValue, SetPtrFunc pSetFunc)
Definition: GsFiler.h:118
virtual void registerSubstitution(const void *pValue, const void *pSubstitution, OdUInt32 size=sizeof(OdIntPtr), bool bRegister=true, bool bImmediate=false)=0
virtual void requestSubstitution(void *pPlace, const void *pValue, OdUInt32 size=sizeof(OdIntPtr), bool bRegister=true, bool bImmediate=true)=0
virtual void clearSubstitutions(const void *pValue=NULL, OdUInt32 size=0)=0
virtual void requestSubstitution(void *pPlace, OdGsFiler::SubstitutionActuator *pActuator, const void *pValue, OdUInt32 size=sizeof(OdIntPtr), bool bRegister=true, bool bImmediate=true)=0
virtual void requestSubstitution(OdBaseObjectPtr *pPlace, const void *pValue, bool bRegister=true, bool bImmediate=true)=0
virtual void runSubstitutions(const void *pValue=NULL, OdUInt32 size=0, bool bClear=true)=0