English Français

Documentation / Manuel développeur

Modules disponibles

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

Description of the class TXMLProblem. More...

#include <TXMLProblem.h>

Inheritance diagram for URANIE::DataServer::TXMLProblem:
Collaboration diagram for URANIE::DataServer::TXMLProblem:

Public Member Functions

Constructor and Destructor
 TXMLProblem ()
 Default constructor.
 
 TXMLProblem (TString filename, Bool_t blog=kFALSE)
 constructor with the XML File
 
virtual ~TXMLProblem ()
 Default destructor.
 
Setter and getter methods
Int_t getLevelDebug ()
 Gets the debug level.
 
void setLevelDebug (Int_t val)
 Sets the debug level.
 
TDataServergetDataServer ()
 
Reading of the XML data
Int_t parseFile (TString filename)
 Reads the XML data.
 
Execute the actions
virtual void init (Option_t *option="")
 Init phase of the code.
 
virtual void run (Option_t *option="")
 Running phase of the code.
 
virtual void terminate (Option_t *option="")
 Ending phase of the code.
 
virtual void clean (Option_t *option="")
 Cleans the working directory of the code.
 
Printing Log
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 
virtual void printLog (Option_t *option="")
 

Protected Member Functions

Parse the different nodes

‍The list of actions to do

virtual void parseNodeHeader (TXMLNode *)
 Parses the node "description".
 
virtual void parseNodeDataDictionary (TXMLNode *)
 Parses the node "data".
 
virtual void parseNodeDataVariables (TXMLNode *)
 Parses the node "data/Variables".
 
virtual void parseNodeDataField (TXMLNode *)
 Parses the node "data/Variables/Variable".
 
virtual void parseNodeModels (TXMLNode *)
 Parses the node "models".
 
virtual void parseNodePatterns (TXMLNode *, TBaseModel *)
 Parses the node "models/model".
 
virtual void parseNodeModelerAlgorithm (TXMLNode *, TBaseModel *)
 Parses the node "modeler/algorithm".
 
virtual TString parseNodePatternSelected (TXMLNode *)
 Parses the node "models/patterns/select".
 
virtual void parseNodeModel (TXMLNode *, TBaseModel *)
 Parses the node "models/model".
 
The Launcher node
void parseAndRunNodeLauncher (TXMLNode *)
 Parses and runs the node "Launcher".
 
The Sampler node
void parseAndRunNodeSampler (TXMLNode *)
 Parses and Runs the node "sampler".
 
The Modeler node
void parseAndRunNodeModeler (TXMLNode *)
 Parses and runs the node "Launcher".
 
virtual void parseAndRunNodeModelerANN (TXMLNode *, TBaseModel *)
 Parses the node "models/model".
 
void addInfoTask (TString sname, TString stitle)
 

Private Attributes

Bool_t _blog
 Log printing.
 
Int_t _ndebuglevel
 Level of debug.
 
Int_t _ntask
 The iterator of the task to do.
 
TDataServer_tds
 The Data Server.
 
TDataServer_tdsdatafield
 The Data Server.
 
vector< TBaseModel * > _vectorOfModels
 The vector of Models.
 
TList * _listOfToDo
 

Detailed Description

Description of the class TXMLProblem.

To be written by the developper.

Constructor & Destructor Documentation

◆ TXMLProblem() [1/2]

URANIE::DataServer::TXMLProblem::TXMLProblem ( )

Default constructor.

Referenced by ClassImp().

◆ TXMLProblem() [2/2]

URANIE::DataServer::TXMLProblem::TXMLProblem ( TString  filename,
Bool_t  blog = kFALSE 
)

constructor with the XML File

◆ ~TXMLProblem()

virtual URANIE::DataServer::TXMLProblem::~TXMLProblem ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addInfoTask()

void URANIE::DataServer::TXMLProblem::addInfoTask ( TString  sname,
TString  stitle 
)
protected

Referenced by ClassImp().

◆ changeLog()

void URANIE::DataServer::TXMLProblem::changeLog ( )
inline

References _blog.

◆ clean()

virtual void URANIE::DataServer::TXMLProblem::clean ( Option_t *  option = "")
virtual

Cleans the working directory of the code.

Referenced by ClassImp().

◆ getDataServer()

TDataServer * URANIE::DataServer::TXMLProblem::getDataServer ( )
inline

References _tds.

◆ getLevelDebug()

Int_t URANIE::DataServer::TXMLProblem::getLevelDebug ( )
inline

Gets the debug level.

References _ndebuglevel.

◆ getLog()

Bool_t URANIE::DataServer::TXMLProblem::getLog ( )
inline

References _blog.

◆ init()

virtual void URANIE::DataServer::TXMLProblem::init ( Option_t *  option = "")
virtual

Init phase of the code.

Referenced by ClassImp().

◆ parseAndRunNodeLauncher()

void URANIE::DataServer::TXMLProblem::parseAndRunNodeLauncher ( TXMLNode *  )
protected

Parses and runs the node "Launcher".

Referenced by ClassImp().

◆ parseAndRunNodeModeler()

