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::TOutputFileXML Class Reference
Uranie / Launcher v4.9.0
/* @license-end */
URANIE::Launcher::TOutputFileXML Class Reference

Description of the class TOutputFileXML. More...

#include <TOutputFileXML.h>

Inheritance diagram for URANIE::Launcher::TOutputFileXML:
Collaboration diagram for URANIE::Launcher::TOutputFileXML:

Public Member Functions

Constructor and Destructor
 TOutputFileXML (TString str)
 Default constructor.
 
virtual ~TOutputFileXML ()
 Default destructor.
 
Add attribut to the File
void addAttribute (URANIE::DataServer::TAttribute *att, TString xmlPath, URANIE::DataServer::TAttributeFileKey::EFileType FileType)
 Add the attribute in the file.
 
void addAttribute (TString sname, TString xmlPath, URANIE::DataServer::TAttributeFileKey::EFileType FileType)
 
Computes Output
Bool_t searchOutput (Int_t &n, Double_t *val, TList *lstOut=NULL)
 Looking for output usindouble only and transmitting matrix (not used by launcher anymore)
 
Bool_t searchOutput (vector< URANIE::DataServer::UEntry * > *out)
 Looking for output using a map to be able to cope with vectors/strings.
 
Printing Log
void printLog (Option_t *option="")
 
- Public Member Functions inherited from URANIE::Launcher::TOutputFile
 TOutputFile (TString str)
 Default constructor.
 
virtual ~TOutputFile ()
 Default destructor.
 
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.
 
- 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 TOutputFileXML.

This classe enables to raise information from an XML file

Constructor & Destructor Documentation

◆ TOutputFileXML()

URANIE::Launcher::TOutputFileXML::TOutputFileXML ( TString  str)

Default constructor.

Parameters
strName of the XML output file

Referenced by ClassImp().

◆ ~TOutputFileXML()

virtual URANIE::Launcher::TOutputFileXML::~TOutputFileXML ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addAttribute() [1/2]

void URANIE::Launcher::TOutputFileXML::addAttribute ( TString  sname,
TString  xmlPath,
URANIE::DataServer::TAttributeFileKey::EFileType  FileType 
)

Add the attribute by this name in the file); Add the attribute by this name in the file

Parameters
sname(TString) the name of the attribute to created.
xmlPath(TString) the xml path for the attribute in the file.
FileType(URANIE::DataServer::TAttributeFileKey::EFileType) type of the output file (must be kXMLAttribute or kXMLField)

◆ addAttribute() [2/2]

void URANIE::Launcher::TOutputFileXML::addAttribute ( URANIE::DataServer::TAttribute *  att,
TString  xmlPath,
URANIE::DataServer::TAttributeFileKey::EFileType  FileType 
)

Add the attribute in the file.

Parameters
att(URANIE::DataServer::TAttribute*) the pointer to the attribute
xmlPath(TString) the xml path for the attribute in the file.
FileType(URANIE::DataServer::TAttributeFileKey::EFileType) type of the output file (must be kXMLAttribute or kXMLField)

Referenced by ClassImp().

◆ printLog()

void URANIE::Launcher::TOutputFileXML::printLog ( Option_t *  option = "")
virtual

Reimplemented from URANIE::Launcher::TOutputFile.

Referenced by ClassImp().

◆ searchOutput() [1/2]

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

Looking for output usindouble only and transmitting matrix (not used by launcher anymore)

Implements URANIE::Launcher::TOutputFile.

Referenced by ClassImp().

◆ searchOutput() [2/2]

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

Looking for output using a map to be able to cope with vectors/strings.

Implements URANIE::Launcher::TOutputFile.