|
TF++, Miscellaneous classes and modules in C++:
|
some functions supporting swapping after I/O (implementation) More...
#include <tfxx/bytesex.h>#include <tfxx/error.h>#include <iostream>
Go to the source code of this file.
Namespaces | |
| tfxx | |
| Namespace containing all code of library libtfxx. | |
| tfxx::ioswap | |
| All facilities for checking bytesex and swapping input binary data. ,. | |
Macros | |
| #define | TF_IOSWAP_CC_VERSION "TF_IOSWAP_CC V1.3" |
Functions | |
| 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... | |
some functions supporting swapping after I/O (implementation)
some functions supporting swapping after I/O (implementation)
Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
REVISIONS and CHANGES
Definition in file ioswap.cc.