Changeset 3750 in Sophya for trunk/SophyaLib/BaseTools/ppfbinstream.h
- Timestamp:
- Mar 3, 2010, 9:44:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppfbinstream.h
r2485 r3750 142 142 void GetZ8 (complex<r_8> &); 143 143 void GetZ8s (complex<r_8> *, size_t); 144 #ifdef SO_LDBLE128 145 void GetR16 (r_16&); 146 void GetR16s (r_16*, size_t); 147 void GetZ16 (complex<r_16> &); 148 void GetZ16s (complex<r_16> *, size_t); 149 #endif 144 150 145 151 inline void Get(char& c) {GetByte(c);} … … 170 176 inline void Get(complex<r_4> * x, size_t n) { GetZ4s(x, n); } 171 177 inline void Get(complex<r_8> * x, size_t n) { GetZ8s(x, n); } 172 178 #ifdef SO_LDBLE128 179 inline void Get(r_16& x) {GetR16(x);} 180 inline void Get(r_16* x, size_t n) {GetR16s(x,n);} 181 inline void Get(complex<r_16> & x) {GetZ16(x);} 182 inline void Get(complex<r_16> * x, size_t n) { GetZ16s(x, n); } 183 #endif 173 184 // Reading a list (table) of position tags 174 185 void GetPosTagTable(int_8*, size_t); … … 184 195 void SkipItem(bool fgrdi=true, unsigned char itag=0); 185 196 186 void CheckTag ( short datasz, shortdatatype);187 void CheckArrayTag( short datasz, size_t sz, shortdatatype);197 void CheckTag (unsigned char datasz, unsigned char datatype); 198 void CheckArrayTag(unsigned char datasz, size_t sz, unsigned char datatype); 188 199 void GetTypeTag (unsigned char& c); 189 200 void GetRawByte (char& c); … … 245 256 void PutZ8 (complex<r_8>); 246 257 void PutZ8s (complex<r_8> const*, size_t); 247 258 #ifdef SO_LDBLE128 259 void PutR16 (r_16); 260 void PutR16s (r_16 const*, size_t); 261 void PutZ16 (complex<r_16>); 262 void PutZ16s (complex<r_16> const*, size_t); 263 #endif 248 264 249 265 void Put(char c) {PutByte(c);} … … 264 280 void Put(complex<r_4> const* x, size_t n) {PutZ4s(x,n);} 265 281 void Put(complex<r_8> const* x, size_t n) {PutZ8s(x,n);} 282 #ifdef SO_LDBLE128 283 void Put(r_16 x) {PutR16(x);} 284 void Put(r_16 const* x, size_t n) {PutR16s(x,n);} 285 void Put(complex<r_16> x) {PutZ16(x);} 286 void Put(complex<r_16> const* x, size_t n) {PutZ16s(x,n);} 287 #endif 266 288 void Put(uint_1 const* x, size_t n) {PutU1s(x,n);} 267 289 void Put(int_1 const* x, size_t n) {PutI1s(x,n);} … … 284 306 void WriteNameTagTableV2(); 285 307 286 void PutArrayTag( short datasz, size_t sz, shortdatatype);308 void PutArrayTag(unsigned char datasz, size_t sz, unsigned char datatype); 287 309 void PutRawByte (char); 288 310 void PutRawUByte (unsigned char);
Note:
See TracChangeset
for help on using the changeset viewer.