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 loadFactoryExpressions (const std::string &fname)
 
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

using RooFit::JSONIO::ExportKeysMap = typedef std::map<TClass const *, ExportKeys>

Definition at line 76 of file JSONIO.h.

◆ ExportMap

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

Definition at line 75 of file JSONIO.h.

◆ ImportExpressionMap

using RooFit::JSONIO::ImportExpressionMap = typedef std::map<const std::string, ImportExpression>

Definition at line 77 of file JSONIO.h.

◆ ImportMap

using RooFit::JSONIO::ImportMap = typedef 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 236 of file JSONIO.cxx.

◆ clearFactoryExpressions()

void RooFit::JSONIO::clearFactoryExpressions ( )

Definition at line 174 of file JSONIO.cxx.

◆ exporters()

ExportMap & RooFit::JSONIO::exporters ( )

Definition at line 48 of file JSONIO.cxx.

◆ exportKeys()

ExportKeysMap & RooFit::JSONIO::exportKeys ( )

Definition at line 61 of file JSONIO.cxx.

◆ importers()

ImportMap & RooFit::JSONIO::importers ( )

Definition at line 42 of file JSONIO.cxx.

◆ importExpressions()

ImportExpressionMap & RooFit::JSONIO::importExpressions ( )

Definition at line 54 of file JSONIO.cxx.

◆ loadExportKeys()

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

Definition at line 197 of file JSONIO.cxx.

◆ loadFactoryExpressions()

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

Definition at line 135 of file JSONIO.cxx.

◆ printExporters()

void RooFit::JSONIO::printExporters ( )

Definition at line 124 of file JSONIO.cxx.

◆ printExportKeys()

void RooFit::JSONIO::printExportKeys ( )

Definition at line 242 of file JSONIO.cxx.

◆ printFactoryExpressions()

void RooFit::JSONIO::printFactoryExpressions ( )

Definition at line 180 of file JSONIO.cxx.

◆ printImporters()

void RooFit::JSONIO::printImporters ( )

Definition at line 114 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 75 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 68 of file JSONIO.cxx.

◆ removeExporters()

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

Definition at line 98 of file JSONIO.cxx.

◆ removeImporters()

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

Definition at line 82 of file JSONIO.cxx.

◆ setupKeys()

void RooFit::JSONIO::setupKeys ( )

Definition at line 28 of file JSONIO.cxx.