English Français

Documentation / Manuel développeur

Modules disponibles

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

Description of the class TOutputFile. More...

#include <TOutputFile.h>

Inheritance diagram for URANIE::Launcher::TOutputFile:
Collaboration diagram for URANIE::Launcher::TOutputFile:

Public Member Functions

Constructor and Destructor
 TOutputFile (TString str)
 Default constructor.
 
virtual ~TOutputFile ()
 Default destructor.
 
Add attribut to the File
virtual void addAttribute (URANIE::DataServer::TAttribute *)
 Add the attribute in the file.
 
virtual void addAttribute (TString name)
 Add the attribute by this name in the file.
 
Computes Output
virtual Bool_t searchOutput (Int_t &n, Double_t *val, TList *lstOut=NULL)=0
 
virtual Bool_t searchOutput (vector< URANIE::DataServer::UEntry * > *out)=0
 
Printing Log
virtual void printLog (Option_t *option="")
 
- Public Member Functions inherited from URANIE::Launcher::TCodeFile
 TCodeFile (TString str)
 Default constructor.
 
virtual ~TCodeFile ()
 Default destructor.
 
TString getFileName ()
 
void setCommentCharacter (const char *str)
 
const char * getCommentCharacter ()
 
void setSeparatorCharacter (const char *str)
 
const char * getSeparatorCharacter ()
 
void setFieldSeparatorCharacter (const char *str)
 
const char * getFieldSeparatorCharacter ()
 
URANIE::DataServer::TAttribute * getAttribute (Int_t ind)
 
Int_t getAttributesNumber () const
 
Int_t getNAttributes () const
 
void setVectorProperties (TString beg, TString delim, TString end)
 
void setStringProperties (TString beg, TString end)
 
void getBegEndProperties (URANIE::DataServer::TAttribute *att, TString &beg, TString &end)
 
Bool_t isAttribute (TString sAttributeName)
 Verify is the attribute given by the name is is the list of attribute.
 
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 

Additional Inherited Members

- Public Attributes inherited from URANIE::Launcher::TCodeFile
vector< URANIE::DataServer::TAttribute * > _attributes
 Vector of attributes.
 
TString _svecbeg
 
TString _svecend
 
TString _svecdel
 
TString _sstrbeg
 
TString _sstrend
 string used for the beginning, end and delimitation of vectors and strings
 
TString _sFileName
 The name of file.
 
Bool_t _blog
 Boolean for edit the log.
 
TString _cComments
 The set of comment character.
 
TString _cSeparators
 The set of separator character.
 
TString _cFieldSeparator
 the separator to be used in between fields
 

Detailed Description

Description of the class TOutputFile.

This classe enables to raise information from an ASCII file with the "Clef = valeur ;" formalism

coutMoy = 3.741194e-01 ;
coutSig = 1.385948e-02 ;
coutInc = 1.000000e+02 ;
coutMax = 5.293728e-01 ;

Thus, to raise the 2 informations coutSig and coutMax from file _coutwithkey_.dat exposed above, the code of Uranie is as follows :

TOutputFile *fout = new TOutputFile("outputfile.dat");

fout->addAttribute(new TAttribute("coutSig"));
fout->addAttribute(new TAttribute("coutMax"));
See also
TOutputFileRow, TOutputFileColumn, TOutputFileKey and TOutputFileDataServer

Constructor & Destructor Documentation

◆ TOutputFile()

URANIE::Launcher::TOutputFile::TOutputFile ( TString  str)

Default constructor.

Referenced by ClassImp().

◆ ~TOutputFile()

virtual URANIE::Launcher::TOutputFile::~TOutputFile ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addAttribute() [1/2]

virtual void URANIE::Launcher::TOutputFile::addAttribute ( TString  name)
virtual

Add the attribute by this name in the file.

◆ addAttribute() [2/2]

virtual void URANIE::Launcher::TOutputFile::addAttribute ( URANIE::DataServer::TAttribute *  )
virtual

Add the attribute in the file.

Reimplemented from URANIE::Launcher::TCodeFile.

Referenced by ClassImp().

◆ printLog()

◆ searchOutput() [1/2]

virtual Bool_t URANIE::Launcher::TOutputFile::searchOutput ( Int_t &  n,
Double_t *  val,
TList *  lstOut = NULL 
)
pure virtual

◆ searchOutput() [2/2]

virtual Bool_t URANIE::Launcher::TOutputFile::searchOutput ( vector< URANIE::DataServer::UEntry * > *  out)
pure virtual