6 #ifndef ZEROBUF_SCHEMA_H
7 #define ZEROBUF_SCHEMA_H
10 #include <zerobuf/NonMovingAllocator.h>
11 #include <servus/uint128_t.h>
39 const servus::uint128_t
type;
53 typedef std::tuple< std::string, std::string, size_t, size_t, bool >
Field;
Defines export visibility macros for library ZeroBuf.
std::tuple< std::string, std::string, size_t, size_t, bool > Field
Contains the necessary information to describe one object field.
const size_t staticSize
The static size of the object.
A runtime and optimized representation of the schema file input, which describes the data layout of a...
bool if the field is static or not
FieldEnum
Access enums for the field tuple in the object.
const size_t numDynamic
The number of dynamic fields in the object.
const servus::uint128_t type
The type identifier of the object.
the data offset in the allocator
size of static arrays, size offset in the allocator for dynamic arrays
const std::vector< Field > fields
All the fields in object.