tesseract  5.0.0-alpha-619-ge9db
serialis.h File Reference
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Classes

class  GenericVector< T >
 
class  tesseract::TFile
 

Namespaces

 tesseract
 

Macros

#define QUOTE_IT(parm)   #parm
 

Typedefs

using tesseract::FileReader = bool(*)(const char *filename, GenericVector< char > *data)
 
using tesseract::FileWriter = bool(*)(const GenericVector< char > &data, const char *filename)
 

Functions

template<typename T , size_t N>
constexpr size_t tesseract::countof (T const (&)[N]) noexcept
 
bool tesseract::DeSerialize (FILE *fp, char *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, float *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, int8_t *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, int16_t *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, int32_t *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, uint8_t *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, uint16_t *data, size_t n=1)
 
bool tesseract::DeSerialize (FILE *fp, uint32_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const char *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const float *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const int8_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const int16_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const int32_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const uint8_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const uint16_t *data, size_t n=1)
 
bool tesseract::Serialize (FILE *fp, const uint32_t *data, size_t n=1)
 

Macro Definition Documentation

◆ QUOTE_IT

#define QUOTE_IT (   parm)    #parm

Definition at line 35 of file serialis.h.