CFx SDK Documentation  2020SP3
Classes | Macros | Typedefs
GsFiler.h File Reference
#include "TD_PackPush.h"
#include "OdStreamBuf.h"
#include "Gs/GsExport.h"
#include "OdBinaryData.h"
#include "OdVector.h"
#include "IntArray.h"
#include "UInt8Array.h"
#include "UInt32Array.h"
#include "UInt16Array.h"
#include "GsMarkerArray.h"
#include "DbStubPtrArray.h"
#include "Ge/GePoint2d.h"
#include "UInt64Array.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdGsFiler
 
struct  OdGsFiler::SubstitutionActuator
 
struct  OdGsFiler::Substitutor
 
class  OdGsFilerCreatorPE
 
class  OdGsFilerDbHashPE
 

Macros

#define OdGsFiler_wrArray(filer, arry, wrFunc)
 
#define OdGsFilerPtr_wrArray(pFiler, arry, wrFunc)    OdGsFiler_wrArray((*pFiler), arry, wrFunc)
 
#define OdGsFiler_wrArrayRaw(filer, arry, typSz)
 
#define OdGsFilerPtr_wrArrayRaw(pFiler, arry, typSz)    OdGsFiler_wrArrayRaw((*pFiler), arry, typSz)
 
#define OdGsFiler_rdArray(filer, arry, rdFunc)
 
#define OdGsFilerPtr_rdArray(pFiler, arry, rdFunc)    OdGsFiler_rdArray((*pFiler), arry, rdFunc)
 
#define OdGsFiler_rdArrayArg(filer, arry, rdFunc)
 
#define OdGsFilerPtr_rdArrayArg(pFiler, arry, rdFunc)    OdGsFiler_rdArrayArg((*pFiler), arry, rdFunc)
 
#define OdGsFiler_rdArrayRaw(filer, arry, typSz)
 
#define OdGsFilerPtr_rdArrayRaw(pFiler, arry, typSz)    OdGsFiler_rdArrayRaw((*pFiler), arry, typSz)
 

Typedefs

typedef OdRxObject OdDbBaseDatabase
 
typedef OdArray< float, OdMemoryAllocator< float > > OdFloatArray
 
typedef OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
 
typedef OdSmartPtr< OdGsFilerOdGsFilerPtr
 
typedef OdSmartPtr< OdGsFilerCreatorPEOdGsFilerCreatorPEPtr
 
typedef OdSmartPtr< OdGsFilerDbHashPEOdGsFilerDbHashPEPtr
 

Macro Definition Documentation

◆ OdGsFiler_rdArray

#define OdGsFiler_rdArray (   filer,
  arry,
  rdFunc 
)
Value:
{ \
arry.clear(); \
OdUInt32 nElems = filer.rdUInt32(); \
arry.setPhysicalLength(nElems); \
for (OdUInt32 nElem = 0; nElem < nElems; nElem++) \
arry.push_back(filer.rdFunc()); \
}

Definition at line 324 of file GsFiler.h.

◆ OdGsFiler_rdArrayArg

#define OdGsFiler_rdArrayArg (   filer,
  arry,
  rdFunc 
)
Value:
{ \
OdUInt32 nElems = filer.rdUInt32(); \
arry.resize(nElems); \
for (OdUInt32 nElem = 0; nElem < nElems; nElem++) \
filer.rdFunc(arry[nElem]); \
}

Definition at line 335 of file GsFiler.h.

◆ OdGsFiler_rdArrayRaw

#define OdGsFiler_rdArrayRaw (   filer,
  arry,
  typSz 
)
Value:
{ \
OdUInt32 nElems = filer.rdUInt32(); \
arry.resize(nElems); \
if (nElems) \
filer.rdRawData(arry.asArrayPtr(), nElems * typSz); \
}

Definition at line 345 of file GsFiler.h.

◆ OdGsFiler_wrArray

#define OdGsFiler_wrArray (   filer,
  arry,
  wrFunc 
)
Value:
{ \
filer.wrUInt32(arry.size()); \
for (OdUInt32 nVal = 0; nVal < arry.size(); nVal++) \
filer.wrFunc(arry.getPtr()[nVal]); \
}

Definition at line 306 of file GsFiler.h.

◆ OdGsFiler_wrArrayRaw

#define OdGsFiler_wrArrayRaw (   filer,
  arry,
  typSz 
)
Value:
{ \
filer.wrUInt32(arry.size()); \
if (!arry.isEmpty()) \
filer.wrRawData(arry.getPtr(), arry.size() * typSz); \
}

Definition at line 315 of file GsFiler.h.

◆ OdGsFilerPtr_rdArray

#define OdGsFilerPtr_rdArray (   pFiler,
  arry,
  rdFunc 
)     OdGsFiler_rdArray((*pFiler), arry, rdFunc)

Definition at line 332 of file GsFiler.h.

◆ OdGsFilerPtr_rdArrayArg

#define OdGsFilerPtr_rdArrayArg (   pFiler,
  arry,
  rdFunc 
)     OdGsFiler_rdArrayArg((*pFiler), arry, rdFunc)

Definition at line 342 of file GsFiler.h.

◆ OdGsFilerPtr_rdArrayRaw

#define OdGsFilerPtr_rdArrayRaw (   pFiler,
  arry,
  typSz 
)     OdGsFiler_rdArrayRaw((*pFiler), arry, typSz)

Definition at line 352 of file GsFiler.h.

◆ OdGsFilerPtr_wrArray

#define OdGsFilerPtr_wrArray (   pFiler,
  arry,
  wrFunc 
)     OdGsFiler_wrArray((*pFiler), arry, wrFunc)

Definition at line 312 of file GsFiler.h.

◆ OdGsFilerPtr_wrArrayRaw

#define OdGsFilerPtr_wrArrayRaw (   pFiler,
  arry,
  typSz 
)     OdGsFiler_wrArrayRaw((*pFiler), arry, typSz)

Definition at line 321 of file GsFiler.h.

Typedef Documentation

◆ OdDbBaseDatabase

Definition at line 50 of file GsFiler.h.

◆ OdFloatArray

typedef OdArray<float, OdMemoryAllocator<float> > OdFloatArray

Definition at line 57 of file GsFiler.h.

◆ OdGePoint2dArray

Definition at line 58 of file GsFiler.h.

◆ OdGsFilerCreatorPEPtr

Definition at line 365 of file GsFiler.h.

◆ OdGsFilerDbHashPEPtr

Definition at line 377 of file GsFiler.h.

◆ OdGsFilerPtr

Definition at line 304 of file GsFiler.h.

OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783