aboutsummaryrefslogtreecommitdiff
path: root/src/stable/archivebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/archivebase.cpp120
1 files changed, 60 insertions, 60 deletions
diff --git a/src/stable/archivebase.cpp b/src/stable/archivebase.cpp
index dcf08f4..d0d22ce 100644
--- a/src/stable/archivebase.cpp
+++ b/src/stable/archivebase.cpp
@@ -17,181 +17,181 @@ Bu::ArchiveBase::~ArchiveBase()
17 17
18Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, bool p) 18Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, bool p)
19{ 19{
20 ar.write( &p, sizeof(p) ); 20 ar.write( &p, sizeof(p) );
21 return ar; 21 return ar;
22} 22}
23 23
24Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, char p) 24Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, char p)
25{ 25{
26 ar.write( &p, sizeof(p) ); 26 ar.write( &p, sizeof(p) );
27 return ar; 27 return ar;
28} 28}
29 29
30Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed char p) 30Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed char p)
31{ 31{
32 ar.write( &p, sizeof(p) ); 32 ar.write( &p, sizeof(p) );
33 return ar; 33 return ar;
34} 34}
35 35
36Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned char p) 36Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned char p)
37{ 37{
38 ar.write( &p, sizeof(p) ); 38 ar.write( &p, sizeof(p) );
39 return ar; 39 return ar;
40} 40}
41 41
42Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed short p) 42Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed short p)
43{ 43{
44 ar.write( &p, sizeof(p) ); 44 ar.write( &p, sizeof(p) );
45 return ar; 45 return ar;
46} 46}
47 47
48Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned short p) 48Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned short p)
49{ 49{
50 ar.write( &p, sizeof(p) ); 50 ar.write( &p, sizeof(p) );
51 return ar; 51 return ar;
52} 52}
53 53
54Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed int p) 54Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed int p)
55{ 55{
56 ar.write( &p, sizeof(p) ); 56 ar.write( &p, sizeof(p) );
57 return ar; 57 return ar;
58} 58}
59 59
60Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned int p) 60Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned int p)
61{ 61{
62 ar.write( &p, sizeof(p) ); 62 ar.write( &p, sizeof(p) );
63 return ar; 63 return ar;
64} 64}
65 65
66Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed long p) 66Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed long p)
67{ 67{
68 ar.write( &p, sizeof(p) ); 68 ar.write( &p, sizeof(p) );
69 return ar; 69 return ar;
70} 70}
71 71
72Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned long p) 72Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned long p)
73{ 73{
74 ar.write( &p, sizeof(p) ); 74 ar.write( &p, sizeof(p) );
75 return ar; 75 return ar;
76} 76}
77 77
78Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed long long p) 78Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, signed long long p)
79{ 79{
80 ar.write( &p, sizeof(p) ); 80 ar.write( &p, sizeof(p) );
81 return ar; 81 return ar;
82} 82}
83 83
84Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned long long p) 84Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, unsigned long long p)
85{ 85{
86 ar.write( &p, sizeof(p) ); 86 ar.write( &p, sizeof(p) );
87 return ar; 87 return ar;
88} 88}
89 89
90Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, float p) 90Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, float p)
91{ 91{
92 ar.write( &p, sizeof(p) ); 92 ar.write( &p, sizeof(p) );
93 return ar; 93 return ar;
94} 94}
95 95
96Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, double p) 96Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, double p)
97{ 97{
98 ar.write( &p, sizeof(p) ); 98 ar.write( &p, sizeof(p) );
99 return ar; 99 return ar;
100} 100}
101 101
102Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, long double p) 102Bu::ArchiveBase &Bu::operator<<( Bu::ArchiveBase &ar, long double p)
103{ 103{
104 ar.write( &p, sizeof(p) ); 104 ar.write( &p, sizeof(p) );
105 return ar; 105 return ar;
106} 106}
107 107
108Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, bool &p) 108Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, bool &p)
109{ 109{
110 ar.read( &p, sizeof(p) ); 110 ar.read( &p, sizeof(p) );
111 return ar; 111 return ar;
112} 112}
113 113
114Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, char &p) 114Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, char &p)
115{ 115{
116 ar.read( &p, sizeof(p) ); 116 ar.read( &p, sizeof(p) );
117 return ar; 117 return ar;
118} 118}
119 119
120Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed char &p) 120Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed char &p)
121{ 121{
122 ar.read( &p, sizeof(p) ); 122 ar.read( &p, sizeof(p) );
123 return ar; 123 return ar;
124} 124}
125 125
126Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned char &p) 126Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned char &p)
127{ 127{
128 ar.read( &p, sizeof(p) ); 128 ar.read( &p, sizeof(p) );
129 return ar; 129 return ar;
130} 130}
131 131
132Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed short &p) 132Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed short &p)
133{ 133{
134 ar.read( &p, sizeof(p) ); 134 ar.read( &p, sizeof(p) );
135 return ar; 135 return ar;
136} 136}
137 137
138Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned short &p) 138Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned short &p)
139{ 139{
140 ar.read( &p, sizeof(p) ); 140 ar.read( &p, sizeof(p) );
141 return ar; 141 return ar;
142} 142}
143 143
144Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed int &p) 144Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed int &p)
145{ 145{
146 ar.read( &p, sizeof(p) ); 146 ar.read( &p, sizeof(p) );
147 return ar; 147 return ar;
148} 148}
149 149
150Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned int &p) 150Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned int &p)
151{ 151{
152 ar.read( &p, sizeof(p) ); 152 ar.read( &p, sizeof(p) );
153 return ar; 153 return ar;
154} 154}
155 155
156Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed long &p) 156Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed long &p)
157{ 157{
158 ar.read( &p, sizeof(p) ); 158 ar.read( &p, sizeof(p) );
159 return ar; 159 return ar;
160} 160}
161 161
162Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned long &p) 162Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned long &p)
163{ 163{
164 ar.read( &p, sizeof(p) ); 164 ar.read( &p, sizeof(p) );
165 return ar; 165 return ar;
166} 166}
167 167
168Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed long long &p) 168Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, signed long long &p)
169{ 169{
170 ar.read( &p, sizeof(p) ); 170 ar.read( &p, sizeof(p) );
171 return ar; 171 return ar;
172} 172}
173 173
174Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned long long &p) 174Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, unsigned long long &p)
175{ 175{
176 ar.read( &p, sizeof(p) ); 176 ar.read( &p, sizeof(p) );
177 return ar; 177 return ar;
178} 178}
179 179
180Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, float &p) 180Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, float &p)
181{ 181{
182 ar.read( &p, sizeof(p) ); 182 ar.read( &p, sizeof(p) );
183 return ar; 183 return ar;
184} 184}
185 185
186Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, double &p) 186Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, double &p)
187{ 187{
188 ar.read( &p, sizeof(p) ); 188 ar.read( &p, sizeof(p) );
189 return ar; 189 return ar;
190} 190}
191 191
192Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, long double &p) 192Bu::ArchiveBase &Bu::operator>>( Bu::ArchiveBase &ar, long double &p)
193{ 193{
194 ar.read( &p, sizeof(p) ); 194 ar.read( &p, sizeof(p) );
195 return ar; 195 return ar;
196} 196}
197 197