TF++, Miscellaneous classes and modules in C++:
|
Interface provided through bytesex.h,. More...
Files | |
file | bytesex.h |
handle different data bytesex (prototypes) | |
Namespaces | |
tfxx::ioswap | |
All facilities for checking bytesex and swapping input binary data. ,. | |
Functions | |
template<class T > | |
T | tfxx::ioswap::swap (const T &value) |
How to swap any generic type. More... | |
template<class T > | |
IOUnion< T > | tfxx::ioswap::swap (const IOUnion< T > &value) |
Specialization in case we use use an IOUnion. i.e. overloading the function. More... | |
int | tfxx::ioswap::magic (const char *const cmagic) |
Create a magic number from a character string. ,If represents the input character sequence cmagic and is the value of sizeof(int) , then the return value will be
. More... | |
Ecpu_type | tfxx::ioswap::cpu () |
Check CPU model. ,. More... | |
Emagic_type | tfxx::ioswap::file_magic_test (std::istream &is, const char *const cmagic, const bool &fortranmode=false) |
Check for magic number in file. More... | |
void | tfxx::ioswap::file_magic_write (std::ostream &os, const char *const cmagic, const bool &fortranmode=false) |
Write magic number to file. ,. More... | |
Interface provided through bytesex.h
,.