1#ifndef TMVA_SOFIE_RMODEL_BASE
2#define TMVA_SOFIE_RMODEL_BASE
5#include <unordered_set>
7#include <unordered_map>
19namespace Experimental {
34std::underlying_type_t<Options>
operator|(std::underlying_type_t<Options> opA,
Options opB);
46 const std::unordered_set<std::string>
fAllowedStdLib = {
"vector",
"algorithm",
"cmath"};
50 std::string
fName =
"UnnamedModel";
71 for (
auto &routine : routines) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
void GenerateHeaderInfo(std::string &hgname)
RModel_Base()=default
Default constructor.
std::unordered_set< std::string > fNeededBlasRoutines
const std::unordered_set< std::string > fAllowedStdLib
RModel_Base(std::string function_name)
std::string GetFilename()
std::unordered_set< std::string > fCustomOpHeaders
void OutputGenerated(std::string filename="", bool append=false)
std::string ReturnGenerated()
std::unordered_set< std::string > fNeededStdLib
const std::string & GetName() const
WeightFileType fWeightFile
void AddBlasRoutines(std::vector< std::string > routines)
void AddNeededStdLib(std::string libname)
void AddNeededCustomHeader(std::string filename)
void SetFilename(std::string filename)
RModel_GNNBase()=default
Default constructor.
virtual void Generate()=0
virtual ~RModel_GNNBase()=default
std::underlying_type_t< Options > operator|(Options opA, Options opB)
create variable transformations