ATLAS Offline Software
|
Describe one variable. More...
Public Member Functions | |
Var (const std::string &the_name, const std::string &the_docstring, const std::vector< std::string > &the_labels, const std::vector< std::string > &the_label_classes, const std::string &the_defstring, bool the_has_default) | |
Constructor. More... | |
const void * | access (const SG::AuxElement &p) const |
Try to retrieve an aux data item from p. More... | |
Public Attributes | |
std::string | name |
Name of the variable. More... | |
std::string | docstring |
Docstring for the variable. More... | |
RootUtils::Type::unique_ptr | defobj |
If present, a default object instance to use if the aux variable is not present. More... | |
bool | has_default |
If true, this aux variable can be defaulted. More... | |
RootUtils::Type | type |
Type of the item. More... | |
const std::type_info * | ti |
Type of the variable, as type_info . More... | |
std::vector< SG::AuxElement::TypelessConstAccessor > | accessors |
Aux data accessor(s) for the item. More... | |
void * | ptr |
Pointer passed to ID3PD . More... | |
std::string | label |
Name of the aux data item(s). More... | |
Describe one variable.
Definition at line 80 of file AuxDataFillerTool.h.
D3PD::AuxDataFillerTool::Var::Var | ( | const std::string & | the_name, |
const std::string & | the_docstring, | ||
const std::vector< std::string > & | the_labels, | ||
const std::vector< std::string > & | the_label_classes, | ||
const std::string & | the_defstring, | ||
bool | the_has_default | ||
) |
Constructor.
the_name | Name of the variable. |
the_docstring | Docstring for the variable. |
the_labels | Name of the aux data item(s). |
the_label_classes | Class(es) of the aux data item(s), or blank strings. |
the_defstring | String giving the default value. |
the_has_default | Can this variable be defaulted? |
Definition at line 36 of file AuxDataFillerTool.cxx.
const void * D3PD::AuxDataFillerTool::Var::access | ( | const SG::AuxElement & | p | ) | const |
std::vector<SG::AuxElement::TypelessConstAccessor> D3PD::AuxDataFillerTool::Var::accessors |
Aux data accessor(s) for the item.
Definition at line 128 of file AuxDataFillerTool.h.
RootUtils::Type::unique_ptr D3PD::AuxDataFillerTool::Var::defobj |
If present, a default object instance to use if the aux variable is not present.
Definition at line 116 of file AuxDataFillerTool.h.
std::string D3PD::AuxDataFillerTool::Var::docstring |
Docstring for the variable.
Definition at line 112 of file AuxDataFillerTool.h.
bool D3PD::AuxDataFillerTool::Var::has_default |
If true, this aux variable can be defaulted.
Definition at line 119 of file AuxDataFillerTool.h.
std::string D3PD::AuxDataFillerTool::Var::label |
Name of the aux data item(s).
Definition at line 134 of file AuxDataFillerTool.h.
std::string D3PD::AuxDataFillerTool::Var::name |
Name of the variable.
Definition at line 109 of file AuxDataFillerTool.h.
void* D3PD::AuxDataFillerTool::Var::ptr |
Pointer passed to ID3PD
.
Definition at line 131 of file AuxDataFillerTool.h.
const std::type_info* D3PD::AuxDataFillerTool::Var::ti |
Type of the variable, as type_info
.
Definition at line 125 of file AuxDataFillerTool.h.
RootUtils::Type D3PD::AuxDataFillerTool::Var::type |
Type of the item.
Definition at line 122 of file AuxDataFillerTool.h.