CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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()); \
}
unsigned int OdUInt32

Definition at line 961 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 972 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 982 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 943 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 952 of file GsFiler.h.

◆ OdGsFilerPtr_rdArray

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

Definition at line 969 of file GsFiler.h.

◆ OdGsFilerPtr_rdArrayArg

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

Definition at line 979 of file GsFiler.h.

◆ OdGsFilerPtr_rdArrayRaw

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

Definition at line 989 of file GsFiler.h.

◆ OdGsFilerPtr_wrArray

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

Definition at line 949 of file GsFiler.h.

◆ OdGsFilerPtr_wrArrayRaw

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

Definition at line 958 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

A data type that represents a smart pointer to an <link OdGsFilerCreatorPE, OdGsFilerCreatorPE> object.

Definition at line 1012 of file GsFiler.h.

◆ OdGsFilerDbHashPEPtr

A data type that represents a smart pointer to an <link OdGsFilerDbHashPE, OdGsFilerDbHashPE> object.

Definition at line 1034 of file GsFiler.h.

◆ OdGsFilerPtr

Definition at line 941 of file GsFiler.h.