Logo ROOT  
Reference Guide
TJSONTree Class Reference

Definition at line 22 of file JSONParser.h.


class  Node

Public Member Functions

 TJSONTree ()
 TJSONTree (std::istream &is)
 ~TJSONTree () override
TJSONTree::Nodeincache (const TJSONTree::Node &n)
Noderootnode () override
- Public Member Functions inherited from RooFit::Detail::JSONTree
virtual ~JSONTree ()=default
virtual JSONNoderootnode ()=0

Protected Member Functions

void clearcache ()

Protected Attributes

std::list< Node_nodecache
Node root

Additional Inherited Members

- Static Public Member Functions inherited from RooFit::Detail::JSONTree
static std::unique_ptr< JSONTreecreate ()
static std::unique_ptr< JSONTreecreate (std::istream &is)
static std::string getBackend ()
 Returns the name of the library that serves as the backend for the JSON interface, which is either "nlohmann-json" or "rapidyaml". More...
static bool hasBackend (std::string const &name)
 Check if ROOT was compiled with support for a certain JSON backend library. More...
static void setBackend (std::string const &name)
 Set the library that serves as the backend for the JSON interface. More...

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/roofit/jsoninterface/src/JSONParser.h>

Inheritance diagram for TJSONTree:

Constructor & Destructor Documentation

◆ TJSONTree() [1/2]

TJSONTree::TJSONTree ( )

Definition at line 28 of file JSONParser.cxx.

◆ ~TJSONTree()

TJSONTree::~TJSONTree ( )

Definition at line 32 of file JSONParser.cxx.

◆ TJSONTree() [2/2]

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

Definition at line 30 of file JSONParser.cxx.

Member Function Documentation

◆ clearcache()

void TJSONTree::clearcache ( )

Definition at line 63 of file JSONParser.cxx.

◆ incache()

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

Definition at line 37 of file JSONParser.cxx.

◆ rootnode()

TJSONTree::Node & TJSONTree::rootnode ( )

Implements RooFit::Detail::JSONTree.

Definition at line 21 of file JSONParser.cxx.

Member Data Documentation

◆ _nodecache

std::list<Node> TJSONTree::_nodecache

Definition at line 79 of file JSONParser.h.

◆ root

Node TJSONTree::root

Definition at line 78 of file JSONParser.h.

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