ATLAS Offline Software
IAccessor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef _ExpressionParsing_IAccessor_h_
5 #define _ExpressionParsing_IAccessor_h_
6 
7 namespace ExpressionParsing {
8 
13  class IAccessor {
14  public :
15  virtual ~IAccessor() {}
17  virtual int loadInt(const EventContext& ctx) const = 0;
18  virtual double loadDouble(const EventContext& ctx) const = 0;
19  virtual std::vector<int> loadVecInt(const EventContext& ctx) const = 0;
20  virtual std::vector<double> loadVec(const EventContext& ctx) const = 0;
21  };
22 
23 }
24 #endif
ExpressionParsing::IAccessor::~IAccessor
virtual ~IAccessor()
Definition: IAccessor.h:15
ExpressionParsing::IAccessor::loadVec
virtual std::vector< double > loadVec(const EventContext &ctx) const =0
ExpressionParsing::IAccessor::loadDouble
virtual double loadDouble(const EventContext &ctx) const =0
ExpressionParsing::IAccessor::loadInt
virtual int loadInt(const EventContext &ctx) const =0
ExpressionParsing::IAccessor::loadVecInt
virtual std::vector< int > loadVecInt(const EventContext &ctx) const =0
ExpressionParsing::IProxyLoader::VariableType
VariableType
Definition: IProxyLoader.h:21
ExpressionParsing
Namespace holding all the expression evaluation code.
Definition: ExpressionParser.h:26
ExpressionParsing::IAccessor::variableType
virtual IProxyLoader::VariableType variableType() const =0
ExpressionParsing::IAccessor
Interface of auxiliary classes to access xAOD object content.
Definition: IAccessor.h:13