Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]()  | 
  
    Uranie / Launcher
    v4.10.0
    
   | 
 
Description of the class TOutputFileKey. More...
#include <TOutputFileKey.h>


Public Member Functions | |
Constructor and Destructor  | |
| TOutputFileKey (TString str) | |
| Default constructor.  More... | |
| virtual | ~TOutputFileKey () | 
| Default destructor.  More... | |
Add attribut to the File  | |
| void | addAttribute (URANIE::DataServer::TAttribute *att, TString skey="") | 
| Add the attribute in the file with the key if defined.  More... | |
| void | addAttribute (TString sname, TString skey="") | 
| Add the attribute by this name in the file.  More... | |
Computes Output  | |
| Bool_t | searchOutput (forkcode *fjob, Int_t &n, Double_t *val, TList *lstOut=NULL) | 
| Looking for output usindouble only and transmitting matrix (not used by launcher anymore)  More... | |
| Bool_t | searchOutput (forkcode *fjob, vector< URANIE::DataServer::UEntry *> *out) | 
| Looking for output using a map to be able to cope with vectors/strings.  More... | |
Printing Log  | |
| void | printLog (Option_t *option="") | 
  Public Member Functions inherited from URANIE::Launcher::TOutputFile | |
| TOutputFile (TString str) | |
| Default constructor.  More... | |
| virtual | ~TOutputFile () | 
| Default destructor.  More... | |
| virtual void | addAttribute (URANIE::DataServer::TAttribute *) | 
| Add the attribute in the file.  More... | |
| virtual void | addAttribute (TString name) | 
| Add the attribute by this name in the file.  More... | |
  Public Member Functions inherited from URANIE::Launcher::TCodeFile | |
| TCodeFile (TString str) | |
| Default constructor.  More... | |
| virtual | ~TCodeFile () | 
| Default destructor.  More... | |
| 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.  More... | |
| 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.  More... | |
| TString | _svecbeg | 
| TString | _svecend | 
| TString | _svecdel | 
| TString | _sstrbeg | 
| TString | _sstrend | 
| string used for the beginning, end and delimitation of vectors and strings  More... | |
| TString | _sFileName | 
| The name of file.  More... | |
| Bool_t | _blog | 
| Boolean for edit the log.  More... | |
| TString | _cComments | 
| The set of comment character.  More... | |
| TString | _cSeparators | 
| The set of separator character.  More... | |
| TString | _cFieldSeparator | 
| the separator to be used in between fields  More... | |
Detailed Description
Description of the class TOutputFileKey.
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 :
TOutputFileKey *fout = new TOutputFileKey("_coutwithkey_.dat");
fout->addAttribute(new TAttribute("coutSig"));
fout->addAttribute(new TAttribute("coutMax"));
- See also
 - TOutputFileKeyLine
 
Constructor & Destructor Documentation
◆ TOutputFileKey()
| URANIE::Launcher::TOutputFileKey::TOutputFileKey | ( | TString | str | ) | 
Default constructor.
Referenced by ClassImp().
◆ ~TOutputFileKey()
      
  | 
  virtual | 
Default destructor.
Referenced by ClassImp().
Member Function Documentation
◆ addAttribute() [1/2]
| void URANIE::Launcher::TOutputFileKey::addAttribute | ( | URANIE::DataServer::TAttribute * | att, | 
| TString | skey = ""  | 
        ||
| ) | 
Add the attribute in the file with the key if defined.
- Parameters
 - 
  
att (URANIE::DataServer::TAttribute*) the pointer of attribute skey (TString) [""] the key associated for the attribute in the file. If empty, the name was use.  
Referenced by ClassImp().
◆ addAttribute() [2/2]
| void URANIE::Launcher::TOutputFileKey::addAttribute | ( | TString | sname, | 
| TString | skey = ""  | 
        ||
| ) | 
Add the attribute by this name in the file.
- Parameters
 - 
  
sname (TString) the name of the attribute to created. skey (TString) [""] the key associated for the attribute in the file. If empty, the name was use.  
◆ printLog()
      
  | 
  virtual | 
Reimplemented from URANIE::Launcher::TOutputFile.
Referenced by ClassImp().
◆ searchOutput() [1/2]
      
  | 
  virtual | 
Looking for output usindouble only and transmitting matrix (not used by launcher anymore)
Implements URANIE::Launcher::TOutputFile.
Referenced by ClassImp().
◆ searchOutput() [2/2]
      
  | 
  virtual | 
Looking for output using a map to be able to cope with vectors/strings.
Implements URANIE::Launcher::TOutputFile.
            
            
 Public Member Functions inherited from