Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
FuncExporter< RooArg_t, Func > Class Template Reference

template<class RooArg_t, class Func>
class FuncExporter< RooArg_t, Func >

Definition at line 165 of file JSONIOUtils.h.

Public Member Functions

 FuncExporter (Func func, std::string key, bool autoExportDependants)
 
bool autoExportDependants () const override
 
bool exportObject (RooJSONFactoryWSTool *tool, const RooAbsArg *arg, RooFit::Detail::JSONNode &elem) const override
 
std::string const & key () const override
 

Private Attributes

const bool _autoExportDependants
 
const Func _func
 
const std::string _key
 

#include </github/home/ROOT-CI/src/roofit/hs3/src/JSONIOUtils.h>

Inheritance diagram for FuncExporter< RooArg_t, Func >:
[legend]

Constructor & Destructor Documentation

◆ FuncExporter()

template<class RooArg_t , class Func >
FuncExporter< RooArg_t, Func >::FuncExporter ( Func func,
std::string key,
bool autoExportDependants )
inline

Definition at line 167 of file JSONIOUtils.h.

Member Function Documentation

◆ autoExportDependants()

template<class RooArg_t , class Func >
bool FuncExporter< RooArg_t, Func >::autoExportDependants ( ) const
inlineoverridevirtual

Reimplemented from RooFit::JSONIO::Exporter.

Definition at line 172 of file JSONIOUtils.h.

◆ exportObject()

template<class RooArg_t , class Func >
bool FuncExporter< RooArg_t, Func >::exportObject ( RooJSONFactoryWSTool * tool,
const RooAbsArg * arg,
RooFit::Detail::JSONNode & elem ) const
inlineoverridevirtual

Reimplemented from RooFit::JSONIO::Exporter.

Definition at line 173 of file JSONIOUtils.h.

◆ key()

template<class RooArg_t , class Func >
std::string const & FuncExporter< RooArg_t, Func >::key ( ) const
inlineoverridevirtual

Implements RooFit::JSONIO::Exporter.

Definition at line 171 of file JSONIOUtils.h.

Member Data Documentation

◆ _autoExportDependants

template<class RooArg_t , class Func >
const bool FuncExporter< RooArg_t, Func >::_autoExportDependants
private

Definition at line 183 of file JSONIOUtils.h.

◆ _func

template<class RooArg_t , class Func >
const Func FuncExporter< RooArg_t, Func >::_func
private

Definition at line 181 of file JSONIOUtils.h.

◆ _key

template<class RooArg_t , class Func >
const std::string FuncExporter< RooArg_t, Func >::_key
private

Definition at line 182 of file JSONIOUtils.h.

  • roofit/hs3/src/JSONIOUtils.h