Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Launcher v4.9.0
|
Description of the class TCodeFile. More...
#include <TCodeFile.h>
Public Member Functions | |
Constructor and Destructor | |
TCodeFile (TString str) | |
Default constructor. | |
virtual | ~TCodeFile () |
Default destructor. | |
Add attribut to the File | |
virtual void | addAttribute (URANIE::DataServer::TAttribute *) |
Add the attribute in the file. | |
Other Setting and Getting | |
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. | |
The Log | |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
virtual void | printLog (Option_t *option="") |
Public Attributes | |
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 TCodeFile.
To be written by the developper.
Constructor & Destructor Documentation
◆ TCodeFile()
URANIE::Launcher::TCodeFile::TCodeFile | ( | TString | str | ) |
Default constructor.
Referenced by ClassImp().
◆ ~TCodeFile()
|
virtual |
Default destructor.
Referenced by ClassImp().
Member Function Documentation
◆ addAttribute()
|
virtual |
Add the attribute in the file.
Reimplemented in URANIE::Launcher::TInputFile, URANIE::Launcher::TInputFileFMU, and URANIE::Launcher::TOutputFile.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and ClassImp().
◆ changeLog()
|
inline |
References _blog.
◆ getAttribute()
URANIE::DataServer::TAttribute * URANIE::Launcher::TCodeFile::getAttribute | ( | Int_t | ind | ) |
Referenced by ClassImp(), and ClassImp().
◆ getAttributesNumber()
Int_t URANIE::Launcher::TCodeFile::getAttributesNumber | ( | ) | const |
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and getNAttributes().
◆ getBegEndProperties()
|
inline |
References _sstrbeg, _sstrend, _svecbeg, and _svecend.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and ClassImp().
◆ getCommentCharacter()
|
inline |
References _cComments.
◆ getFieldSeparatorCharacter()
|
inline |
References _cFieldSeparator.
◆ getFileName()
|
inline |
References _sFileName.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and ClassImp().
◆ getLog()
|
inline |
References _blog.
◆ getNAttributes()
|
inline |
References getAttributesNumber().
Referenced by ClassImp().
◆ getSeparatorCharacter()
|
inline |
References _cSeparators.
◆ isAttribute()
Bool_t URANIE::Launcher::TCodeFile::isAttribute | ( | TString | sAttributeName | ) |
Verify is the attribute given by the name is is the list of attribute.
- Parameters
-
sAttributeName (TString) the name of the attribute to test if exist
- Returns
- true if the attribute exists in the list of attributes else false
Referenced by ClassImp().
◆ printLog()
|
virtual |
Reimplemented in URANIE::Launcher::TInputFile, URANIE::Launcher::TInputFileFMU, URANIE::Launcher::TInputFileKey, URANIE::Launcher::TInputFileRecreate, URANIE::Launcher::TInputFileXML, URANIE::Launcher::TOutputFile, URANIE::Launcher::TOutputFileColumn, URANIE::Launcher::TOutputFileDataServer, URANIE::Launcher::TOutputFileFMU, URANIE::Launcher::TOutputFileKey, URANIE::Launcher::TOutputFileRow, and URANIE::Launcher::TOutputFileXML.
Referenced by ClassImp().
◆ setCommentCharacter()
|
inline |
References _cComments.
◆ setFieldSeparatorCharacter()
void URANIE::Launcher::TCodeFile::setFieldSeparatorCharacter | ( | const char * | str | ) |
Referenced by ClassImp().
◆ setLog()
|
inline |
References _blog.
◆ setSeparatorCharacter()
void URANIE::Launcher::TCodeFile::setSeparatorCharacter | ( | const char * | str | ) |
Changes the separator character in the key = value ; The separator character is the symbol "=".
Referenced by ClassImp().
◆ setStringProperties()
|
inline |
◆ setVectorProperties()
|
inline |
◆ unsetLog()
|
inline |
References _blog.
Member Data Documentation
◆ _attributes
vector<URANIE::DataServer::TAttribute *> URANIE::Launcher::TCodeFile::_attributes |
Vector of attributes.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and ClassImp().
◆ _blog
Bool_t URANIE::Launcher::TCodeFile::_blog |
Boolean for edit the log.
Referenced by changeLog(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), URANIE::Launcher::TOutputFileFMU::getListOutputVector(), getLog(), setLog(), and unsetLog().
◆ _cComments
TString URANIE::Launcher::TCodeFile::_cComments |
The set of comment character.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), getCommentCharacter(), and setCommentCharacter().
◆ _cFieldSeparator
TString URANIE::Launcher::TCodeFile::_cFieldSeparator |
the separator to be used in between fields
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and getFieldSeparatorCharacter().
◆ _cSeparators
TString URANIE::Launcher::TCodeFile::_cSeparators |
The set of separator character.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and getSeparatorCharacter().
◆ _sFileName
TString URANIE::Launcher::TCodeFile::_sFileName |
The name of file.
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and getFileName().
◆ _sstrbeg
TString URANIE::Launcher::TCodeFile::_sstrbeg |
Referenced by ClassImp(), getBegEndProperties(), and setStringProperties().
◆ _sstrend
TString URANIE::Launcher::TCodeFile::_sstrend |
string used for the beginning, end and delimitation of vectors and strings
Referenced by getBegEndProperties(), and setStringProperties().
◆ _svecbeg
TString URANIE::Launcher::TCodeFile::_svecbeg |
Referenced by ClassImp(), getBegEndProperties(), and setVectorProperties().
◆ _svecdel
TString URANIE::Launcher::TCodeFile::_svecdel |
Referenced by ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), ClassImp(), and setVectorProperties().
◆ _svecend
TString URANIE::Launcher::TCodeFile::_svecend |
Referenced by getBegEndProperties(), and setVectorProperties().