ZeroBuf
0.1.0
ZeroBuf is a replacement for FlatBuffers
|
A runtime and optimized representation of the schema file input, which describes the data layout of a ZeroBuf object. More...
#include <Schema.h>
Public Types | |
enum | FieldEnum { FIELD_NAME, FIELD_TYPE, FIELD_DATAOFFSET, FIELD_SIZE, FIELD_ISSTATIC } |
Access enums for the field tuple in the object. More... | |
typedef std::tuple < std::string, std::string, size_t, size_t, bool > | Field |
Contains the necessary information to describe one object field. More... | |
Public Attributes | |
const size_t | staticSize |
The static size of the object. More... | |
const size_t | numDynamic |
The number of dynamic fields in the object. More... | |
const servus::uint128_t | type |
The type identifier of the object. More... | |
const std::vector< Field > | fields |
All the fields in object. | |
A runtime and optimized representation of the schema file input, which describes the data layout of a ZeroBuf object.
typedef std::tuple< std::string, std::string, size_t, size_t, bool > zerobuf::Schema::Field |
Access enums for the field tuple in the object.
const size_t zerobuf::Schema::numDynamic |
The number of dynamic fields in the object.
const size_t zerobuf::Schema::staticSize |
The static size of the object.
const servus::uint128_t zerobuf::Schema::type |