ZeroBuf  0.2.0
Zero-copy, zero-serialize, zero-hassle protocol buffers
lookupTable1D.h
1 // Generated by zerobufCxx.py
2 
3 #pragma once
4 #include <zerobuf/Zerobuf.h> // base class
5 #include <zerobuf/Vector.h> // member
6 #include <array> // member
7 
8 namespace zerobuf
9 {
10 namespace render
11 {
13 {
14 public:
15  uint8_t* getLut();
16  const uint8_t* getLut() const;
17  std::vector< uint8_t > getLutVector() const;
18  void setLut( uint8_t value[ 1024 ] );
19  void setLut( const std::vector< uint8_t >& value );
20  void setLut( const std::string& value );
21  size_t getLutSize() const;
22 
23  LookupTable1D();
24  LookupTable1D( const std::vector< uint8_t >& lutValue );
25  LookupTable1D( const LookupTable1D& rhs );
26  LookupTable1D( LookupTable1D&& rhs ) throw();
27  LookupTable1D( const ::zerobuf::Zerobuf& rhs );
28  explicit LookupTable1D( ::zerobuf::AllocatorPtr allocator );
29  virtual ~LookupTable1D() {}
30 
31  LookupTable1D& operator = ( const LookupTable1D& rhs )
32  { ::zerobuf::Zerobuf::operator = ( rhs ); return *this; }
33 
34  LookupTable1D& operator = ( LookupTable1D&& rhs );
35  // Introspection
36  std::string getTypeName() const final { return "zerobuf::render::LookupTable1D"; }
37  ::zerobuf::uint128_t getTypeIdentifier() const final { return ::zerobuf::uint128_t( 0x64e2f525de000901ull, 0xd6ec1033f58ffa11ull ); }
38  size_t getZerobufStaticSize() const final { return 1028; }
39  static size_t ZEROBUF_STATIC_SIZE() { return 1028; }
40  size_t getZerobufNumDynamics() const final { return 0; }
41  static size_t ZEROBUF_NUM_DYNAMICS() { return 0; }
42 
43 
44  void _parseJSON( const Json::Value& json ) final;
45  void _createJSON( Json::Value& json ) const final;
46 private:
47 
48 };
49 
50 }
51 }
Zero-copy, zero-serialize, zero-hassle protocol buffers.
Definition: Allocator.h:12
size_t getZerobufStaticSize() const final
Definition: lookupTable1D.h:38
Base class for all Zerobuf serializable objects.
Definition: Zerobuf.h:28
size_t getZerobufNumDynamics() const final
Definition: lookupTable1D.h:40