English Français

Documentation / Developer's manual

Available modules

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

Description of the class TXMLProblem. More...

#include <TXMLProblem.h>

Inheritance diagram for URANIE::XMLProblem::TXMLProblem:
Collaboration diagram for URANIE::XMLProblem::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.
 
URANIE::DataServer::TDataServer * getDataServer ()
 
Reads XML data
Int_t parseFile (TString filename)
 Reads XML data.
 
Executes the actions
virtual void init (Option_t *option="")
 Initial phase of the code.
 
virtual void run (Option_t *option="")
 Runs phase of the code.
 
virtual void terminate (Option_t *option="")
 Terminates phase of the code.
 
virtual void clean (Option_t *option="")
 Cleans the working directory of the code.
 
void addInfoTask (TString sname, TString stitle)
 add Informations the the Task List to do
 
Log Printing
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 
virtual void printLog (Option_t *option="")
 

Protected Member Functions

Parse the data nodes

‍The list of actions to do

virtual void parseNodeHeader (TXMLNode *)
 Parses the node "description".
 
virtual void parseNodeDataDictionary (TXMLNode *)
 Parses the node "DataDictionary".
 
virtual void parseNodeDataField (TXMLNode *)
 Parses the node "DataDictionary/DataField".
 
virtual void parseNodePatterns (TXMLNode *, TBaseModel *)
 Parses the node "models/model".
 
virtual TString parseNodePatternSelected (TXMLNode *)
 Parses the node "models/patterns/select".
 
virtual void parseNodeModelerAlgorithm (TXMLNode *, TBaseModel *)
 Parses the node "modeler/algorithm".
 
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 *)
 Parse and run the node "Modeler".
 
virtual void parseAndRunNodeModelerLinearRegression (TXMLNode *, TBaseModel *)
 Parse the node "Modeler/LinearRegression".
 

Private Attributes

Bool_t _blog
 Log Printing.
 
Int_t _ndebuglevel
 Level of debug.
 
Int_t _ntask
 The iterator of the task to do.
 
URANIE::DataServer::TDataServer * _tds
 The Data Server.
 
URANIE::DataServer::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::XMLProblem::TXMLProblem::TXMLProblem ( )

Default constructor.

Referenced by ClassImp().

◆ TXMLProblem() [2/2]

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

constructor with the XML File

◆ ~TXMLProblem()

virtual URANIE::XMLProblem::TXMLProblem::~TXMLProblem ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ addInfoTask()

void URANIE::XMLProblem::TXMLProblem::addInfoTask ( TString  sname,
TString  stitle 
)

add Informations the the Task List to do

Parameters
sname(TString) : the name of the task
stitle(TStrinh) : the task

Referenced by ClassImp().

◆ changeLog()

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

References _blog.

◆ clean()

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

Cleans the working directory of the code.

Referenced by ClassImp().

◆ getDataServer()

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

References _tds.

◆ getLevelDebug()

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

Gets the debug level.

References _ndebuglevel.

◆ getLog()

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

References _blog.

◆ init()

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

Initial phase of the code.

Referenced by ClassImp().

◆ parseAndRunNodeLauncher()

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

Parses and runs the node "Launcher".

Referenced by ClassImp().

◆ parseAndRunNodeModeler()

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

Parse and run the node "Modeler".

Referenced by ClassImp().

◆ parseAndRunNodeModelerLinearRegression()

virtual void URANIE::XMLProblem::TXMLProblem::parseAndRunNodeModelerLinearRegression ( TXMLNode *  ,
TBaseModel  
)
protectedvirtual

Parse the node "Modeler/LinearRegression".

Referenced by ClassImp().

◆ parseAndRunNodeSampler()

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

Parses and Runs the node "sampler".

Referenced by ClassImp().

◆ parseFile()

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

Reads XML data.

Referenced by ClassImp().

◆ parseNodeDataDictionary()

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

Parses the node "DataDictionary".

Referenced by ClassImp().

◆ parseNodeDataField()

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

Parses the node "DataDictionary/DataField".

Referenced by ClassImp().

◆ parseNodeHeader()

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

Parses the node "description".

Referenced by ClassImp().

◆ parseNodeModelerAlgorithm()

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

Parses the node "modeler/algorithm".

Referenced by ClassImp().

◆ parseNodePatterns()

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

Parses the node "models/model".

Referenced by ClassImp().

◆ parseNodePatternSelected()

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

Parses the node "models/patterns/select".

Referenced by ClassImp().

◆ printLog()

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

Referenced by ClassImp().

◆ run()

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

Runs phase of the code.

Referenced by ClassImp().

◆ setLevelDebug()

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

Sets the debug level.

References _ndebuglevel.

◆ setLog()

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

References _blog.

◆ terminate()

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

Terminates phase of the code.

Referenced by ClassImp().

◆ unsetLog()

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

References _blog.

Member Data Documentation

◆ _blog

Bool_t URANIE::XMLProblem::TXMLProblem::_blog
private

Log Printing.

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

◆ _listOfToDo

TList* URANIE::XMLProblem::TXMLProblem::_listOfToDo
private

Referenced by ClassImp().

◆ _ndebuglevel

Int_t URANIE::XMLProblem::TXMLProblem::_ndebuglevel
private

Level of debug.

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

◆ _ntask

Int_t URANIE::XMLProblem::TXMLProblem::_ntask
private

The iterator of the task to do.

Referenced by ClassImp().

◆ _tds

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

The Data Server.

Referenced by ClassImp(), and getDataServer().

◆ _tdsdatafield

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

The Data Server.

Referenced by ClassImp().

◆ _vectorOfModels

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

The vector of Models.

Referenced by ClassImp().