20 namespace ns_msgpack_compact
39 explicit Reader(
const std::string &file_name);
47 explicit Reader(std::istream &input_stream);
52 const std::size_t min = 0,
53 const std::size_t max = 0);
66 CPPUT_THROW(
"Subtree reading is impossible with msgpack_compact");
70 void endRoot(
const std::vector<std::string> &)
72 CPPUT_THROW(
"Subtree reading is impossible with msgpack_compact");
75 #define ARILES2_BASIC_TYPE(type) void readElement(type &element);
79 #undef ARILES2_BASIC_TYPE
Configuration reader class.
void endMapEntry()
endMapEntry from the current entry to its parent.
void startMap(const SizeLimitEnforcementType limit_type=SIZE_LIMIT_NONE, const std::size_t min=0, const std::size_t max=0)
bool startMapEntry(const std::string &)
startMapEntry to the entry with the given name
Reader(const std::string &file_name)
Constructor.
bool startRoot(const std::vector< std::string > &)
void endRoot(const std::vector< std::string > &)
#define ARILES2_BASIC_TYPES_LIST
#define CPPUT_MACRO_SUBSTITUTE(macro)