Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TJSONTree::Node::Impl::NodeRef Class Reference

Definition at line 88 of file JSONParser.cxx.

Public Member Functions

 NodeRef (const NodeRef &other)
 NodeRef (const std::string &k, nlohmann::json &n)
const nlohmann::json & get () const override
nlohmann::json & get () override
std::string const & key () const

Static Public Member Functions

static const TJSONTree::NodemkNode (const TJSONTree *t, const std::string &k, const nlohmann::json &n)
static TJSONTree::NodemkNode (TJSONTree *t, const std::string &k, nlohmann::json &n)

Public Attributes

std::string _key

Private Attributes

nlohmann::json & node
Inheritance diagram for TJSONTree::Node::Impl::NodeRef:
TJSONTree::Node::Impl

Constructor & Destructor Documentation

◆ NodeRef() [1/2]

TJSONTree::Node::Impl::NodeRef::NodeRef ( const std::string & k,
nlohmann::json & n )
inline

Definition at line 94 of file JSONParser.cxx.

◆ NodeRef() [2/2]

TJSONTree::Node::Impl::NodeRef::NodeRef ( const NodeRef & other)
inline

Definition at line 95 of file JSONParser.cxx.

Member Function Documentation

◆ get() [1/2]

const nlohmann::json & TJSONTree::Node::Impl::NodeRef::get ( ) const
inlineoverridevirtual

Implements TJSONTree::Node::Impl.

Definition at line 93 of file JSONParser.cxx.

◆ get() [2/2]

nlohmann::json & TJSONTree::Node::Impl::NodeRef::get ( )
inlineoverridevirtual

Implements TJSONTree::Node::Impl.

Definition at line 92 of file JSONParser.cxx.

◆ key()

std::string const & TJSONTree::Node::Impl::key ( ) const
inlineinherited

Definition at line 67 of file JSONParser.cxx.

◆ mkNode() [1/2]

const TJSONTree::Node & TJSONTree::Node::Impl::mkNode ( const TJSONTree * t,
const std::string & k,
const nlohmann::json & n )
staticinherited

Definition at line 104 of file JSONParser.cxx.

◆ mkNode() [2/2]

TJSONTree::Node & TJSONTree::Node::Impl::mkNode ( TJSONTree * t,
const std::string & k,
nlohmann::json & n )
staticinherited

Definition at line 98 of file JSONParser.cxx.

Member Data Documentation

◆ _key

std::string TJSONTree::Node::Impl::_key
inherited

Definition at line 66 of file JSONParser.cxx.

◆ node

nlohmann::json& TJSONTree::Node::Impl::NodeRef::node
private

Definition at line 89 of file JSONParser.cxx.


The documentation for this class was generated from the following file: