openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Namespaces | Macros | Functions
SF_io_base.h File Reference
This graph shows which files directly or indirectly include this file:

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 >
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...
 

Macro Definition Documentation

◆ betoh

#define betoh (   x)    SF::byte_swap(x)

Definition at line 6 of file SF_io_base.h.

◆ htobe

#define htobe (   x)    SF::byte_swap(x)

Definition at line 5 of file SF_io_base.h.

◆ htole

#define htole (   x)    (x)

Definition at line 7 of file SF_io_base.h.

◆ letoh

#define letoh (   x)    (x)

Definition at line 8 of file SF_io_base.h.

◆ MT_ENDIANNESS

#define MT_ENDIANNESS   0

Definition at line 9 of file SF_io_base.h.