Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TJSONTree Class Reference

Definition at line 22 of file JSONParser.h.

Classes

class  Node
 

Public Member Functions

 TJSONTree ()
 
 TJSONTree (std::istream &is)
 
 ~TJSONTree () override
 
TJSONTree::Nodeincache (const TJSONTree::Node &n)
 
Noderootnode () override
 

Static Public Member Functions

static std::unique_ptr< JSONTree > create ()
 
static std::unique_ptr< JSONTree > create (std::istream &is)
 
static std::unique_ptr< JSONTree > create (std::string const &str)
 

Protected Member Functions

void clearcache ()
 

Protected Attributes

std::list< Node_nodecache
 
Node root
 

Static Private Member Functions

template<typename... Args>
static std::unique_ptr< JSONTree > createImpl (Args &&...args)
 

#include </github/home/ROOT-CI/src/roofit/jsoninterface/src/JSONParser.h>

Inheritance diagram for TJSONTree:
[legend]

Constructor & Destructor Documentation

◆ TJSONTree() [1/2]

TJSONTree::TJSONTree ( )

Definition at line 32 of file JSONParser.cxx.

◆ ~TJSONTree()

TJSONTree::~TJSONTree ( )
override

Definition at line 36 of file JSONParser.cxx.

◆ TJSONTree() [2/2]

TJSONTree::TJSONTree ( std::istream & is)

Definition at line 34 of file JSONParser.cxx.

Member Function Documentation

◆ clearcache()

void TJSONTree::clearcache ( )
protected

Definition at line 57 of file JSONParser.cxx.

◆ create() [1/3]

std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create ( )
staticinherited

Definition at line 82 of file JSONInterface.cxx.

◆ create() [2/3]

std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create ( std::istream & is)
staticinherited

Definition at line 87 of file JSONInterface.cxx.

◆ create() [3/3]

std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::create ( std::string const & str)
staticinherited

Definition at line 92 of file JSONInterface.cxx.

◆ createImpl()

template<typename... Args>
std::unique_ptr< JSONTree > RooFit::Detail::JSONTree::createImpl ( Args &&... args)
staticprivateinherited

Definition at line 77 of file JSONInterface.cxx.

◆ incache()

TJSONTree::Node & TJSONTree::incache ( const TJSONTree::Node & n)

Definition at line 41 of file JSONParser.cxx.

◆ rootnode()

Node & TJSONTree::rootnode ( )
inlineoverridevirtual

Implements RooFit::Detail::JSONTree.

Definition at line 89 of file JSONParser.h.

Member Data Documentation

◆ _nodecache

std::list<Node> TJSONTree::_nodecache
protected

Definition at line 80 of file JSONParser.h.

◆ root

Node TJSONTree::root
protected

Definition at line 79 of file JSONParser.h.

  • roofit/jsoninterface/src/JSONParser.h
  • roofit/jsoninterface/src/JSONParser.cxx