Classes | Namespaces | Macros
FFBinaryStream.hpp File Reference

Detailed Description

An FFStream for binary file reading

Definition in file FFBinaryStream.hpp.

#include "FFStream.hpp"
#include "BinUtils.hpp"
Include dependency graph for FFBinaryStream.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gnsstk::FFBinaryStream
 

Namespaces

 gnsstk
 For Sinex::InputHistory.
 

Macros

#define FFBIN_GET_DATA(ITOH_FN, NTOH_FN)
 
#define FFBIN_WRITE_DATA(HTOI_FN, HTON_FN)
 

Macro Definition Documentation

◆ FFBIN_GET_DATA

#define FFBIN_GET_DATA (   ITOH_FN,
  NTOH_FN 
)
Value:
char buf[sizeof(v)] = ""; \
getData(buf, sizeof(v)); \
if (isStreamLittleEndian()) \
BinUtils::ITOH_FN(buf, v); \
else \
BinUtils::NTOH_FN(buf, v);

Definition at line 139 of file FFBinaryStream.hpp.

◆ FFBIN_WRITE_DATA

#define FFBIN_WRITE_DATA (   HTOI_FN,
  HTON_FN 
)
Value:
char buf[sizeof(v)]; \
if (isStreamLittleEndian()) \
BinUtils::HTOI_FN(buf, v); \
else \
BinUtils::HTON_FN(buf, v); \
writeData(buf, sizeof(v));

Definition at line 147 of file FFBinaryStream.hpp.



gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42