cartobase
5.0.5
|
#include <cartobase/type/byte_order.h>
Public Member Functions | |
ByteSwapper (int bo=byteOrder()) | |
ByteSwapper (const std::string &bos) | |
bool | isSwapped () const |
bool | setSwapped (bool s) |
void | reorder (short &p) const |
void | reorder (unsigned short &p) const |
void | reorder (int &p) const |
void | reorder (unsigned int &p) const |
void | reorder (long &p) const |
void | reorder (unsigned long &p) const |
void | reorder (long long &p) const |
void | reorder (unsigned long long &p) const |
void | reorder (float &p) const |
void | reorder (double &p) const |
void | reorder (long double &p) const |
std::istream & | read (std::istream &, short &p) const |
std::istream & | read (std::istream &, unsigned short &p) const |
std::istream & | read (std::istream &, int &p) const |
std::istream & | read (std::istream &, unsigned int &p) const |
std::istream & | read (std::istream &, long &p) const |
std::istream & | read (std::istream &, unsigned long &p) const |
std::istream & | read (std::istream &, long long &p) const |
std::istream & | read (std::istream &, unsigned long long &p) const |
std::istream & | read (std::istream &, float &p) const |
std::istream & | read (std::istream &, double &p) const |
std::istream & | read (std::istream &, long double &p) const |
std::ostream & | write (std::ostream &, short &p) const |
std::ostream & | write (std::ostream &, unsigned short &p) const |
std::ostream & | write (std::ostream &, int &p) const |
std::ostream & | write (std::ostream &, unsigned int &p) const |
std::ostream & | write (std::ostream &, long &p) const |
std::ostream & | write (std::ostream &, unsigned long &p) const |
std::ostream & | write (std::ostream &, long long &p) const |
std::ostream & | write (std::ostream &, unsigned long long &p) const |
std::ostream & | write (std::ostream &, float &p) const |
std::ostream & | write (std::ostream &, double &p) const |
std::ostream & | write (std::ostream &, long double &p) const |
Definition at line 60 of file byte_order.h.
carto::ByteSwapper::ByteSwapper | ( | int | bo = byteOrder() | ) |
carto::ByteSwapper::ByteSwapper | ( | const std::string & | bos | ) |
|
inline |
Definition at line 69 of file byte_order.h.
|
inline |
Definition at line 243 of file byte_order.h.
Referenced by setSwapped().
|
inline |
Definition at line 253 of file byte_order.h.
|
inline |
Definition at line 263 of file byte_order.h.
|
inline |
Definition at line 273 of file byte_order.h.
|
inline |
Definition at line 283 of file byte_order.h.
|
inline |
Definition at line 293 of file byte_order.h.
|
inline |
Definition at line 303 of file byte_order.h.
|
inline |
Definition at line 313 of file byte_order.h.
|
inline |
Definition at line 322 of file byte_order.h.
|
inline |
Definition at line 331 of file byte_order.h.
|
inline |
Definition at line 341 of file byte_order.h.
|
inline |
Definition at line 187 of file byte_order.h.
Referenced by setSwapped().
|
inline |
Definition at line 192 of file byte_order.h.
|
inline |
Definition at line 197 of file byte_order.h.
|
inline |
Definition at line 202 of file byte_order.h.
|
inline |
Definition at line 207 of file byte_order.h.
|
inline |
Definition at line 212 of file byte_order.h.
|
inline |
Definition at line 217 of file byte_order.h.
|
inline |
Definition at line 222 of file byte_order.h.
|
inline |
Definition at line 227 of file byte_order.h.
|
inline |
Definition at line 232 of file byte_order.h.
|
inline |
Definition at line 237 of file byte_order.h.
|
inline |
Definition at line 70 of file byte_order.h.
|
inline |
Definition at line 351 of file byte_order.h.
Referenced by setSwapped().
|
inline |
Definition at line 361 of file byte_order.h.
|
inline |
Definition at line 371 of file byte_order.h.
|
inline |
Definition at line 381 of file byte_order.h.
|
inline |
Definition at line 391 of file byte_order.h.
|
inline |
Definition at line 401 of file byte_order.h.
|
inline |
Definition at line 421 of file byte_order.h.
|
inline |
Definition at line 411 of file byte_order.h.
|
inline |
Definition at line 431 of file byte_order.h.
|
inline |
Definition at line 441 of file byte_order.h.
|
inline |
Definition at line 451 of file byte_order.h.