|
| template<typename T > |
| T & | REF (const T &val) |
| | Used to bypass the rule against non-const reference to temporary where it makes sense with wrappers such as CFlatData or CTxDB. More...
|
| |
| template<typename T > |
| T * | NCONST_PTR (const T *val) |
| | Used to acquire a non-const pointer "this" to generate bodies of const serialization operations from a template. More...
|
| |
| template<typename V > |
| V::value_type * | begin_ptr (V &v) |
| | Important: Do not use the following functions in new code, but use v.data() and v.data() + v.size() respectively directly. More...
|
| |
| template<typename V > |
| const V::value_type * | begin_ptr (const V &v) |
| |
| template<typename V > |
| V::value_type * | end_ptr (V &v) |
| |
| template<typename V > |
| const V::value_type * | end_ptr (const V &v) |
| |
| template<typename Stream > |
| void | ser_writedata8 (Stream &s, uint8_t obj) |
| |
| template<typename Stream > |
| void | ser_writedata16 (Stream &s, uint16_t obj) |
| |
| template<typename Stream > |
| void | ser_writedata32 (Stream &s, uint32_t obj) |
| |
| template<typename Stream > |
| void | ser_writedata64 (Stream &s, uint64_t obj) |
| |
| template<typename Stream > |
| uint8_t | ser_readdata8 (Stream &s) |
| |
| template<typename Stream > |
| uint16_t | ser_readdata16 (Stream &s) |
| |
| template<typename Stream > |
| uint32_t | ser_readdata32 (Stream &s) |
| |
| template<typename Stream > |
| uint64_t | ser_readdata64 (Stream &s) |
| |
| uint64_t | ser_double_to_uint64 (double x) |
| |
| uint32_t | ser_float_to_uint32 (float x) |
| |
| double | ser_uint64_to_double (uint64_t y) |
| |
| float | ser_uint32_to_float (uint32_t y) |
| |
| unsigned int | GetSerializeSize (char a, int, int=0) |
| |
| unsigned int | GetSerializeSize (int8_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (uint8_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (int16_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (uint16_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (int32_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (uint32_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (int64_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (uint64_t a, int, int=0) |
| |
| unsigned int | GetSerializeSize (float a, int, int=0) |
| |
| unsigned int | GetSerializeSize (double a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, char a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, int8_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, uint8_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, int16_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, uint16_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, int32_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, uint32_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, int64_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, uint64_t a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, float a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, double a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, char &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, int8_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, uint8_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, int16_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, uint16_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, int32_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, uint32_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, int64_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, uint64_t &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, float &a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, double &a, int, int=0) |
| |
| unsigned int | GetSerializeSize (bool a, int, int=0) |
| |
| template<typename Stream > |
| void | Serialize (Stream &s, bool a, int, int=0) |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s, bool &a, int, int=0) |
| |
| unsigned int | GetSizeOfCompactSize (uint64_t nSize) |
| | Compact Size size < 253 – 1 byte size <= USHRT_MAX – 3 bytes (253 + 2 bytes) size <= UINT_MAX – 5 bytes (254 + 4 bytes) size > UINT_MAX – 9 bytes (255 + 8 bytes) More...
|
| |
| template<typename Stream > |
| void | WriteCompactSize (Stream &os, uint64_t nSize) |
| |
| template<typename Stream > |
| uint64_t | ReadCompactSize (Stream &is) |
| |
| template<typename I > |
| unsigned int | GetSizeOfVarInt (I n) |
| | Variable-length integers: bytes are a MSB base-128 encoding of the number. More...
|
| |
| template<typename Stream , typename I > |
| void | WriteVarInt (Stream &os, I n) |
| |
| template<typename Stream , typename I > |
| I | ReadVarInt (Stream &is) |
| |
| template<typename I > |
| CVarInt< I > | WrapVarInt (I &n) |
| |
| template<typename C > |
| unsigned int | GetSerializeSize (const std::basic_string< C > &str, int, int=0) |
| | Forward declarations. More...
|
| |
| template<typename Stream , typename C > |
| void | Serialize (Stream &os, const std::basic_string< C > &str, int, int=0) |
| |
| template<typename Stream , typename C > |
| void | Unserialize (Stream &is, std::basic_string< C > &str, int, int=0) |
| |
| template<unsigned int N, typename T > |
| unsigned int | GetSerializeSize_impl (const prevector< N, T > &v, int nType, int nVersion, const unsigned char &) |
| | prevector prevectors of unsigned char are a special case and are intended to be serialized as a single opaque blob. More...
|
| |
| template<unsigned int N, typename T , typename V > |
| unsigned int | GetSerializeSize_impl (const prevector< N, T > &v, int nType, int nVersion, const V &) |
| |
| template<unsigned int N, typename T > |
| unsigned int | GetSerializeSize (const prevector< N, T > &v, int nType, int nVersion) |
| |
| template<typename Stream , unsigned int N, typename T > |
| void | Serialize_impl (Stream &os, const prevector< N, T > &v, int nType, int nVersion, const unsigned char &) |
| |
| template<typename Stream , unsigned int N, typename T , typename V > |
| void | Serialize_impl (Stream &os, const prevector< N, T > &v, int nType, int nVersion, const V &) |
| |
| template<typename Stream , unsigned int N, typename T > |
| void | Serialize (Stream &os, const prevector< N, T > &v, int nType, int nVersion) |
| |
| template<typename Stream , unsigned int N, typename T > |
| void | Unserialize_impl (Stream &is, prevector< N, T > &v, int nType, int nVersion, const unsigned char &) |
| |
| template<typename Stream , unsigned int N, typename T , typename V > |
| void | Unserialize_impl (Stream &is, prevector< N, T > &v, int nType, int nVersion, const V &) |
| |
| template<typename Stream , unsigned int N, typename T > |
| void | Unserialize (Stream &is, prevector< N, T > &v, int nType, int nVersion) |
| |
| template<typename T , typename A > |
| unsigned int | GetSerializeSize_impl (const std::vector< T, A > &v, int nType, int nVersion, const unsigned char &) |
| | vector vectors of unsigned char are a special case and are intended to be serialized as a single opaque blob. More...
|
| |
| template<typename T , typename A , typename V > |
| unsigned int | GetSerializeSize_impl (const std::vector< T, A > &v, int nType, int nVersion, const V &) |
| |
| template<typename T , typename A > |
| unsigned int | GetSerializeSize (const std::vector< T, A > &v, int nType, int nVersion) |
| |
| template<typename Stream , typename T , typename A > |
| void | Serialize_impl (Stream &os, const std::vector< T, A > &v, int nType, int nVersion, const unsigned char &) |
| |
| template<typename Stream , typename T , typename A , typename V > |
| void | Serialize_impl (Stream &os, const std::vector< T, A > &v, int nType, int nVersion, const V &) |
| |
| template<typename Stream , typename T , typename A > |
| void | Serialize (Stream &os, const std::vector< T, A > &v, int nType, int nVersion) |
| |
| template<typename Stream , typename T , typename A > |
| void | Unserialize_impl (Stream &is, std::vector< T, A > &v, int nType, int nVersion, const unsigned char &) |
| |
| template<typename Stream , typename T , typename A , typename V > |
| void | Unserialize_impl (Stream &is, std::vector< T, A > &v, int nType, int nVersion, const V &) |
| |
| template<typename Stream , typename T , typename A > |
| void | Unserialize (Stream &is, std::vector< T, A > &v, int nType, int nVersion) |
| |
| template<typename K , typename T > |
| unsigned int | GetSerializeSize (const std::pair< K, T > &item, int nType, int nVersion) |
| | pair More...
|
| |
| template<typename Stream , typename K , typename T > |
| void | Serialize (Stream &os, const std::pair< K, T > &item, int nType, int nVersion) |
| |
| template<typename Stream , typename K , typename T > |
| void | Unserialize (Stream &is, std::pair< K, T > &item, int nType, int nVersion) |
| |
| template<typename K , typename T , typename Pred , typename A > |
| unsigned int | GetSerializeSize (const std::map< K, T, Pred, A > &m, int nType, int nVersion) |
| | map More...
|
| |
| template<typename Stream , typename K , typename T , typename Pred , typename A > |
| void | Serialize (Stream &os, const std::map< K, T, Pred, A > &m, int nType, int nVersion) |
| |
| template<typename Stream , typename K , typename T , typename Pred , typename A > |
| void | Unserialize (Stream &is, std::map< K, T, Pred, A > &m, int nType, int nVersion) |
| |
| template<typename K , typename Pred , typename A > |
| unsigned int | GetSerializeSize (const std::set< K, Pred, A > &m, int nType, int nVersion) |
| | set More...
|
| |
| template<typename Stream , typename K , typename Pred , typename A > |
| void | Serialize (Stream &os, const std::set< K, Pred, A > &m, int nType, int nVersion) |
| |
| template<typename Stream , typename K , typename Pred , typename A > |
| void | Unserialize (Stream &is, std::set< K, Pred, A > &m, int nType, int nVersion) |
| |
| template<typename T > |
| unsigned int | GetSerializeSize (const T &a, long nType, int nVersion) |
| | If none of the specialized versions above matched, default to calling member function. More...
|
| |
| template<typename Stream , typename T > |
| void | Serialize (Stream &os, const T &a, long nType, int nVersion) |
| |
| template<typename Stream , typename T > |
| void | Unserialize (Stream &is, T &a, long nType, int nVersion) |
| |
| template<typename Stream , typename T > |
| void | SerReadWrite (Stream &s, const T &obj, int nType, int nVersion, CSerActionSerialize ser_action) |
| |
| template<typename Stream , typename T > |
| void | SerReadWrite (Stream &s, T &obj, int nType, int nVersion, CSerActionUnserialize ser_action) |
| |