28 template <
class Nd,
class NdType,
class json_it>
31 std::unique_ptr<Impl>
node;
39 virtual void writeJSON(std::ostream &os)
const override;
52 virtual const Node &
operator[](std::string
const &k)
const override;
55 virtual bool is_map()
const override;
56 virtual bool is_seq()
const override;
57 virtual void set_map()
override;
58 virtual void set_seq()
override;
59 virtual std::string
key()
const override;
60 virtual std::string
val()
const override;
61 virtual int val_int()
const override;
63 virtual bool val_bool()
const override;
64 virtual bool has_key()
const override;
65 virtual bool has_val()
const override;
66 virtual bool has_child(std::string
const &)
const override;
70 virtual const Node &
child(
size_t pos)
const override;
virtual bool is_container() const override
virtual bool has_child(std::string const &) const override
virtual bool val_bool() const override
virtual Node & child(size_t pos) override
virtual const Node & operator>>(std::string &v) const override
virtual void set_seq() override
children_view children() override
virtual Node & operator[](std::string const &k) override
virtual Node & append_child() override
const TJSONTree * get_tree() const
virtual size_t num_children() const override
virtual std::string val() const override
virtual void writeJSON(std::ostream &os) const override
virtual bool has_key() const override
virtual std::string key() const override
virtual void set_map() override
virtual bool is_seq() const override
std::unique_ptr< Impl > node
virtual bool has_val() const override
virtual float val_float() const override
const Impl & get_node() const
virtual bool is_map() const override
virtual Node & operator<<(std::string const &s) override
virtual int val_int() const override
TJSONTree::Node & incache(const TJSONTree::Node &n)
std::list< Node > _nodecache
virtual Node & rootnode() override