Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::JSONIO Namespace Reference

Namespaces

namespace  Detail
 

Classes

class  Exporter
 
struct  ExportKeys
 
class  Importer
 
struct  ImportExpression
 

Typedefs

using ExportKeysMap = std::map<TClass const *, ExportKeys>
 
using ExportMap = std::map<TClass const *, std::vector<std::unique_ptr<const Exporter>>>
 
using ImportExpressionMap = std::map<const std::string, ImportExpression>
 
using ImportMap = std::map<const std::string, std::vector<std::unique_ptr<const Importer>>>
 

Functions

void clearExportKeys ()
 
void clearFactoryExpressions ()
 
ExportMapexporters ()
 
ExportKeysMapexportKeys ()
 
ImportMapimporters ()
 
ImportExpressionMapimportExpressions ()
 
void loadExportKeys (const std::string &fname)
 
void loadExportKeys (std::istream &is)
 
void loadFactoryExpressions (const std::string &fname)
 
void loadFactoryExpressions (std::istream &is)
 
void printExporters ()
 
void printExportKeys ()
 
void printFactoryExpressions ()
 
void printImporters ()
 
template<class T >
static bool registerExporter (const TClass *key, bool topPriority=true)
 
bool registerExporter (const TClass *key, std::unique_ptr< const Exporter > f, bool topPriority=true)
 
template<class T >
static bool registerImporter (const std::string &key, bool topPriority=true)
 
bool registerImporter (const std::string &key, std::unique_ptr< const Importer > f, bool topPriority=true)
 
int removeExporters (const std::string &needle)
 
int removeImporters (const std::string &needle)
 
void setupKeys ()
 

Typedef Documentation

◆ ExportKeysMap

Definition at line 76 of file JSONIO.h.

◆ ExportMap

using RooFit::JSONIO::ExportMap = std::map<TClass const *, std::vector<std::unique_ptr<const Exporter>>>

Definition at line 75 of file JSONIO.h.

◆ ImportExpressionMap

Definition at line 77 of file JSONIO.h.

◆ ImportMap

using RooFit::JSONIO::ImportMap = std::map<const std::string, std::vector<std::unique_ptr<const Importer>>>

Definition at line 74 of file JSONIO.h.

Function Documentation

◆ clearExportKeys()

void RooFit::JSONIO::clearExportKeys ( )

Definition at line 254 of file JSONIO.cxx.

◆ clearFactoryExpressions()

void RooFit::JSONIO::clearFactoryExpressions ( )

Definition at line 188 of file JSONIO.cxx.

◆ exporters()

ExportMap & RooFit::JSONIO::exporters ( )

Definition at line 59 of file JSONIO.cxx.

◆ exportKeys()

ExportKeysMap & RooFit::JSONIO::exportKeys ( )

Definition at line 72 of file JSONIO.cxx.

◆ importers()

ImportMap & RooFit::JSONIO::importers ( )

Definition at line 53 of file JSONIO.cxx.

◆ importExpressions()

ImportExpressionMap & RooFit::JSONIO::importExpressions ( )

Definition at line 65 of file JSONIO.cxx.

◆ loadExportKeys() [1/2]

void RooFit::JSONIO::loadExportKeys ( const std::string & fname)

Definition at line 211 of file JSONIO.cxx.

◆ loadExportKeys() [2/2]

void RooFit::JSONIO::loadExportKeys ( std::istream & is)

Definition at line 222 of file JSONIO.cxx.

◆ loadFactoryExpressions() [1/2]

void RooFit::JSONIO::loadFactoryExpressions ( const std::string & fname)

Definition at line 146 of file JSONIO.cxx.

◆ loadFactoryExpressions() [2/2]

void RooFit::JSONIO::loadFactoryExpressions ( std::istream & is)

Definition at line 157 of file JSONIO.cxx.

◆ printExporters()

void RooFit::JSONIO::printExporters ( )

Definition at line 135 of file JSONIO.cxx.

◆ printExportKeys()

void RooFit::JSONIO::printExportKeys ( )

Definition at line 260 of file JSONIO.cxx.

◆ printFactoryExpressions()

void RooFit::JSONIO::printFactoryExpressions ( )

Definition at line 194 of file JSONIO.cxx.

◆ printImporters()

void RooFit::JSONIO::printImporters ( )

Definition at line 125 of file JSONIO.cxx.

◆ registerExporter() [1/2]

template<class T >
static bool RooFit::JSONIO::registerExporter ( const TClass * key,
bool topPriority = true )
static

Definition at line 91 of file JSONIO.h.

◆ registerExporter() [2/2]

bool RooFit::JSONIO::registerExporter ( const TClass * key,
std::unique_ptr< const Exporter > f,
bool topPriority = true )

Definition at line 86 of file JSONIO.cxx.

◆ registerImporter() [1/2]

template<class T >
static bool RooFit::JSONIO::registerImporter ( const std::string & key,
bool topPriority = true )
static

Definition at line 86 of file JSONIO.h.

◆ registerImporter() [2/2]

bool RooFit::JSONIO::registerImporter ( const std::string & key,
std::unique_ptr< const Importer > f,
bool topPriority = true )

Definition at line 79 of file JSONIO.cxx.

◆ removeExporters()

int RooFit::JSONIO::removeExporters ( const std::string & needle)

Definition at line 109 of file JSONIO.cxx.

◆ removeImporters()

int RooFit::JSONIO::removeImporters ( const std::string & needle)

Definition at line 93 of file JSONIO.cxx.

◆ setupKeys()

void RooFit::JSONIO::setupKeys ( )

Definition at line 32 of file JSONIO.cxx.