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

Description of the class TOutputFileFMU. More...

#include <TOutputFileFMU.h>

Inheritance diagram for URANIE::Launcher::TOutputFileFMU:
Collaboration diagram for URANIE::Launcher::TOutputFileFMU:

Public Member Functions

Constructor and Destructor
 TOutputFileFMU (TString str)
 Default constructor.
 
virtual ~TOutputFileFMU ()
 Default destructor.
 
Setting and Getting attributs
Int_t getNOutputVector ()
 
TArrayI * getListOutputVector ()
 
Add attribut to the File
void addAttribute (URANIE::DataServer::TAttribute *att, TString sKey="")
 Add the attribute in the file.
 
void addAttribute (TString sname, TString sKey="")
 
void searchIndexeOutputAttribute (URANIE::DataServer::TAttribute *attOutput)
 
void addDefaultOutput ()
 
void setVectorValues (vector< vector< double > > vvd)
 
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 setFMU1Import (fmi1_import_t *crtFMU1Import)
 
void setFMU2Import (fmi2_import_t *crtFMU2Import)
 
void setFMUVersion (fmi_version_enu_t theFMUVersion)
 
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 ()
 

Protected Attributes

protected attributes
TString _spwd
 The relative path to suppress.
 
fmi_version_enu_t _sVersion
 The FMU version.
 
fmi1_import_t * _fmi1Import
 The FMU 1.0 Object.
 
fmi2_import_t * _fmi2Import
 The FMU 2.0 Object.
 
Int_t _nOutputVector
 the number of Output which is kVector
 
Int_t _nCrtOutputVector
 the curent number of Output which is kVector
 
TArrayI * _lstOfVector
 The list of RV for kVectors.
 
vector< vector< double > > _vecOutputs
 the vector of stored kVector attributes
 

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 TOutputFileFMU.

This classe enables to raise information from an FMU file

Constructor & Destructor Documentation

◆ TOutputFileFMU()

URANIE::Launcher::TOutputFileFMU::TOutputFileFMU ( TString  str)

Default constructor.

Parameters
strName of the XML output file

Referenced by ClassImp().

◆ ~TOutputFileFMU()

virtual URANIE::Launcher::TOutputFileFMU::~TOutputFileFMU ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addAttribute() [1/2]

void URANIE::Launcher::TOutputFileFMU::addAttribute ( TString  sname,
TString  sKey = "" 
)
Parameters
sname(TString) the name of the attribute to created.
sKey(TString) the sKey for the attribute in the file.

◆ addAttribute() [2/2]

void URANIE::Launcher::TOutputFileFMU::addAttribute ( URANIE::DataServer::TAttribute *  att,
TString  sKey = "" 
)

Add the attribute in the file.

Parameters
att(URANIE::DataServer::TAttribute*) the pointer to the attribute
sKey(TString) the sKey for the attribute in the file.

Referenced by ClassImp().

◆ addDefaultOutput()

void URANIE::Launcher::TOutputFileFMU::addDefaultOutput ( )

Referenced by ClassImp().

◆ getListOutputVector()

TArrayI * URANIE::Launcher::TOutputFileFMU::getListOutputVector ( )
inline

◆ getNOutputVector()

Int_t URANIE::Launcher::TOutputFileFMU::getNOutputVector ( )
inline

References _nOutputVector.

◆ printLog()

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

Reimplemented from URANIE::Launcher::TOutputFile.

Referenced by ClassImp().

◆ searchIndexeOutputAttribute()

void URANIE::Launcher::TOutputFileFMU::searchIndexeOutputAttribute ( URANIE::DataServer::TAttribute *  attOutput)

Referenced by ClassImp().

◆ searchOutput() [1/2]

Bool_t URANIE::Launcher::TOutputFileFMU::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::TOutputFileFMU::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.

◆ setFMU1Import()

void URANIE::Launcher::TOutputFileFMU::setFMU1Import ( fmi1_import_t *  crtFMU1Import)

Referenced by ClassImp().

◆ setFMU2Import()

void URANIE::Launcher::TOutputFileFMU::setFMU2Import ( fmi2_import_t *  crtFMU2Import)

Referenced by ClassImp().

◆ setFMUVersion()

void URANIE::Launcher::TOutputFileFMU::setFMUVersion ( fmi_version_enu_t  theFMUVersion)
inline

References _sVersion.

◆ setVectorValues()

void URANIE::Launcher::TOutputFileFMU::setVectorValues ( vector< vector< double > >  vvd)
inline

References _vecOutputs.

Member Data Documentation

◆ _fmi1Import

fmi1_import_t* URANIE::Launcher::TOutputFileFMU::_fmi1Import
protected

The FMU 1.0 Object.

Referenced by ClassImp().

◆ _fmi2Import

fmi2_import_t* URANIE::Launcher::TOutputFileFMU::_fmi2Import
protected

The FMU 2.0 Object.

Referenced by ClassImp().

◆ _lstOfVector

TArrayI* URANIE::Launcher::TOutputFileFMU::_lstOfVector
protected

The list of RV for kVectors.

Referenced by ClassImp(), and getListOutputVector().

◆ _nCrtOutputVector

Int_t URANIE::Launcher::TOutputFileFMU::_nCrtOutputVector
protected

the curent number of Output which is kVector

Referenced by ClassImp().

◆ _nOutputVector

Int_t URANIE::Launcher::TOutputFileFMU::_nOutputVector
protected

the number of Output which is kVector

Referenced by ClassImp(), and getNOutputVector().

◆ _spwd

TString URANIE::Launcher::TOutputFileFMU::_spwd
protected

The relative path to suppress.

Referenced by ClassImp().

◆ _sVersion

fmi_version_enu_t URANIE::Launcher::TOutputFileFMU::_sVersion
protected

The FMU version.

Referenced by ClassImp(), and setFMUVersion().

◆ _vecOutputs

vector<vector<double> > URANIE::Launcher::TOutputFileFMU::_vecOutputs
protected

the vector of stored kVector attributes

Referenced by ClassImp(), and setVectorValues().