GME  13
Classes | Defines | Typedefs | Functions
CoreBinFile.h File Reference

Go to the source code of this file.

Classes

class  membuf
class  BinObject
class  CCoreBinFile
struct  CCoreBinFile::resolve_type
class  BinAttr< VALTYPE_LONG >
class  BinAttr< VALTYPE_REAL >
class  BinAttr< VALTYPE_STRING >
struct  free_deleter< Type >
class  BinAttr< VALTYPE_BINARY >
class  BinAttr< VALTYPE_DICT >
class  BinAttr< VALTYPE_LOCK >
class  BinAttr< VALTYPE_COLLECTION >
class  BinAttr< VALTYPE_POINTER >

Defines

#define CoreBinFile_read(a, size)   if (size > cifs_eof - cifs) HR_THROW(E_FILEOPEN); memcpy(&a, cifs, size); cifs += size;

Typedefs

typedef std::vector< BinAttrUnion > binattrs_type
typedef binattrs_type::iterator binattrs_iterator
typedef stdext::hash_map
< metaobjidpair_type,
BinObject,
metaobjid2pair_hashfunc
objects_type
typedef objects_type::iterator objects_iterator

Functions

class __declspec (novtable) BinAttrBase
 static_assert (sizeof(BinAttr< VALTYPE_LONG >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")
 static_assert (sizeof(BinAttr< VALTYPE_REAL >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")
 static_assert (sizeof(BinAttr< VALTYPE_STRING >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")
 static_assert (sizeof(BinAttr< VALTYPE_POINTER >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")
 static_assert (sizeof(BinAttr< VALTYPE_BINARY >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")
 static_assert (sizeof(BinAttr< VALTYPE_COLLECTION >)<=sizeof(BinAttrUnion),"BinAttrUnion is too small.")

Define Documentation

#define CoreBinFile_read (   a,
  size 
)    if (size > cifs_eof - cifs) HR_THROW(E_FILEOPEN); memcpy(&a, cifs, size); cifs += size;

Definition at line 253 of file CoreBinFile.h.


Typedef Documentation

typedef binattrs_type::iterator binattrs_iterator

Definition at line 132 of file CoreBinFile.h.

typedef std::vector<BinAttrUnion> binattrs_type

Definition at line 129 of file CoreBinFile.h.

typedef objects_type::iterator objects_iterator

Definition at line 179 of file CoreBinFile.h.

Definition at line 178 of file CoreBinFile.h.


Function Documentation

class __declspec ( novtable  )

Definition at line 72 of file CoreBinFile.h.

static_assert ( sizeof(BinAttr< VALTYPE_LONG >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)
static_assert ( sizeof(BinAttr< VALTYPE_REAL >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)
static_assert ( sizeof(BinAttr< VALTYPE_STRING >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)
static_assert ( sizeof(BinAttr< VALTYPE_POINTER >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)
static_assert ( sizeof(BinAttr< VALTYPE_BINARY >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)
static_assert ( sizeof(BinAttr< VALTYPE_COLLECTION >)<=sizeof(BinAttrUnion)  ,
"BinAttrUnion is too small."   
)