English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TCode.cxx File Reference
Uranie / Launcher v4.9.0
/* @license-end */
TCode.cxx File Reference

Implementation of the class URANIE::Launcher::TCode. More...

#include <iostream>
#include <sstream>
#include <cstdlib>
#include <string>
#include <algorithm>
#include "TSystem.h"
#include "TLeaf.h"
#include "TCode.h"
#include "UExceptions.h"
#include "TInputFileRecreate.h"
#include "TInputFileKey.h"
#include "TInputFileFlag.h"
#include "TamponTexte.h"
Include dependency graph for TCode.cxx:

Functions

 ClassImp (URANIE::Launcher::TCode) namespace URANIE
 

Detailed Description

Implementation of the class URANIE::Launcher::TCode.

Author
Fabrice Gaudier fabri.nosp@m.ce.g.nosp@m.audie.nosp@m.r@ce.nosp@m.a.fr
Date
mon oct 9th 14:49:25 CEST 2006
Modifications
  • Jean-Baptiste Blanchard 2016/04/08
    • Very large modification so that one can read vectors/strings.
    • Part of TLauncher code is transmitted here (more consistent with every one role)
  • M. Salvoldi (Areva/OCC) 2011/09/28
    • suppress IFDEF WIN32 in init(),
    • replace Form("%s/%s",....) by gSystem->COncatFileName(...) in init() and addInputFile
    • add IFDEF WIN32 to replace "ls -l" by "dir" on Window OS
  • F. Gaudier (2010-12-14 11:38:09)
    • resolve the DI111 and DI113
  • F. Cedric Forgues (C.S.) 2010-10-05: Comments on the warning exception noticing that a working directory doesn't exist. Now a working directory can be specified with on ly a string without any sub directory: you can do setWorkingDirectory("toto") not setWorkingDirectory("toto/toto2")
  • F. Gaudier 2010-05-20 Put the recursive option to kTRUE when create the working directory in the init method throw and catch two exceptions
  • Fabrice Gaudier () Store the index of simulation in the vector of output in the postTraitment method.
  • Cedric Forgues (C.S.) 2010/04/08 The default working directory (when not specified by user) is now _sReferenceDirectory/URANIE so as to prevent the reference directoty to be deleted if setClean() method is used.
  • Cedric Forgues (C.S.) 2009/12/08 Inclusion of the _code->initFileType() method which is the first part of the init() method.

Function Documentation

◆ ClassImp()

ClassImp ( URANIE::Launcher::TCode  )

References URANIE::Launcher::TCode::_blog, URANIE::Launcher::TCode::_listOfInputFiles, URANIE::Launcher::TCode::_nCurrentSimulation, URANIE::Launcher::TCode::_nIndexOfInputToSubstitute, URANIE::Launcher::TCode::_nOfInput, URANIE::Launcher::TCode::_nOfInputToSubstitute, URANIE::Launcher::TCode::_sCommand, URANIE::Launcher::TCode::_sReferenceDirectory, URANIE::Launcher::TCode::_sWorkingDirectory, URANIE::Launcher::TCode::_tds, URANIE::Launcher::TCode::addInputFile(), URANIE::Launcher::TCode::addOutputFile(), URANIE::Launcher::TCode::cleanOutputFiles(), URANIE::Launcher::TCode::copyFiles(), URANIE::Launcher::TCode::createDirectory(), URANIE::Launcher::TCodeFile::getAttribute(), URANIE::Launcher::TCode::getAttribute(), URANIE::Launcher::TCodeFile::getAttributesNumber(), URANIE::Launcher::TCodeFile::getFileName(), URANIE::Launcher::TCode::getInputAttribute(), URANIE::Launcher::TCode::getInputFile(), URANIE::Launcher::TCode::getInputVarNames(), URANIE::Launcher::TCode::getLastInputFile(), URANIE::Launcher::TCode::getNInputAttributes(), URANIE::Launcher::TCode::getNInputFiles(), URANIE::Launcher::TCode::getNOutputAttributes(), URANIE::Launcher::TCode::getNOutputFiles(), URANIE::Launcher::TCode::getOutputFile(), URANIE::Launcher::TCode::getOutputVarNames(), URANIE::Launcher::TCode::init(), URANIE::Launcher::TCode::initFileType(), URANIE::Launcher::TInputFile::isFileToCopy(), URANIE::Launcher::TCode::postTraitment(), URANIE::Launcher::TCode::preTraitment(), URANIE::Launcher::TCode::printLog(), URANIE::Launcher::TInputFile::printLog(), TamponTexteError::printMessage(), URANIE::Launcher::TCode::resetCurrentSimulation(), URANIE::Launcher::TCode::run(), URANIE::Launcher::TCode::runTest(), URANIE::Launcher::TCode::setWorkingDirectory(), URANIE::Launcher::TInputFile::substitue(), URANIE::Launcher::TCode::TCode(), URANIE::Launcher::TCode::terminate(), and URANIE::Launcher::TCode::~TCode().