JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
ObjectIterator.h
Go to the documentation of this file.
1 //
2 // Created by Nico on 06/09/2019.
3 //
4 
5 #ifndef JODA_OBJECTITERATOR_H
6 #define JODA_OBJECTITERATOR_H
7 
8 #include <joda/misc/RJFwd.h>
9 #include <string>
10 #include <utility>
11 #include <vector>
12 #include "ViewCursor.h"
13 
15  public:
16  ObjectIterator(ViewCursor *curs, const RJValue *, ViewStructure *struc);
17 
18  void setNext(size_t name) const;
19 
20  private:
21  typedef std::pair<size_t, const RJValue *> Member;
22  typedef std::vector<Member> Members;
23  Members members;
24  ViewCursor *curs;
25 };
26 
27 #endif // JODA_OBJECTITERATOR_H
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: ObjectIterator.h:14
ObjectIterator(ViewCursor *curs, const RJValue *, ViewStructure *struc)
Definition: ObjectIterator.cpp:8
void setNext(size_t name) const
Definition: ObjectIterator.cpp:25
Definition: ViewCursor.h:13
Definition: ViewStructure.h:14