#include <xAODVariableProxyLoaders.h>
Definition at line 146 of file xAODVariableProxyLoaders.h.
◆ accessorCache_t
◆ VariableType
Enumerator |
---|
VT_UNK | |
VT_INT | |
VT_DOUBLE | |
VT_VECINT | |
VT_VECDOUBLE | |
VT_VECEMPTY | |
Definition at line 21 of file IProxyLoader.h.
◆ xAODProxyLoader() [1/2]
ExpressionParsing::xAODProxyLoader::xAODProxyLoader |
( |
| ) |
|
◆ ~xAODProxyLoader()
ExpressionParsing::xAODProxyLoader::~xAODProxyLoader |
( |
| ) |
|
|
virtual |
◆ xAODProxyLoader() [2/2]
Disallow copy construction and assignment.
◆ loadDoubleVariableFromString()
virtual double ExpressionParsing::IProxyLoader::loadDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
pure virtualinherited |
◆ loadIntVariableFromString()
virtual int ExpressionParsing::IProxyLoader::loadIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
pure virtualinherited |
◆ loadVecDoubleVariableFromString()
virtual std::vector<double> ExpressionParsing::IProxyLoader::loadVecDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
pure virtualinherited |
◆ loadVecIntVariableFromString()
virtual std::vector<int> ExpressionParsing::IProxyLoader::loadVecIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
pure virtualinherited |
◆ operator=()
◆ reset()
void ExpressionParsing::xAODProxyLoader::reset |
( |
| ) |
|
|
virtual |
◆ try_all_known_types()
◆ try_type()
template<class TYPE , class AUX >
bool ExpressionParsing::xAODProxyLoader::try_type |
( |
const std::string & |
varname, |
|
|
const std::type_info * |
ti, |
|
|
const AUX * |
data |
|
) |
| const |
|
protected |
Definition at line 203 of file xAODVariableProxyLoaders.cxx.
205 if (*ti ==
typeid(
TYPE)) {
206 auto accWrap = std::make_unique<AccessorWrapper<TYPE>>(
varname);
207 if (accWrap && accWrap->isValid(
data)) {
208 m_accessorCache.insert_or_assign(
varname, accWrap.release());
210 }
else if (accWrap) {
213 throw std::runtime_error(
"Unsupported aux element type '"+
r.getTypeName(auxid)+
"' for '"+
varname+
"'");
◆ variableTypeFromString()
virtual VariableType ExpressionParsing::IProxyLoader::variableTypeFromString |
( |
const std::string & |
varname | ) |
const |
|
pure virtualinherited |
◆ ATLAS_THREAD_SAFE
accessorCache_t m_accessorCache ExpressionParsing::xAODProxyLoader::ATLAS_THREAD_SAFE |
|
mutableprotected |
The documentation for this class was generated from the following files: