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

Definition at line 78 of file JSONParser.cxx.

Public Member Functions

 BaseNode ()
 BaseNode (std::istream &is)
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::BaseNode:
TJSONTree::Node::Impl

Constructor & Destructor Documentation

◆ BaseNode() [1/2]

TJSONTree::Node::Impl::BaseNode::BaseNode ( std::istream & is)
inline

Definition at line 84 of file JSONParser.cxx.

◆ BaseNode() [2/2]

TJSONTree::Node::Impl::BaseNode::BaseNode ( )
inline

Definition at line 85 of file JSONParser.cxx.

Member Function Documentation

◆ get() [1/2]

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

Implements TJSONTree::Node::Impl.

Definition at line 83 of file JSONParser.cxx.

◆ get() [2/2]

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

Implements TJSONTree::Node::Impl.

Definition at line 82 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::BaseNode::node
private

Definition at line 79 of file JSONParser.cxx.


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