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

Definition at line 77 of file JSONParser.cxx.

Public Member Functions

 NodeRef (const NodeRef &other)
 
 NodeRef (const std::string &k, nlohmann::json &n)
 
const nlohmann::jsonget () const override
 
nlohmann::jsonget () 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::jsonnode
 

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 83 of file JSONParser.cxx.

◆ NodeRef() [2/2]

Definition at line 84 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 82 of file JSONParser.cxx.

◆ get() [2/2]

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

Implements TJSONTree::Node::Impl.

Definition at line 81 of file JSONParser.cxx.

Member Data Documentation

◆ node

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

Definition at line 78 of file JSONParser.cxx.

  • roofit/jsoninterface/src/JSONParser.cxx