Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::RModel_Base Class Reference

Definition at line 36 of file RModel_Base.hxx.

Public Member Functions

 RModel_Base ()=default
 Default constructor.
 
 RModel_Base (std::string function_name)
 
 RModel_Base (std::string name, std::string parsedtime)
 
void AddBlasRoutines (std::vector< std::string > routines)
 
void AddNeededCustomHeader (std::string filename)
 
void AddNeededStdLib (std::string libname)
 
void GenerateHeaderInfo (std::string &hgname)
 
std::string GetFilename ()
 
const std::string & GetName () const
 
void OutputGenerated (std::string filename="", bool append=false)
 
void PrintGenerated ()
 
std::string ReturnGenerated ()
 
void SetFilename (std::string filename)
 

Protected Attributes

const std::unordered_set< std::string > fAllowedStdLib = {"vector", "algorithm", "cmath"}
 
std::unordered_set< std::string > fCustomOpHeaders
 
std::string fFileName
 
std::string fGC
 
bool fIsGNN = false
 
bool fIsGNNComponent = false
 
std::string fName = "UnnamedModel"
 
std::unordered_set< std::string > fNeededBlasRoutines
 
std::unordered_set< std::string > fNeededStdLib = {"vector"}
 
std::string fParseTime
 
bool fUseSession = true
 
bool fUseWeightFile = true
 
WeightFileType fWeightFile = WeightFileType::Text
 

#include <TMVA/RModel_Base.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::RModel_Base:
[legend]

Constructor & Destructor Documentation

◆ RModel_Base() [1/3]

TMVA::Experimental::SOFIE::RModel_Base::RModel_Base ( )
default

Default constructor.

Needed to allow serialization of ROOT objects. See https://root.cern/manual/io_custom_classes/#restrictions-on-types-root-io-can-handle

◆ RModel_Base() [2/3]

TMVA::Experimental::SOFIE::RModel_Base::RModel_Base ( std::string  name,
std::string  parsedtime 
)

Definition at line 10 of file RModel_Base.cxx.

◆ RModel_Base() [3/3]

TMVA::Experimental::SOFIE::RModel_Base::RModel_Base ( std::string  function_name)
inline

Definition at line 67 of file RModel_Base.hxx.

Member Function Documentation

◆ AddBlasRoutines()

void TMVA::Experimental::SOFIE::RModel_Base::AddBlasRoutines ( std::vector< std::string >  routines)
inline

Definition at line 69 of file RModel_Base.hxx.

◆ AddNeededCustomHeader()

void TMVA::Experimental::SOFIE::RModel_Base::AddNeededCustomHeader ( std::string  filename)
inline

Definition at line 81 of file RModel_Base.hxx.

◆ AddNeededStdLib()

void TMVA::Experimental::SOFIE::RModel_Base::AddNeededStdLib ( std::string  libname)
inline

Definition at line 75 of file RModel_Base.hxx.

◆ GenerateHeaderInfo()

void TMVA::Experimental::SOFIE::RModel_Base::GenerateHeaderInfo ( std::string &  hgname)

Definition at line 15 of file RModel_Base.cxx.

◆ GetFilename()

std::string TMVA::Experimental::SOFIE::RModel_Base::GetFilename ( )
inline

Definition at line 91 of file RModel_Base.hxx.

◆ GetName()

const std::string & TMVA::Experimental::SOFIE::RModel_Base::GetName ( ) const
inline

Definition at line 92 of file RModel_Base.hxx.

◆ OutputGenerated()

void TMVA::Experimental::SOFIE::RModel_Base::OutputGenerated ( std::string  filename = "",
bool  append = false 
)

Definition at line 62 of file RModel_Base.cxx.

◆ PrintGenerated()

void TMVA::Experimental::SOFIE::RModel_Base::PrintGenerated ( )
inline

Definition at line 86 of file RModel_Base.hxx.

◆ ReturnGenerated()

std::string TMVA::Experimental::SOFIE::RModel_Base::ReturnGenerated ( )
inline

Definition at line 88 of file RModel_Base.hxx.

◆ SetFilename()

void TMVA::Experimental::SOFIE::RModel_Base::SetFilename ( std::string  filename)
inline

Definition at line 90 of file RModel_Base.hxx.

Member Data Documentation

◆ fAllowedStdLib

const std::unordered_set<std::string> TMVA::Experimental::SOFIE::RModel_Base::fAllowedStdLib = {"vector", "algorithm", "cmath"}
protected

Definition at line 46 of file RModel_Base.hxx.

◆ fCustomOpHeaders

std::unordered_set<std::string> TMVA::Experimental::SOFIE::RModel_Base::fCustomOpHeaders
protected

Definition at line 48 of file RModel_Base.hxx.

◆ fFileName

std::string TMVA::Experimental::SOFIE::RModel_Base::fFileName
protected

Definition at line 39 of file RModel_Base.hxx.

◆ fGC

std::string TMVA::Experimental::SOFIE::RModel_Base::fGC
protected

Definition at line 51 of file RModel_Base.hxx.

◆ fIsGNN

bool TMVA::Experimental::SOFIE::RModel_Base::fIsGNN = false
protected

Definition at line 54 of file RModel_Base.hxx.

◆ fIsGNNComponent

bool TMVA::Experimental::SOFIE::RModel_Base::fIsGNNComponent = false
protected

Definition at line 55 of file RModel_Base.hxx.

◆ fName

std::string TMVA::Experimental::SOFIE::RModel_Base::fName = "UnnamedModel"
protected

Definition at line 50 of file RModel_Base.hxx.

◆ fNeededBlasRoutines

std::unordered_set<std::string> TMVA::Experimental::SOFIE::RModel_Base::fNeededBlasRoutines
protected

Definition at line 44 of file RModel_Base.hxx.

◆ fNeededStdLib

std::unordered_set<std::string> TMVA::Experimental::SOFIE::RModel_Base::fNeededStdLib = {"vector"}
protected

Definition at line 47 of file RModel_Base.hxx.

◆ fParseTime

std::string TMVA::Experimental::SOFIE::RModel_Base::fParseTime
protected

Definition at line 40 of file RModel_Base.hxx.

◆ fUseSession

bool TMVA::Experimental::SOFIE::RModel_Base::fUseSession = true
protected

Definition at line 53 of file RModel_Base.hxx.

◆ fUseWeightFile

bool TMVA::Experimental::SOFIE::RModel_Base::fUseWeightFile = true
protected

Definition at line 52 of file RModel_Base.hxx.

◆ fWeightFile

WeightFileType TMVA::Experimental::SOFIE::RModel_Base::fWeightFile = WeightFileType::Text
protected

Definition at line 42 of file RModel_Base.hxx.

  • tmva/sofie/inc/TMVA/RModel_Base.hxx
  • tmva/sofie/src/RModel_Base.cxx