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::SIZE > | beginCatcher |
| 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::SIZE > | endCatcher = EyeCatcher::HEADER_END |
Member Function Documentation
◆ readFrom()
template<typename T >
|
inlinestatic |
◆ versionString()
template<typename T >
|
inline |
◆ writeTo()
template<typename T >
|
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:
= {version::major,
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 |
1.9.1