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

Definition at line 64 of file JSONParser.cxx.

Classes

class  BaseNode
 
class  NodeRef
 

Public Member Functions

 Impl (const std::string &k)
 
virtual ~Impl ()=default
 
virtual const nlohmann::json & get () const =0
 
virtual nlohmann::json & get ()=0
 
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
 
Inheritance diagram for TJSONTree::Node::Impl:
[legend]

Constructor & Destructor Documentation

◆ Impl()

TJSONTree::Node::Impl::Impl ( const std::string &  k)
inline

Definition at line 72 of file JSONParser.cxx.

◆ ~Impl()

virtual TJSONTree::Node::Impl::~Impl ( )
virtualdefault

Member Function Documentation

◆ get() [1/2]

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

◆ get() [2/2]

virtual nlohmann::json & TJSONTree::Node::Impl::get ( )
pure virtual

◆ key()

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

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 
)
static

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 
)
static

Definition at line 98 of file JSONParser.cxx.

Member Data Documentation

◆ _key

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

Definition at line 66 of file JSONParser.cxx.

  • roofit/jsoninterface/src/JSONParser.cxx