helib::SerializeHeader< T > Struct Template Reference

#include <binio.h>

Public Member Functions

void writeTo (std::ostream &os)
 
std::string versionString () const
 

Static Public Member Functions

static SerializeHeader readFrom (std::istream &is)
 

Public Attributes

const std::array< char, EyeCatcher::SIZEbeginCatcher
 
const std::array< char, 4 > version = Binio::VERSION_0_0_1_0
 
const std::array< char, 4 > helibVersion
 
char structId = nameToStructId<T>()
 
const char reserved [7] = {0, 0, 0, 0, 0, 0, 0}
 
const std::array< char, EyeCatcher::SIZEendCatcher = EyeCatcher::HEADER_END
 

Member Function Documentation

◆ readFrom()

template<typename T >
static SerializeHeader helib::SerializeHeader< T >::readFrom ( std::istream &  is)
inlinestatic

◆ versionString()

template<typename T >
std::string helib::SerializeHeader< T >::versionString ( ) const
inline

◆ writeTo()

template<typename T >
void helib::SerializeHeader< T >::writeTo ( std::ostream &  os)
inline

Member Data Documentation

◆ beginCatcher

template<typename T >
const std::array<char, EyeCatcher::SIZE> helib::SerializeHeader< T >::beginCatcher
Initial value:
=
static constexpr std::array< char, SIZE > HEADER_BEGIN
Definition: binio.h:40

◆ endCatcher

template<typename T >
const std::array<char, EyeCatcher::SIZE> helib::SerializeHeader< T >::endCatcher = EyeCatcher::HEADER_END

◆ helibVersion

template<typename T >
const std::array<char, 4> helib::SerializeHeader< T >::helibVersion
Initial value:
0}
static constexpr long minor
The minor number of this version of HElib.
Definition: version.in.h:34
static constexpr long patch
The patch number of this version of HElib.
Definition: version.in.h:38
static constexpr long major
The major number of this version of HElib.
Definition: version.in.h:30

◆ reserved

template<typename T >
const char helib::SerializeHeader< T >::reserved[7] = {0, 0, 0, 0, 0, 0, 0}

◆ structId

template<typename T >
char helib::SerializeHeader< T >::structId = nameToStructId<T>()

◆ version

template<typename T >
const std::array<char, 4> helib::SerializeHeader< T >::version = Binio::VERSION_0_0_1_0