6 #ifndef ZEROBUF_TYPES_H 7 #define ZEROBUF_TYPES_H 9 #include <servus/types.h> 10 #include <servus/serializable.h> 25 class NonMovingAllocator;
26 class NonMovingBaseAllocator;
30 typedef std::unique_ptr< Allocator > AllocatorPtr;
31 typedef std::unique_ptr< const Allocator > ConstAllocatorPtr;
33 using servus::uint128_t;
36 typedef servus::Serializable::Data Data;
38 template<
typename T > std::string enum_to_string(
const T& );
39 template<
typename T > T string_to_enum(
const std::string& );
Zero-copy, zero-serialize, zero-hassle protocol buffers.
uint8_t byte_t
alias type for base64 encoded fields
STL-like vector abstraction for dynamic arrays in a zerobuf.