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 std::string &key, bool topPriority=true)
 
bool registerExporter (const std::string &key, std::unique_ptr< const Exporter > f, bool topPriority=true)
 
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 setupExportKeys ()
 
void setupFactoryExpressions ()
 

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 311 of file JSONIO.cxx.

◆ clearFactoryExpressions()

void RooFit::JSONIO::clearFactoryExpressions ( )

Definition at line 245 of file JSONIO.cxx.

◆ exporters()

ExportMap & RooFit::JSONIO::exporters ( )

Definition at line 82 of file JSONIO.cxx.

◆ exportKeys()

ExportKeysMap & RooFit::JSONIO::exportKeys ( )

Definition at line 116 of file JSONIO.cxx.

◆ importers()

ImportMap & RooFit::JSONIO::importers ( )

Definition at line 60 of file JSONIO.cxx.

◆ importExpressions()

ImportExpressionMap & RooFit::JSONIO::importExpressions ( )

Definition at line 109 of file JSONIO.cxx.

◆ loadExportKeys() [1/2]

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

Definition at line 268 of file JSONIO.cxx.

◆ loadExportKeys() [2/2]

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

Definition at line 279 of file JSONIO.cxx.

◆ loadFactoryExpressions() [1/2]

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

Definition at line 203 of file JSONIO.cxx.

◆ loadFactoryExpressions() [2/2]

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

Definition at line 214 of file JSONIO.cxx.

◆ printExporters()

void RooFit::JSONIO::printExporters ( )

Definition at line 192 of file JSONIO.cxx.

◆ printExportKeys()

void RooFit::JSONIO::printExportKeys ( )

Definition at line 317 of file JSONIO.cxx.

◆ printFactoryExpressions()

void RooFit::JSONIO::printFactoryExpressions ( )

Definition at line 251 of file JSONIO.cxx.

◆ printImporters()

void RooFit::JSONIO::printImporters ( )

Definition at line 182 of file JSONIO.cxx.

◆ registerExporter() [1/4]

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

Definition at line 95 of file JSONIO.h.

◆ registerExporter() [2/4]

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

Definition at line 137 of file JSONIO.cxx.

◆ registerExporter() [3/4]

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

Definition at line 90 of file JSONIO.h.

◆ registerExporter() [4/4]

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

Definition at line 130 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 85 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 123 of file JSONIO.cxx.

◆ removeExporters()

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

Definition at line 166 of file JSONIO.cxx.

◆ removeImporters()

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

Definition at line 150 of file JSONIO.cxx.

◆ setupExportKeys()

void RooFit::JSONIO::setupExportKeys ( )

Definition at line 32 of file JSONIO.cxx.

◆ setupFactoryExpressions()

void RooFit::JSONIO::setupFactoryExpressions ( )

Definition at line 46 of file JSONIO.cxx.