4 #include <zerobuf/ConstAllocator.h> 5 #include <zerobuf/Vector.h> 6 #include <zerobuf/Zerobuf.h> 14 typedef std::unique_ptr< const Request > ConstRequestPtr;
19 ::zerobuf::uint128_t getEvent()
const;
26 void setEvent( ::zerobuf::uint128_t value );
29 Request( const ::zerobuf::uint128_t& eventValue );
32 Request( const ::zerobuf::Zerobuf& rhs );
33 explicit Request( ::zerobuf::AllocatorPtr allocator );
35 Request& operator = (
const Request& rhs ) { ::zerobuf::Zerobuf::operator = ( rhs );
return *
this; }
39 std::string getSchema()
const final;
40 static std::string ZEROBUF_SCHEMA();
41 std::string getTypeName()
const final {
return "lexis::Request"; }
42 static std::string ZEROBUF_TYPE_NAME() {
return "lexis::Request"; }
43 ::zerobuf::uint128_t getTypeIdentifier()
const final { return ::zerobuf::uint128_t( 0xc6b737f5a77892eaull, 0xd3126a92810c9e6eull ); }
44 static ::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER() { return ::zerobuf::uint128_t( 0xc6b737f5a77892eaull, 0xd3126a92810c9e6eull ); }
45 size_t getZerobufStaticSize()
const final {
return 20; }
46 static size_t ZEROBUF_STATIC_SIZE() {
return 20; }
47 size_t getZerobufNumDynamics()
const final {
return 0; }
48 static size_t ZEROBUF_NUM_DYNAMICS() {
return 0; }
49 static ConstRequestPtr create(
const void* data,
const size_t size ) {
return ConstRequestPtr(
new Request( ::zerobuf::AllocatorPtr( new ::zerobuf::ConstAllocator( reinterpret_cast< const uint8_t* >( data ), size )))); }
51 void _parseJSON(
const Json::Value& json )
final;
52 void _createJSON( Json::Value& json )
const final;
void setEvent(::zerobuf::uint128_t value)
Set the Event value.