81#define ODA_ARRREAD_PAGESIZE 0xffff
86 template<
class R,
class A>
92 typename A::iterator pCurr = arr.begin();
93 for (
unsigned i = 0; i < nSize; ++i)
95 R::read(pFiler, *pCurr++);
101 OdUInt32 nPagedSize = 0, nIndex = 0;
105 arr.resize(nPagedSize);
106 typename A::iterator pCurr = arr.begin() + nIndex;
107 for (; nIndex < nPagedSize; ++nIndex)
109 R::read(pFiler, *pCurr++);
111 }
while (nPagedSize < nSize);
115 template<
class R,
class A>
118 typename A::const_iterator pCurr = arr.begin();
119 unsigned long i = arr.size();
122 R::write(pFiler, *pCurr++);
#define ODA_ARRREAD_PAGESIZE
virtual void wrInt32(OdInt32 value)=0
virtual void wrDouble(double value)=0
virtual OdInt32 rdInt32()=0
virtual OdInt8 rdInt8()=0
virtual void wrInt8(OdInt8 value)=0
virtual double rdDouble()=0
virtual void wrInt16(OdInt16 value)=0
virtual OdInt16 rdInt16()=0
virtual FilerType filerType() const =0
void wrArray(OdDbDwgFiler *pFiler, const A &arr)
void rdArray(OdDbDwgFiler *pFiler, OdUInt32 nSize, A &arr)
static void read(OdDbDwgFiler *pFiler, double &val)
static void write(OdDbDwgFiler *pFiler, const double &val)
static void write(OdDbDwgFiler *pFiler, const OdInt16 &val)
static void read(OdDbDwgFiler *pFiler, OdInt16 &val)
static void read(OdDbDwgFiler *pFiler, OdInt32 &val)
static void write(OdDbDwgFiler *pFiler, const OdInt32 &val)
static void read(OdDbDwgFiler *pFiler, OdInt8 &val)
static void write(OdDbDwgFiler *pFiler, const OdInt8 &val)