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

Definition at line 94 of file JSONParser.cxx.

Public Member Functions

 NodeRef (const NodeRef &other)
 
 NodeRef (const std::string &k, nlohmann::json &n)
 
virtual const nlohmann::jsonget () const override
 
virtual 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 100 of file JSONParser.cxx.

◆ NodeRef() [2/2]

Definition at line 101 of file JSONParser.cxx.

Member Function Documentation

◆ get() [1/2]

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

Implements TJSONTree::Node::Impl.

Definition at line 99 of file JSONParser.cxx.

◆ get() [2/2]

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

Implements TJSONTree::Node::Impl.

Definition at line 98 of file JSONParser.cxx.

Member Data Documentation

◆ node

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

Definition at line 95 of file JSONParser.cxx.

  • roofit/hs3/src/JSONParser.cxx