OpenDaVINCI  4.15.3
QueryableNetstringsSerializerVisitor.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_SERIALIZATION_QUERYABLENETSTRINGSSERIALIZERVISITOR_H_
21 #define OPENDAVINCI_CORE_SERIALIZATION_QUERYABLENETSTRINGSSERIALIZERVISITOR_H_
22 
23 #include <sstream>
24 #include <string>
25 
29 
30 namespace odcore {
31  namespace serialization {
32 
33 class Serializable;
34 
35  using namespace std;
36 
43  private:
50 
57 
58  public:
63 
65 
66  public:
67  virtual void beginVisit(const int32_t &id, const string &shortName, const string &longName);
68  virtual void endVisit();
69 
70  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, Serializable &v);
71  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, bool &v);
72  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, char &v);
73  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, unsigned char &v);
74  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, int8_t &v);
75  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, int16_t &v);
76  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, uint16_t &v);
77  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, int32_t &v);
78  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, uint32_t &v);
79  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, int64_t &v);
80  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, uint64_t &v);
81  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, float &v);
82  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, double &v);
83  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, string &v);
84  virtual void visit(const uint32_t &id, const string &longName, const string &shortName, void *data, const uint32_t &size);
85  };
86 
87  }
88 } // odcore::serialization
89 
90 #endif /*OPENDAVINCI_CORE_SERIALIZATION_QUERYABLENETSTRINGSSERIALIZERVISITOR_H_*/
Definition: QueryableNetstringsSerializer.h:50
Definition: QueryableNetstringsSerializerVisitor.h:42
Definition: Visitor.h:37
Definition: Serializable.h:59