English Français

Documentation / Developer's manual

Available modules

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

Description of the class TCodeFile. More...

#include <TCodeFile.h>

Inheritance diagram for URANIE::Launcher::TCodeFile:
Collaboration diagram for URANIE::Launcher::TCodeFile:

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 URANIE::Launcher::TCodeFile::~TCodeFile ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addAttribute()

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

◆ changeLog()

void URANIE::Launcher::TCodeFile::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

◆ getBegEndProperties()

void URANIE::Launcher::TCodeFile::getBegEndProperties ( URANIE::DataServer::TAttribute *  att,
TString &  beg,
TString &  end 
)
inline

◆ getCommentCharacter()

const char * URANIE::Launcher::TCodeFile::getCommentCharacter ( )
inline

References _cComments.

◆ getFieldSeparatorCharacter()

const char * URANIE::Launcher::TCodeFile::getFieldSeparatorCharacter ( )
inline

References _cFieldSeparator.

◆ getFileName()

TString URANIE::Launcher::TCodeFile::getFileName ( )
inline

◆ getLog()

Bool_t URANIE::Launcher::TCodeFile::getLog ( )
inline

References _blog.

◆ getNAttributes()

Int_t URANIE::Launcher::TCodeFile::getNAttributes ( ) const
inline

References getAttributesNumber().

Referenced by ClassImp().

◆ getSeparatorCharacter()

const char * URANIE::Launcher::TCodeFile::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()

◆ setCommentCharacter()

void URANIE::Launcher::TCodeFile::setCommentCharacter ( const char *  str)
inline

References _cComments.

◆ setFieldSeparatorCharacter()

void URANIE::Launcher::TCodeFile::setFieldSeparatorCharacter ( const char *  str)

Referenced by ClassImp().

◆ setLog()

void URANIE::Launcher::TCodeFile::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()

void URANIE::Launcher::TCodeFile::setStringProperties ( TString  beg,
TString  end 
)
inline

References _sstrbeg, and _sstrend.

◆ setVectorProperties()

void URANIE::Launcher::TCodeFile::setVectorProperties ( TString  beg,
TString  delim,
TString  end 
)
inline

References _svecbeg, _svecdel, and _svecend.

◆ unsetLog()

void URANIE::Launcher::TCodeFile::unsetLog ( )
inline

References _blog.

Member Data Documentation

◆ _attributes

vector<URANIE::DataServer::TAttribute *> URANIE::Launcher::TCodeFile::_attributes

◆ _blog

◆ _cComments

TString URANIE::Launcher::TCodeFile::_cComments

◆ _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

◆ _sFileName

TString URANIE::Launcher::TCodeFile::_sFileName

◆ _sstrbeg

TString URANIE::Launcher::TCodeFile::_sstrbeg

◆ _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

◆ _svecdel

TString URANIE::Launcher::TCodeFile::_svecdel

◆ _svecend

TString URANIE::Launcher::TCodeFile::_svecend