17#include "RConfigure.h"
26 std::unique_ptr<Impl>
tree;
34 std::unique_ptr<Impl>
node;
37 virtual void writeJSON(std::ostream &os)
const override;
38 virtual void writeYML(std::ostream &)
const override;
48 virtual const Node &
operator[](std::string
const &k)
const override;
51 virtual bool is_map()
const override;
52 virtual bool is_seq()
const override;
53 virtual void set_map()
override;
54 virtual void set_seq()
override;
55 virtual std::string
key()
const override;
56 virtual std::string
val()
const override;
57 virtual bool has_key()
const override;
58 virtual bool has_val()
const override;
59 virtual bool has_child(std::string
const &)
const override;
63 virtual const Node &
child(
size_t pos)
const override;
72 const char *
incache(
const std::string &str);
virtual bool is_map() const override
virtual bool has_key() const override
virtual Node & child(size_t pos) override
virtual const Node & operator>>(std::string &v) const override
virtual void writeYML(std::ostream &) const override
virtual bool is_container() const override
virtual std::string key() const override
virtual Node & operator<<(std::string const &s) override
std::unique_ptr< Impl > node
virtual std::string val() const override
virtual Node & operator[](std::string const &k) override
virtual Node & append_child() override
virtual void set_seq() override
virtual bool is_seq() const override
virtual bool has_val() const override
virtual bool has_child(std::string const &) const override
virtual void writeJSON(std::ostream &os) const override
virtual size_t num_children() const override
virtual void set_map() override
std::unique_ptr< Impl > tree
std::list< std::string > _strcache
Node & incache(const Node &n)
std::list< Node > _nodecache