aboutsummaryrefslogtreecommitdiff
path: root/src/serializer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/serializer.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/serializer.h b/src/serializer.h
index e79c810..3af489c 100644
--- a/src/serializer.h
+++ b/src/serializer.h
@@ -35,6 +35,7 @@ public:
35 virtual Serializer &operator<<(uint16_t); 35 virtual Serializer &operator<<(uint16_t);
36 virtual Serializer &operator<<(uint32_t); 36 virtual Serializer &operator<<(uint32_t);
37 virtual Serializer &operator<<(uint64_t); 37 virtual Serializer &operator<<(uint64_t);
38 virtual Serializer &operator<<(long);
38 virtual Serializer &operator<<(float); 39 virtual Serializer &operator<<(float);
39 virtual Serializer &operator<<(double); 40 virtual Serializer &operator<<(double);
40 virtual Serializer &operator<<(long double); 41 virtual Serializer &operator<<(long double);
@@ -48,30 +49,30 @@ public:
48 virtual Serializer &operator>>(uint16_t &); 49 virtual Serializer &operator>>(uint16_t &);
49 virtual Serializer &operator>>(uint32_t &); 50 virtual Serializer &operator>>(uint32_t &);
50 virtual Serializer &operator>>(uint64_t &); 51 virtual Serializer &operator>>(uint64_t &);
52 virtual Serializer &operator>>(long &);
51 virtual Serializer &operator>>(float &); 53 virtual Serializer &operator>>(float &);
52 virtual Serializer &operator>>(double &); 54 virtual Serializer &operator>>(double &);
53 virtual Serializer &operator>>(long double &); 55 virtual Serializer &operator>>(long double &);
54 56
55 /* 57 virtual Serializer &operator&&(bool &);
56 virtual Serializer &operator&(bool &); 58 virtual Serializer &operator&&(int8_t &);
57 virtual Serializer &operator&(int8_t &); 59 virtual Serializer &operator&&(int16_t &);
58 virtual Serializer &operator&(int16_t &); 60 virtual Serializer &operator&&(int32_t &);
59 virtual Serializer &operator&(int32_t &); 61 virtual Serializer &operator&&(int64_t &);
60 virtual Serializer &operator&(int64_t &); 62 virtual Serializer &operator&&(uint8_t &);
61 virtual Serializer &operator&(uint8_t &); 63 virtual Serializer &operator&&(uint16_t &);
62 virtual Serializer &operator&(uint16_t &); 64 virtual Serializer &operator&&(uint32_t &);
63 virtual Serializer &operator&(uint32_t &); 65 virtual Serializer &operator&&(uint64_t &);
64 virtual Serializer &operator&(uint64_t &); 66 virtual Serializer &operator&&(float &);
65 virtual Serializer &operator&(float &); 67 virtual Serializer &operator&&(double &);
66 virtual Serializer &operator&(double &); 68 virtual Serializer &operator&&(long double &);
67 virtual Serializer &operator&(long double &);
68 */
69 69
70 //virtual Serializer &operator&(Serializable &); 70 //virtual Serializer &operator&(Serializable &);
71}; 71};
72 72
73Serializer &operator<<(Serializer &, class Serializable &); 73Serializer &operator<<(Serializer &, class Serializable &);
74Serializer &operator>>(Serializer &, class Serializable &); 74Serializer &operator>>(Serializer &, class Serializable &);
75Serializer &operator&&(Serializer &s, class Serializable &p);
75 76
76Serializer &operator<<(Serializer &, std::string &); 77Serializer &operator<<(Serializer &, std::string &);
77Serializer &operator>>(Serializer &, std::string &); 78Serializer &operator>>(Serializer &, std::string &);