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
 
- Public Member Functions inherited from TJSONTree::Node::Impl
 Impl (const std::string &k)
 
virtual ~Impl ()=default
 
std::string const & key () const
 

Private Attributes

nlohmann::json & node
 

Additional Inherited Members

- Static Public Member Functions inherited from TJSONTree::Node::Impl
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 inherited from TJSONTree::Node::Impl
std::string _key
 
Inheritance diagram for TJSONTree::Node::Impl::NodeRef:
[legend]

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]

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.

Member Data Documentation

◆ node

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

Definition at line 89 of file JSONParser.cxx.

  • roofit/jsoninterface/src/JSONParser.cxx