#include <xAODVariableProxyLoaders.h>
Definition at line 187 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.
◆ xAODVectorProxyLoader() [1/2]
ExpressionParsing::xAODVectorProxyLoader::xAODVectorProxyLoader |
( |
| ) |
|
|
default |
◆ xAODVectorProxyLoader() [2/2]
◆ loadDoubleVariableFromString()
double ExpressionParsing::xAODVectorProxyLoader::loadDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadIntVariableFromString()
int ExpressionParsing::xAODVectorProxyLoader::loadIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadVecDoubleVariableFromString()
std::vector< double > ExpressionParsing::xAODVectorProxyLoader::loadVecDoubleVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ loadVecIntVariableFromString()
std::vector< int > ExpressionParsing::xAODVectorProxyLoader::loadVecIntVariableFromString |
( |
const std::string & |
varname | ) |
const |
|
virtual |
◆ reset()
void ExpressionParsing::xAODProxyLoader::reset |
( |
| ) |
|
|
virtualinherited |
◆ setData()
◆ 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 |
|
protectedinherited |
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()
◆ ATLAS_THREAD_SAFE
accessorCache_t m_accessorCache ExpressionParsing::xAODProxyLoader::ATLAS_THREAD_SAFE |
|
mutableprotectedinherited |
◆ m_auxVectorData
The documentation for this class was generated from the following files: