#include <optionVI.h>
Inheritance diagram for optionVI:
Public Methods | |
optionVI () | |
constructor. | |
virtual | ~optionVI () |
default destructor. | |
Protected Methods | |
virtual void | setName (std::string name) |
add the derived object into the optionManager. | |
bool | search (std::string name) const |
returns true if an option with that name is in one of the servers. More... | |
virtual void | defineOption () |
virtual method to be overwriten to define the options of the derived class. | |
void | defineOption (std::string name, std::string* st) |
define a string parameter of the derived class as option string. | |
void | defineOption (std::string name, double* d) |
define a double parameter of the derived class as option double. | |
void | defineOption (std::string name, int* i) |
define a integer paramter of the derived class as option integer. | |
virtual void | setOption (std::string name, std::string c) |
virtual method to set the option in a string parameter. | |
virtual void | setOption (std::string name, double c) |
virtual method to set the option in a double parameter. | |
virtual void | setOption (std::string name, int c) |
virtual method to set the option in a integer/bool parameter. | |
virtual void | writeOutOptions () const |
virtual method to writeOut the option defined in this class. | |
virtual void | clear () |
clear the servers. | |
Private Attributes | |
serverVI<std::string> | m_sserver |
string option server. | |
serverVI<double> | m_dserver |
double option server. | |
serverVI<int> | m_iserver |
integer option server. | |
Friends | |
class | optionServer |
defineOption()
to include the defineOption(parName
, parPointer) methods with the parameter name and the pointer to this parameter. Usually defineOptions()
is just a collection of defineOption(parname
, parpointer). setOption(parName
, parContent). The options are identified with their names. setOption()
are not protected and they not returns information of errors. The external class that set the options should handle that.
Definition at line 29 of file optionVI.h.
|
|
|
|
define a integer paramter of the derived class as option integer.
Definition at line 57 of file optionVI.h.
|
define a double parameter of the derived class as option double.
Definition at line 55 of file optionVI.h.
|
define a string parameter of the derived class as option string.
Definition at line 53 of file optionVI.h.
|
virtual method to be overwriten to define the options of the derived class.
Reimplemented in IOfileServer, algConditionalTask, algorithmTask, cutSelection, cutSelectionTask, eventTask, messageManager, optionManager, processManager, rHisto, and selectionManager.
Definition at line 50 of file optionVI.h.
|
returns true if an option with that name is in one of the servers.
add the object into the optionManager
Reimplemented in IOfileServer.
Definition at line 14 of file optionVI.cpp.
|
add the derived object into the optionManager.
Reimplemented from nameVI.
Reimplemented in serviceI.
Definition at line 6 of file optionVI.cpp.
|
virtual method to set the option in a integer/bool parameter.
Definition at line 64 of file optionVI.h.
|
|
virtual method to set the option in a string parameter.
Reimplemented in IOfileServer, algConditionalTask, algorithmTask, cutSelection, cutSelectionTask, eventTask, messageManager, processManager, and selectionManager.
Definition at line 60 of file optionVI.h.
|
virtual method to writeOut the option defined in this class.
Definition at line 20 of file optionVI.cpp.
|
Definition at line 32 of file optionVI.h.
|
|
|