English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: URANIE::Relauncher::TCodeBase Class Reference
Uranie / ReLauncher v4.9.0
/* @license-end */
URANIE::Relauncher::TCodeBase Class Reference

#include <TCodeEval.h>

Inheritance diagram for URANIE::Relauncher::TCodeBase:
Collaboration diagram for URANIE::Relauncher::TCodeBase:

Public Member Functions

 TCodeBase (const char *scmd)
 
virtual ~TCodeBase (void)
 
void addInputFile (TCodeScript *fil)
 
void addOutputFile (TCodeResult *fil)
 
void setReference (TString dir)
 
void setWorkingDir (TString dir)
 
void setOldTmpDir ()
 
void keepAllFolders ()
 
virtual void setTmpDir (int id)
 

Protected Member Functions

void buildDir (void)
 
int putAndRun (Double_t *, int ncalc=-1)
 
int putAndRun (vector< URANIE::DataServer::UEntry * > *, int ncalc=-1)
 

Protected Attributes

TString _cmd
 
TString _origcmd
 
TString _initialdir
 
TString _localdir
 
Bool_t _isnumered
 
Bool_t _keepAllFolders
 
TString _workdir
 
TString _tmpdir
 
TList * _scripts
 
TCodeResult_result
 

Constructor & Destructor Documentation

◆ TCodeBase()

URANIE::Relauncher::TCodeBase::TCodeBase ( const char *  scmd)

References _cmd, _origcmd, _result, and _scripts.

◆ ~TCodeBase()

URANIE::Relauncher::TCodeBase::~TCodeBase ( void  )
virtual

References _scripts, and _tmpdir.

Member Function Documentation

◆ addInputFile()

void URANIE::Relauncher::TCodeBase::addInputFile ( TCodeScript fil)

References _scripts.

◆ addOutputFile()

void URANIE::Relauncher::TCodeBase::addOutputFile ( TCodeResult fil)

References _result.

◆ buildDir()

void URANIE::Relauncher::TCodeBase::buildDir ( void  )
protected

◆ keepAllFolders()

void URANIE::Relauncher::TCodeBase::keepAllFolders ( )

References _keepAllFolders.

◆ putAndRun() [1/2]

int URANIE::Relauncher::TCodeBase::putAndRun ( Double_t *  in,
int  ncalc = -1 
)
protected

◆ putAndRun() [2/2]

int URANIE::Relauncher::TCodeBase::putAndRun ( vector< URANIE::DataServer::UEntry * > *  in,
int  ncalc = -1 
)
protected

◆ setOldTmpDir()

void URANIE::Relauncher::TCodeBase::setOldTmpDir ( )

References _isnumered.

◆ setReference()

void URANIE::Relauncher::TCodeBase::setReference ( TString  dir)

References _localdir.

◆ setTmpDir()

void URANIE::Relauncher::TCodeBase::setTmpDir ( int  id)
virtual

◆ setWorkingDir()

void URANIE::Relauncher::TCodeBase::setWorkingDir ( TString  dir)

References _workdir.

Member Data Documentation

◆ _cmd

TString URANIE::Relauncher::TCodeBase::_cmd
protected

◆ _initialdir

TString URANIE::Relauncher::TCodeBase::_initialdir
protected

Referenced by buildDir().

◆ _isnumered

Bool_t URANIE::Relauncher::TCodeBase::_isnumered
protected

Referenced by setOldTmpDir(), and setTmpDir().

◆ _keepAllFolders

Bool_t URANIE::Relauncher::TCodeBase::_keepAllFolders
protected

◆ _localdir

TString URANIE::Relauncher::TCodeBase::_localdir
protected

◆ _origcmd

TString URANIE::Relauncher::TCodeBase::_origcmd
protected

Referenced by setTmpDir(), and TCodeBase().

◆ _result

◆ _scripts

TList* URANIE::Relauncher::TCodeBase::_scripts
protected

◆ _tmpdir

TString URANIE::Relauncher::TCodeBase::_tmpdir
protected

◆ _workdir

TString URANIE::Relauncher::TCodeBase::_workdir
protected

Referenced by buildDir(), setTmpDir(), and setWorkingDir().