![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cArchive.h>
Public Member Functions | |
cArchive (cStreamOutput &so) noexcept | |
cArchive (cStreamInput &si) noexcept | |
cArchive (cStream &s, bool bStoring) noexcept | |
bool | IsStoring () const noexcept |
bool | IsLoading () const noexcept |
cStreamOutput & | ref_Out () |
cStreamInput & | ref_Inp () |
HRESULT | Serialize (void *pData, size_t nSize) |
Serialize Base Types. More... | |
HRESULT | SerializeSize (size_t &nSize) |
HRESULT | Write (const void *pData, size_t nSize) |
HRESULT | Read (void *pData, size_t nSize) |
COUNT_t | ReadCount () |
void | WriteCount (size_t n) |
Friends | |
class | cArchiveTests |
Form a bidirectional (typeless) binary stream of serialized data.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
I am loading the object from the read archive cStreamInput. like MFC cArchive
|
inlinenoexcept |
I am storing the object to the write archive cStreamOutput. like MFC cArchive
|
inline |
|
inline |
|
inline |
|
inline |
HRESULT Gray::cArchive::Serialize | ( | void * | pData, |
size_t | nSize | ||
) |
Serialize Base Types.
HRESULT Gray::cArchive::SerializeSize | ( | size_t & | nSize | ) |
Write a compressed size. high bit of byte is reserved to say there is more to come. bytes stored low to high (of course) MFC calls this "Count"
|
inline |
|
inline |
|
friend |