ARB
Functions
ad_io_inline.h File Reference
#include <static_assert.h>
Include dependency graph for ad_io_inline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CONSTEXPR_INLINE_Cxx14 void swap (unsigned char &c1, unsigned char &c2)
 
uint32_t reverse_byteorder (uint32_t val)
 
void gb_write_out_uint32 (uint32_t data, FILE *out)
 
uint32_t gb_read_in_uint32 (FILE *in, bool reversed)
 
void gb_put_number (long b0, FILE *out)
 
long gb_get_number (FILE *in)
 

Function Documentation

CONSTEXPR_INLINE_Cxx14 void swap ( unsigned char c1,
unsigned char c2 
)
uint32_t reverse_byteorder ( uint32_t  val)
inline

Definition at line 21 of file ad_io_inline.h.

References STATIC_ASSERT, and swap().

Referenced by gb_read_in_uint32(), and has_ascii_db_id().

void gb_write_out_uint32 ( uint32_t  data,
FILE *  out 
)
inline

Definition at line 37 of file ad_io_inline.h.

References ASSERT_RESULT.

Referenced by gb_write_bin(), and gb_write_bin_sub_containers().

uint32_t gb_read_in_uint32 ( FILE *  in,
bool  reversed 
)
inline

Definition at line 42 of file ad_io_inline.h.

References ASSERT_RESULT, and reverse_byteorder().

Referenced by GB_login(), gb_read_bin(), GBT_check_arb_file(), and read_keyword().

void gb_put_number ( long  b0,
FILE *  out 
)
inline

Definition at line 49 of file ad_io_inline.h.

References GBK_terminate().

Referenced by gb_write_bin(), gb_write_bin_rek(), and gb_write_bin_sub_containers().

long gb_get_number ( FILE *  in)
inline

Definition at line 79 of file ad_io_inline.h.

Referenced by gb_read_bin(), and gb_read_bin_rek_V2().