5 #ifndef JODA_RJPATHSREADER_H
6 #define JODA_RJPATHSREADER_H
8 #include <rapidjson/reader.h>
11 #define JODA_DEFAULT_PATH_DEPTH 50
14 :
public rapidjson::BaseReaderHandler<rapidjson::UTF8<>,
15 BloomAttributeHandler> {
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);
33 const std::vector<std::string> &
getPaths()
const;
37 std::vector<std::string> stack;
38 std::vector<std::string> paths;
39 std::vector<long> arrStack;
44 void addStack(
const Ch *str, rapidjson::SizeType len);
Definition: BloomAttributeHandler.h:15
bool Key(const Ch *str, rapidjson::SizeType len, bool copy)
Definition: BloomAttributeHandler.cpp:72
BloomAttributeHandler()
Definition: BloomAttributeHandler.cpp:99
bool EndObject(rapidjson::SizeType type)
Definition: BloomAttributeHandler.cpp:79
bool String(const Ch *ch, rapidjson::SizeType type, bool b)
Definition: BloomAttributeHandler.cpp:60
bool StartObject()
Definition: BloomAttributeHandler.cpp:67
bool Uint(unsigned int i)
Definition: BloomAttributeHandler.cpp:28
const std::vector< std::string > & getPaths() const
Definition: BloomAttributeHandler.cpp:115
bool Null()
Definition: BloomAttributeHandler.cpp:10
bool StartArray()
Definition: BloomAttributeHandler.cpp:86
bool Default()
Definition: BloomAttributeHandler.cpp:8
bool EndArray(rapidjson::SizeType type)
Definition: BloomAttributeHandler.cpp:91
bool Int64(int64_t int64)
Definition: BloomAttributeHandler.cpp:34
bool Bool(bool b)
Definition: BloomAttributeHandler.cpp:16
bool Int(int i)
Definition: BloomAttributeHandler.cpp:22
bool Double(double d)
Definition: BloomAttributeHandler.cpp:46
bool Uint64(uint64_t uint64)
Definition: BloomAttributeHandler.cpp:40
void clear()
Definition: BloomAttributeHandler.cpp:135
bool RawNumber(const Ch *str, rapidjson::SizeType len, bool copy)
Definition: BloomAttributeHandler.cpp:52