void URANIE::DataServer::TXMLProblem::parseAndRunNodeModeler ( TXMLNode *  )
protected

Parses and runs the node "Launcher".

Referenced by ClassImp().

◆ parseAndRunNodeModelerANN()

virtual void URANIE::DataServer::TXMLProblem::parseAndRunNodeModelerANN ( TXMLNode *  ,
TBaseModel  
)
protectedvirtual

Parses the node "models/model".

Referenced by ClassImp().

◆ parseAndRunNodeSampler()

void URANIE::DataServer::TXMLProblem::parseAndRunNodeSampler ( TXMLNode *  )
protected

Parses and Runs the node "sampler".

Referenced by ClassImp().

◆ parseFile()

Int_t URANIE::DataServer::TXMLProblem::parseFile ( TString  filename)

Reads the XML data.

Referenced by ClassImp().

◆ parseNodeDataDictionary()

virtual void URANIE::DataServer::TXMLProblem::parseNodeDataDictionary ( TXMLNode *  )
protectedvirtual

Parses the node "data".

Referenced by ClassImp().

◆ parseNodeDataField()

virtual void URANIE::DataServer::TXMLProblem::parseNodeDataField ( TXMLNode *  )
protectedvirtual

Parses the node "data/Variables/Variable".

Referenced by ClassImp().

◆ parseNodeDataVariables()

virtual void URANIE::DataServer::TXMLProblem::parseNodeDataVariables ( TXMLNode *  )
protectedvirtual

Parses the node "data/Variables".

Referenced by ClassImp().

◆ parseNodeHeader()

virtual void URANIE::DataServer::TXMLProblem::parseNodeHeader ( TXMLNode *  )
protectedvirtual

Parses the node "description".

Referenced by ClassImp().

◆ parseNodeModel()

virtual void URANIE::DataServer::TXMLProblem::parseNodeModel ( TXMLNode *  ,
TBaseModel  
)
protectedvirtual

Parses the node "models/model".

Referenced by ClassImp().

◆ parseNodeModelerAlgorithm()

virtual void URANIE::DataServer::TXMLProblem::parseNodeModelerAlgorithm ( TXMLNode *  ,
TBaseModel  
)
protectedvirtual

Parses the node "modeler/algorithm".

Referenced by ClassImp().

◆ parseNodeModels()

virtual void URANIE::DataServer::TXMLProblem::parseNodeModels ( TXMLNode *  )
protectedvirtual

Parses the node "models".

Referenced by ClassImp().

◆ parseNodePatterns()

virtual void URANIE::DataServer::TXMLProblem::parseNodePatterns ( TXMLNode *  ,
TBaseModel  
)
protectedvirtual

Parses the node "models/model".

Referenced by ClassImp().

◆ parseNodePatternSelected()

virtual TString URANIE::DataServer::TXMLProblem::parseNodePatternSelected ( TXMLNode *  )
protectedvirtual

Parses the node "models/patterns/select".

Referenced by ClassImp().

◆ printLog()

virtual void URANIE::DataServer::TXMLProblem::printLog ( Option_t *  option = "")
virtual

Referenced by ClassImp().

◆ run()

virtual void URANIE::DataServer::TXMLProblem::run ( Option_t *  option = "")
virtual

Running phase of the code.

Referenced by ClassImp().

◆ setLevelDebug()

void URANIE::DataServer::TXMLProblem::setLevelDebug ( Int_t  val)
inline

Sets the debug level.

References _ndebuglevel.

◆ setLog()

void URANIE::DataServer::TXMLProblem::setLog ( )
inline

References _blog.

◆ terminate()

virtual void URANIE::DataServer::TXMLProblem::terminate ( Option_t *  option = "")
virtual

Ending phase of the code.

Referenced by ClassImp().

◆ unsetLog()

void URANIE::DataServer::TXMLProblem::unsetLog ( )
inline

References _blog.

Member Data Documentation

◆ _blog

Bool_t URANIE::DataServer::TXMLProblem::_blog
private

Log printing.

Referenced by changeLog(), ClassImp(), getLog(), setLog(), and unsetLog().

◆ _listOfToDo

TList* URANIE::DataServer::TXMLProblem::_listOfToDo
private

Referenced by ClassImp().

◆ _ndebuglevel

Int_t URANIE::DataServer::TXMLProblem::_ndebuglevel
private

Level of debug.

Referenced by ClassImp(), getLevelDebug(), and setLevelDebug().

◆ _ntask

Int_t URANIE::DataServer::TXMLProblem::_ntask
private

The iterator of the task to do.

Referenced by ClassImp().

◆ _tds

TDataServer* URANIE::DataServer::TXMLProblem::_tds
private

The Data Server.

Referenced by ClassImp(), and getDataServer().

◆ _tdsdatafield

TDataServer* URANIE::DataServer::TXMLProblem::_tdsdatafield
private

The Data Server.

Referenced by ClassImp().

◆ _vectorOfModels

vector<TBaseModel *> URANIE::DataServer::TXMLProblem::_vectorOfModels
private

The vector of Models.

Referenced by ClassImp().