|
template<class Base > |
void | ReadBase (reader &in, Base *base) |
| Function of reading the base class.
|
|
template<class Base > |
void | WriteBase (writer &out, const Base *base) |
| Function of writing the base class.
|
|
template<class Base > |
void | ReadVBase (reader &in, Base *base) |
| Function of reading of a virtual base class.
|
|
template<class Base > |
void | WriteVBase (writer &out, const Base *base) |
| Function of writing of a virtual base class.
|
|
uint16 | hash (const char *name) |
| Pack the string (class name) into uint16.
|
|
writer & | operator<< (writer &ps, bool i) |
| Writing bool to the stream.
|
|
reader & | operator>> (reader &ps, bool &i) |
| Reading of bool to the stream.
|
|
writer & | operator<< (writer &ps, signed int i) |
| Writing signed int to the stream.
|
|
writer & | operator<< (writer &ps, unsigned int i) |
| Writing unsigned int to the stream.
|
|
reader & | operator>> (reader &ps, signed int &i) |
| Reading signed int to the stream.
|
|
reader & | operator>> (reader &ps, unsigned int &i) |
| Reading unsigned int to the stream.
|
|
writer & | operator<< (writer &ps, int64 val) |
| Writing int32 to the stream. More...
|
|
reader & | operator>> (reader &ps, int64 &val) |
| Reading int64 to the stream.
|
|
reader & | operator>> (reader &ps, signed char &ch) |
| Reading signed char to the stream.
|
|
reader & | operator>> (reader &ps, unsigned char &ch) |
| Reading unsigned char to the stream.
|
|
reader & | operator>> (reader &ps, char &ch) |
| Reading char to the stream.
|
|
reader & | operator>> (reader &ps, signed short &sh) |
| Reading signed short to the stream.
|
|
reader & | operator>> (reader &ps, unsigned short &sh) |
| Reading unsigned short to the stream.
|
|
reader & | operator>> (reader &ps, wchar_t &sh) |
| Reading wchar_t to the stream.
|
|
reader & | operator>> (reader &ps, float &f) |
| Reading float to the stream.
|
|
reader & | operator>> (reader &ps, double &d) |
| Reading double to the stream.
|
|
reader & | operator>> (reader &ps, long double &l) |
| Reading long double from the stream.
|
|
template<class _Class > |
reader & | operator>> (reader &ps, SPtr< _Class > &sPtr) |
| Reading a smart pointer from the stream.
|
|
template<class _Class > |
writer & | operator<< (writer &ps, const SPtr< _Class > &sPtr) |
| Writing a smart pointer to the stream.
|
|
writer & | operator<< (writer &ps, signed char ch) |
| Write signed char to the stream.
|
|
writer & | operator<< (writer &ps, unsigned char ch) |
| Write unsigned char to the stream.
|
|
writer & | operator<< (writer &ps, char ch) |
| Write char to the stream.
|
|
writer & | operator<< (writer &ps, signed short sh) |
| Write signed short to the stream.
|
|
writer & | operator<< (writer &ps, unsigned short sh) |
| Write unsigned short to the stream.
|
|
writer & | operator<< (writer &ps, wchar_t sh) |
| Write wchar_t to the stream.
|
|
writer & | operator<< (writer &ps, float f) |
| Write float to the stream.
|
|
writer & | operator<< (writer &ps, const double &d) |
| Write double to the stream.
|
|
writer & | operator<< (writer &ps, const long double &l) |
| Write long double to the stream.
|
|
void | WriteTCHAR (writer &out, const TCHAR *ts, bool directSingleByte=false) |
| Write TCHAR string to the stream.
|
|
void | ReadTCHAR (reader &in, TCHAR *&ts, bool directSingleByte=false) |
| Read TCHAR string from the stream.
|
|
void | WriteWcharT (writer &out, const wchar_t *ts) |
| Write wchar_t string to the stream.
|
|
void | ReadWcharT (reader &in, wchar_t *&ts) |
| Read TCHAR string from the stream.
|
|
void | WriteCOUNT (writer &out, size_t count) |
| Write size_t subject to the stream version.
|
|
void | WriteINT_T (writer &out, ptrdiff_t count) |
| Writing ptrdiff_t subject to the stream version.
|
|
size_t | ReadCOUNT (reader &in, bool uint_val=true) |
| Reading size_t subject to the stream version.
|
|
ptrdiff_t | ReadINT_T (reader &in, bool uint_val=true) |
| Reading ptrdiff_t subject to the stream version.
|
|
void | WriteCOUNT (void *out, VERSION version, size_t count) |
| Writing size_t to the memory subject to the stream version.
|
|
void | WriteCOUNT (void *out, VERSION version, ptrdiff_t count) |
| Writing ptrdiff_t to the memory subject to the stream version.
|
|
size_t | ReadCOUNT (void *in, VERSION version) |
| Reading of size_t to the memory subject to the stream version.
|
|
ClassDescriptor | GetPackedClassName (const ClassDescriptor &classDescr, const VersionContainer &ver) |
| Get the packed class name from the hash value written to the stream. More...
|
|
void | AddPackedClassNameForVersion (const ClassDescriptor &newClassName, const ClassDescriptor &oldClassName, uint appIndex, VERSION lowVersion, VERSION highVersion) |
| Add a new mapping of the hash value written to the stream to the packed class name. More...
|
|
bool | IsValidStreamClassName (const char *className, const MbUuid &appID) |
| Diagnostics of collisions of new class name with registered classes. More...
|
|
void | WriteSimpleName (writer &out, const SimpleName &s) |
| Writing of a simple name.
|
|
SimpleName | ReadSimpleName (reader &in) |
| Reading of a simple name.
|
|
writer & | c3d::operator<< (writer &out, const StrHash &strHash) |
| Operator of writing hash. More...
|
|
reader & | c3d::operator>> (reader &in, c3d::StrHash &strHash) |
| Operator of hash reading. More...
|
|
writer & | operator<< (writer &ps, const std::string &s) |
| Writing a string to the stream.
|
|
reader & | operator>> (reader &ps, std::string &s) |
| Reading a string from the stream.
|
|
writer & | operator<< (writer &ps, const std::wstring &s) |
| Writing a string to the stream.
|
|
reader & | operator>> (reader &ps, std::wstring &s) |
| Reading a string from the stream.
|
|
writer & | operator<< (writer &ps, const std::wstring *s) |
| Writing a string to the stream.
|
|
void | ReadCluster (reader &in, uint16 clusterSize, Cluster &cl) |
| Read the cluster. More...
|
|
void | WriteCluster (writer &out, const Cluster &cl, uint16) |
| Write the cluster, the clusterSize parameter is used to checking the cluster length. More...
|
|
size_t | WriteClusterInfo (void *out, VERSION version, const Cluster &obj) |
| Write the information about the cluster.
|
|
size_t | ReadClusterInfo (void *in, VERSION version, Cluster &obj) |
| Read the information about the cluster.
|
|