openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Go to the source code of this file.
Namespaces | |
SF | |
Macros | |
#define | htobe(x) SF::byte_swap(x) |
#define | betoh(x) SF::byte_swap(x) |
#define | htole(x) (x) |
#define | letoh(x) (x) |
#define | MT_ENDIANNESS 0 |
Functions | |
template<typename T > | |
T | SF::byte_swap (T in) |
swap the bytes of int, float, doubles, etc.. More... | |
bool | SF::fileExists (std::string filename) |
Function which checks if a given file exists. More... | |
size_t | SF::file_size (FILE *fd) |
return file size from a file descriptor More... | |
void | SF::treat_file_open_error (const char *file, const char *caller, const int errnum, const bool do_exit, int rank) |
treat a file open error by displaying the errnum string interpretation and the caller More... | |
#define betoh | ( | x | ) | SF::byte_swap(x) |
Definition at line 6 of file SF_io_base.h.
#define htobe | ( | x | ) | SF::byte_swap(x) |
Definition at line 5 of file SF_io_base.h.
#define htole | ( | x | ) | (x) |
Definition at line 7 of file SF_io_base.h.
#define letoh | ( | x | ) | (x) |
Definition at line 8 of file SF_io_base.h.
#define MT_ENDIANNESS 0 |
Definition at line 9 of file SF_io_base.h.