SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Classes | Macros | Typedefs
simpleserializer.cpp File Reference
#include <stdint.h>
#include "util/simpleserializer.h"
+ Include dependency graph for simpleserializer.cpp:

Go to the source code of this file.

Classes

struct  Assert< bool >
 
union  floatasint
 
union  doubleasint
 
union  real4asint
 
union  real8asint
 

Macros

#define PRINTF_FORMAT_S32   "%d"
 
#define PRINTF_FORMAT_U32   "%u"
 
#define PRINTF_FORMAT_S64   "%lld"
 
#define PRINTF_FORMAT_U64   "%llu"
 

Typedefs

typedef Assert<(bool(sizeof(float)==4))> float_must_be_32_bits[bool(sizeof(float)==4) ? 1 :-1]
 
typedef Assert<(bool(sizeof(double)==8))> double_must_be_64_bits[bool(sizeof(double)==8) ? 1 :-1]
 

Macro Definition Documentation

◆ PRINTF_FORMAT_S32

#define PRINTF_FORMAT_S32   "%d"

Definition at line 10 of file simpleserializer.cpp.

Referenced by SimpleDeserializer::dump().

◆ PRINTF_FORMAT_S64

#define PRINTF_FORMAT_S64   "%lld"

Definition at line 12 of file simpleserializer.cpp.

◆ PRINTF_FORMAT_U32

#define PRINTF_FORMAT_U32   "%u"

Definition at line 11 of file simpleserializer.cpp.

Referenced by SimpleDeserializer::dump().

◆ PRINTF_FORMAT_U64

#define PRINTF_FORMAT_U64   "%llu"

Definition at line 13 of file simpleserializer.cpp.

Typedef Documentation

◆ double_must_be_64_bits

typedef Assert<(bool(sizeof(double) == 8))> double_must_be_64_bits[bool(sizeof(double)==8) ? 1 :-1]

Definition at line 18 of file simpleserializer.cpp.

◆ float_must_be_32_bits

typedef Assert<(bool(sizeof(float) == 4))> float_must_be_32_bits[bool(sizeof(float)==4) ? 1 :-1]

Definition at line 17 of file simpleserializer.cpp.