5 #ifndef JODA_RJATTRIBUTEREADER_H
6 #define JODA_RJATTRIBUTEREADER_H
8 #include <rapidjson/reader.h>
14 :
public rapidjson::BaseReaderHandler<rapidjson::UTF8<>,
22 bool Uint(
unsigned int i);
23 bool Int64(int64_t int64);
24 bool Uint64(uint64_t uint64);
26 bool RawNumber(
const Ch *str, rapidjson::SizeType len,
bool copy);
27 bool String(
const Ch *ch, rapidjson::SizeType type,
bool b);
29 bool Key(
const Ch *str, rapidjson::SizeType len,
bool copy);
32 bool EndArray(rapidjson::SizeType type);
37 std::set<std::string> attributes;
Definition: RJAttributeReader.h:15
bool Bool(bool b)
Definition: RJAttributeReader.cpp:12
bool Uint(unsigned int i)
Definition: RJAttributeReader.cpp:16
bool StartObject()
Definition: RJAttributeReader.cpp:34
bool EndArray(rapidjson::SizeType type)
Definition: RJAttributeReader.cpp:46
const std::set< std::string > & getAttributes() const
Definition: RJAttributeReader.cpp:50
bool String(const Ch *ch, rapidjson::SizeType type, bool b)
Definition: RJAttributeReader.cpp:29
bool StartArray()
Definition: RJAttributeReader.cpp:44
bool Int(int i)
Definition: RJAttributeReader.cpp:14
bool Double(double d)
Definition: RJAttributeReader.cpp:22
bool Int64(int64_t int64)
Definition: RJAttributeReader.cpp:18
bool Null()
Definition: RJAttributeReader.cpp:10
void clear()
Definition: RJAttributeReader.cpp:54
bool RawNumber(const Ch *str, rapidjson::SizeType len, bool copy)
Definition: RJAttributeReader.cpp:24
bool Key(const Ch *str, rapidjson::SizeType len, bool copy)
Definition: RJAttributeReader.cpp:36
bool Default()
Definition: RJAttributeReader.cpp:8
RJAttributeReader()
Definition: RJAttributeReader.cpp:48
bool EndObject(rapidjson::SizeType type)
Definition: RJAttributeReader.cpp:42
bool Uint64(uint64_t uint64)
Definition: RJAttributeReader.cpp:20