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