Functions | |
| template<typename Handler, typename ReaderFunc> | |
| static void | readEnum (std::istream &istrm, Handler &result, const ReaderFunc &read, const Int32 beginsig, const Int32 endsig) |
| void | writeLen (std::ostream &ostrm, UInt32 len) |
| void | readLen (std::istream &istrm, UInt32 &len) |
| void | write (std::ostream &ostrm, const void *dataOut, int dataOutLen) |
| void | verifySignature (std::istream &istrm, UInt8 validSig) |
| void | writeStringArray (std::ostream &ostrm, const StringArray *propertyList) |
| void | read (std::istream &istrm, void *dataIn, int dataInLen) |
| void | write (std::ostream &ostrm, Int32 val) |
| void | write (std::ostream &ostrm, UInt32 val) |
| void | write (std::ostream &ostrm, UInt8 val) |
| void | write (std::ostream &ostrm, UInt16 val) |
| void | write (std::ostream &ostrm, Int16 val) |
| void | write (std::ostream &ostrm, const String &str) |
| void | writeBool (std::ostream &ostrm, Bool arg) |
| void | writeString (std::ostream &ostrm, const String &str) |
| template<typename T> | |
| void | readArray (std::istream &istr, T &a) |
| template<typename T> | |
| void | writeArray (std::ostream &ostrm, const T &a) |
| void | writeStringArray (std::ostream &ostrm, const StringArray &stra) |
| void | read (std::istream &istrm, String &arg) |
| void | read (std::istream &istrm, Int32 &val) |
| void | read (std::istream &istrm, UInt32 &val) |
| void | read (std::istream &istrm, UInt16 &val) |
| void | read (std::istream &istrm, Int16 &val) |
| void | read (std::istream &istrm, UInt8 &val) |
| Bool | readBool (std::istream &istrm) |
| String | readString (std::istream &istrm) |
| StringArray | readStringArray (std::istream &istrm) |
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| UInt8 & | val | |||
| ) | [inline] |
Definition at line 252 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::FileSystem::read().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| Int16 & | val | |||
| ) | [inline] |
Definition at line 247 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh16(), and BLOCXX_NAMESPACE::FileSystem::read().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| UInt16 & | val | |||
| ) | [inline] |
Definition at line 242 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh16(), and BLOCXX_NAMESPACE::FileSystem::read().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| UInt32 & | val | |||
| ) | [inline] |
Definition at line 237 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh32(), and BLOCXX_NAMESPACE::FileSystem::read().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| Int32 & | val | |||
| ) | [inline] |
Definition at line 232 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh32(), and BLOCXX_NAMESPACE::FileSystem::read().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| String & | arg | |||
| ) | [inline] |
Definition at line 228 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::String::readObject().
| void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::istream & | istrm, | |
| void * | dataIn, | |||
| int | dataInLen | |||
| ) |
Definition at line 188 of file BinarySerialization.cpp.
References BLOCXX_THROW_ERRNO_MSG.
Referenced by readEnum(), readLen(), and verifySignature().
| void BLOCXX_NAMESPACE::BinarySerialization::readArray | ( | std::istream & | istr, | |
| T & | a | |||
| ) | [inline] |
| Bool BLOCXX_NAMESPACE::BinarySerialization::readBool | ( | std::istream & | istrm | ) | [inline] |
Definition at line 256 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_BOOL, BLOCXX_NAMESPACE::Bool::readObject(), and verifySignature().
| static void BLOCXX_NAMESPACE::BinarySerialization::readEnum | ( | std::istream & | istrm, | |
| Handler & | result, | |||
| const ReaderFunc & | read, | |||
| const Int32 | beginsig, | |||
| const Int32 | endsig | |||
| ) | [inline, static] |
| void BLOCXX_NAMESPACE::BinarySerialization::readLen | ( | std::istream & | istrm, | |
| UInt32 & | len | |||
| ) |
Definition at line 125 of file BinarySerialization.cpp.
References BLOCXX_THROW, i, and read().
Referenced by readArray().
| String BLOCXX_NAMESPACE::BinarySerialization::readString | ( | std::istream & | istrm | ) | [inline] |
Definition at line 263 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_STR, BLOCXX_NAMESPACE::String::readObject(), and verifySignature().
| StringArray BLOCXX_NAMESPACE::BinarySerialization::readStringArray | ( | std::istream & | istrm | ) | [inline] |
Definition at line 270 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_STRARRAY, readArray(), and verifySignature().
| void BLOCXX_NAMESPACE::BinarySerialization::verifySignature | ( | std::istream & | istrm, | |
| UInt8 | validSig | |||
| ) |
Definition at line 161 of file BinarySerialization.cpp.
References BLOCXX_THROW, read(), and val.
Referenced by readBool(), readEnum(), readString(), and readStringArray().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| const String & | str | |||
| ) | [inline] |
Definition at line 170 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::String::writeObject().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| Int16 | val | |||
| ) | [inline] |
Definition at line 165 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton16(), and BLOCXX_NAMESPACE::FileSystem::write().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| UInt16 | val | |||
| ) | [inline] |
Definition at line 160 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton16(), and BLOCXX_NAMESPACE::FileSystem::write().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| UInt8 | val | |||
| ) | [inline] |
Definition at line 156 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::FileSystem::write().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| UInt32 | val | |||
| ) | [inline] |
Definition at line 150 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton32(), and BLOCXX_NAMESPACE::FileSystem::write().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| Int32 | val | |||
| ) | [inline] |
Definition at line 145 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton32(), and BLOCXX_NAMESPACE::FileSystem::write().
| void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::ostream & | ostrm, | |
| const void * | dataOut, | |||
| int | dataOutLen | |||
| ) |
Definition at line 150 of file BinarySerialization.cpp.
References BLOCXX_THROW_ERRNO_MSG.
Referenced by writeLen().
| void BLOCXX_NAMESPACE::BinarySerialization::writeArray | ( | std::ostream & | ostrm, | |
| const T & | a | |||
| ) | [inline] |
Definition at line 208 of file BinarySerialization.hpp.
References i, and writeLen().
Referenced by writeStringArray().
| void BLOCXX_NAMESPACE::BinarySerialization::writeBool | ( | std::ostream & | ostrm, | |
| Bool | arg | |||
| ) | [inline] |
Definition at line 174 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_BOOL, BLOCXX_NAMESPACE::FileSystem::write(), and BLOCXX_NAMESPACE::Bool::writeObject().
Referenced by writeStringArray().
| void BLOCXX_NAMESPACE::BinarySerialization::writeLen | ( | std::ostream & | ostrm, | |
| UInt32 | len | |||
| ) |
Definition at line 75 of file BinarySerialization.cpp.
References write().
Referenced by writeArray().
| void BLOCXX_NAMESPACE::BinarySerialization::writeString | ( | std::ostream & | ostrm, | |
| const String & | str | |||
| ) | [inline] |
Definition at line 180 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_STR, BLOCXX_NAMESPACE::FileSystem::write(), and BLOCXX_NAMESPACE::String::writeObject().
| void BLOCXX_NAMESPACE::BinarySerialization::writeStringArray | ( | std::ostream & | ostrm, | |
| const StringArray & | stra | |||
| ) | [inline] |
Definition at line 217 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::BINSIG_STRARRAY, BLOCXX_NAMESPACE::FileSystem::write(), and writeArray().
| void BLOCXX_NAMESPACE::BinarySerialization::writeStringArray | ( | std::ostream & | ostrm, | |
| const StringArray * | propertyList | |||
| ) |
1.5.3