4 #include <zerobuf/ConstAllocator.h> 5 #include <zerobuf/Vector.h> 6 #include <zerobuf/Zerobuf.h> 16 typedef std::unique_ptr< const FrameRange > ConstFrameRangePtr;
21 uint32_t getStart()
const;
30 uint32_t getEnd()
const;
37 void setEnd( uint32_t value );
40 FrameRange(
const uint32_t& startValue,
const uint32_t& endValue );
44 explicit FrameRange( ::zerobuf::AllocatorPtr allocator );
46 FrameRange& operator = (
const FrameRange& rhs ) { ::zerobuf::Zerobuf::operator = ( rhs );
return *
this; }
50 std::string getSchema()
const final;
51 static std::string ZEROBUF_SCHEMA();
52 std::string getTypeName()
const final {
return "lexis::data::FrameRange"; }
53 static std::string ZEROBUF_TYPE_NAME() {
return "lexis::data::FrameRange"; }
54 ::zerobuf::uint128_t getTypeIdentifier()
const final { return ::zerobuf::uint128_t( 0x190fa02880b22b07ull, 0x726f90a0d8534b65ull ); }
55 static ::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER() { return ::zerobuf::uint128_t( 0x190fa02880b22b07ull, 0x726f90a0d8534b65ull ); }
56 size_t getZerobufStaticSize()
const final {
return 12; }
57 static size_t ZEROBUF_STATIC_SIZE() {
return 12; }
58 size_t getZerobufNumDynamics()
const final {
return 0; }
59 static size_t ZEROBUF_NUM_DYNAMICS() {
return 0; }
60 static ConstFrameRangePtr create(
const void* data,
const size_t size ) {
return ConstFrameRangePtr(
new FrameRange( ::zerobuf::AllocatorPtr( new ::zerobuf::ConstAllocator( reinterpret_cast< const uint8_t* >( data ), size )))); }
62 void _parseJSON(
const Json::Value& json )
final;
63 void _createJSON( Json::Value& json )
const final;
void setStart(uint32_t value)
Set the Start value.
void setEnd(uint32_t value)
Set the End value.