|
blocxx
|
Variables | |
| const UInt32 | BinaryProtocolVersion = 4000002 |
| const UInt32 | MinBinaryProtocolVersion = 3000007 |
| const UInt8 | BIN_OK = 0 |
| const UInt8 | BIN_ERROR = 1 |
| const UInt8 | BIN_EXCEPTION = 2 |
| const UInt8 | BIN_END = 3 |
| const UInt8 | BIN_LOG_MESSAGE = 45 |
| const UInt8 | BINSIG_BOOL = 104 |
| const UInt8 | BINSIG_STR = 106 |
| const UInt8 | BINSIG_STRARRAY = 107 |
| const UInt8 | BINSIG_STRINGENUM = 115 |
| const UInt8 | END_STRINGENUM = 154 |
Definition at line 270 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh16(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 252 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh32(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 246 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh64(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 235 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::operator==().
Definition at line 264 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh16(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 258 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh32(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 240 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::ntoh64(), BLOCXX_NAMESPACE::operator==(), and read().
Definition at line 276 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::operator==(), and read().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::read | ( | std::streambuf & | istrm, |
| void * | dataIn, | ||
| size_t | dataInLen ) |
Definition at line 171 of file BinarySerialization.cpp.
References BLOCXX_THROW, and BLOCXX_NAMESPACE::operator==().
Referenced by read(), read(), read(), read(), read(), read(), read(), readEnum(), readLen(), BLOCXX_NAMESPACE::Bool::readObject(), BLOCXX_NAMESPACE::Char16::readObject(), BLOCXX_NAMESPACE::String::readObject(), and verifySignature().
Definition at line 190 of file BinarySerialization.hpp.
References i, BLOCXX_NAMESPACE::operator==(), and readLen().
Referenced by readStringArray().
|
inline |
Definition at line 281 of file BinarySerialization.hpp.
References BINSIG_BOOL, BLOCXX_NAMESPACE::operator==(), BLOCXX_NAMESPACE::Bool::readObject(), and verifySignature().
|
inline |
Definition at line 100 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::operator==(), read(), and verifySignature().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::readLen | ( | std::streambuf & | istrm, |
| UInt32 & | len ) |
Definition at line 105 of file BinarySerialization.cpp.
References BLOCXX_THROW, i, BLOCXX_NAMESPACE::operator==(), and read().
Referenced by readArray(), and BLOCXX_NAMESPACE::String::readObject().
|
inline |
Definition at line 289 of file BinarySerialization.hpp.
References BINSIG_STR, BLOCXX_NAMESPACE::operator==(), BLOCXX_NAMESPACE::String::readObject(), and verifySignature().
|
inline |
Definition at line 297 of file BinarySerialization.hpp.
References BINSIG_STRARRAY, BLOCXX_NAMESPACE::operator==(), readArray(), and verifySignature().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::verifySignature | ( | std::streambuf & | istrm, |
| UInt8 | validSig ) |
Definition at line 145 of file BinarySerialization.cpp.
References BLOCXX_THROW, BLOCXX_NAMESPACE::operator==(), and read().
Referenced by readBool(), readEnum(), readString(), and readStringArray().
|
inline |
Definition at line 168 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::operator==().
Definition at line 150 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton16(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 125 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton32(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 162 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton64(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 144 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton16(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 131 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton32(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 156 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::hton64(), BLOCXX_NAMESPACE::operator==(), and write().
Definition at line 139 of file BinarySerialization.hpp.
References BLOCXX_NAMESPACE::operator==(), and write().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::write | ( | std::streambuf & | ostrm, |
| void const * | dataOut, | ||
| size_t | dataOutLen ) |
Definition at line 134 of file BinarySerialization.cpp.
References BLOCXX_THROW_ERRNO_MSG, and BLOCXX_NAMESPACE::operator==().
Referenced by write(), write(), write(), write(), write(), write(), write(), writeBool(), writeLen(), BLOCXX_NAMESPACE::Bool::writeObject(), BLOCXX_NAMESPACE::Char16::writeObject(), BLOCXX_NAMESPACE::String::writeObject(), writeString(), and writeStringArray().
|
inline |
Definition at line 208 of file BinarySerialization.hpp.
References i, BLOCXX_NAMESPACE::operator==(), and writeLen().
Referenced by writeStringArray().
Definition at line 173 of file BinarySerialization.hpp.
References BINSIG_BOOL, BLOCXX_NAMESPACE::operator==(), and write().
Referenced by writeStringArray().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::writeLen | ( | std::streambuf & | ostrm, |
| UInt32 | len ) |
Definition at line 55 of file BinarySerialization.cpp.
References BLOCXX_NAMESPACE::operator==(), and write().
Referenced by writeArray(), and BLOCXX_NAMESPACE::String::writeObject().
|
inline |
Definition at line 179 of file BinarySerialization.hpp.
References BINSIG_STR, BLOCXX_NAMESPACE::operator==(), and write().
|
inline |
Definition at line 218 of file BinarySerialization.hpp.
References BINSIG_STRARRAY, BLOCXX_NAMESPACE::operator==(), write(), and writeArray().
| BLOCXX_COMMON_API void BLOCXX_NAMESPACE::BinarySerialization::writeStringArray | ( | std::streambuf & | ostrm, |
| const StringArray * | propertyList ) |
Definition at line 159 of file BinarySerialization.cpp.
References BLOCXX_NAMESPACE::operator==(), writeBool(), and writeStringArray().
Referenced by writeStringArray().
Definition at line 82 of file BinarySerialization.hpp.
Definition at line 80 of file BinarySerialization.hpp.
Definition at line 81 of file BinarySerialization.hpp.
Definition at line 84 of file BinarySerialization.hpp.
Definition at line 79 of file BinarySerialization.hpp.
Definition at line 73 of file BinarySerialization.hpp.
Definition at line 87 of file BinarySerialization.hpp.
Referenced by readBool(), and writeBool().
Definition at line 88 of file BinarySerialization.hpp.
Referenced by readString(), and writeString().
Definition at line 89 of file BinarySerialization.hpp.
Referenced by readStringArray(), and writeStringArray().
Definition at line 91 of file BinarySerialization.hpp.
Definition at line 93 of file BinarySerialization.hpp.
Definition at line 76 of file BinarySerialization.hpp.