Class describing an input variable. More...
#include <Variable.h>
Classes | |
class | Value |
Helper class that can contain an identifier-value pair. More... | |
class | ValueList |
Helper class that can contain an list of identifier-value pairs. More... | |
Public Types | |
enum | Flags { FLAG_NONE = 0, FLAG_OPTIONAL = 1 << 0, FLAG_MULTIPLE = 1 << 1, FLAG_ALL = (1 << 2) - 1 } |
Public Member Functions | |
Flags | getFlags () const |
const AtomicId | getName () const |
bool | isMultiple () const |
bool | isOptional () const |
Variable () | |
Variable (const Variable &orig) | |
Variable (AtomicId name, Flags flags=FLAG_NONE) | |
Private Attributes | |
Flags | flags |
AtomicId | name |
Class describing an input variable.
The class Variable describes an input variable by its name and properties. The name is represented by an atomic identifier (an alphanumerical value). The properties consists of flags. Currently the two flags describe the allowed number of times a variable can appear in the input, whether a variable is allowed to be omitted and whether a variable can have multiple values.
Definition at line 33 of file Variable.h.
Enumerator | |
---|---|
FLAG_NONE | |
FLAG_OPTIONAL | |
FLAG_MULTIPLE | |
FLAG_ALL |
Definition at line 35 of file Variable.h.
|
inline |
Definition at line 137 of file Variable.h.
|
inline |
Definition at line 138 of file Variable.h.
Definition at line 140 of file Variable.h.
|
inline |
Definition at line 144 of file Variable.h.
References flags.
Referenced by PhysicsTools::MVATrainer::connectProcessors().
|
inline |
Definition at line 143 of file Variable.h.
References name.
Referenced by PhysicsTools::SourceVariableSet::append(), PhysicsTools::MVATrainer::connectProcessors(), PhysicsTools::TrainProcessor::doTrainBegin(), PhysicsTools::MVAComputer::InputVar::operator<(), and PhysicsTools::SourceVariableSet::PosVar::VarNameLess().
|
inline |
|
inline |
|
private |
Definition at line 151 of file Variable.h.
Referenced by getFlags(), isMultiple(), and isOptional().
|
private |
Definition at line 150 of file Variable.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), utils.StatisticalTest::get_status(), getName(), dirstructure.Directory::print_report(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), and Vispa.Views.PropertyView.Property::valueChanged().