ATLAS Offline Software
Static Public Member Functions | List of all members
ExpressionParsing::MultiParserHelper< NUM_PARSER > Class Template Reference

Helper class to handle an array expression parsers to be used in the generic code. More...

#include <ExpressionParserUser.h>

Collaboration diagram for ExpressionParsing::MultiParserHelper< NUM_PARSER >:

Static Public Member Functions

static std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, NUM_PARSER > createParser (ExpressionParsing::IProxyLoader &proxy_loader, const std::vector< std::string > &selection_string, unsigned short num_parser)
 create an expression parser for each of the given expression strings More...
 
static std::vector< std::string > getVariables (const std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, NUM_PARSER > &parser)
 get the union of all variables used by the given list of expression parsers. More...
 

Detailed Description

template<unsigned short NUM_PARSER>
class ExpressionParsing::MultiParserHelper< NUM_PARSER >

Helper class to handle an array expression parsers to be used in the generic code.

Definition at line 30 of file ExpressionParserUser.h.

Member Function Documentation

◆ createParser()

template<unsigned short NUM_PARSER>
static std::array< std::unique_ptr<ExpressionParsing::ExpressionParser>, NUM_PARSER > ExpressionParsing::MultiParserHelper< NUM_PARSER >::createParser ( ExpressionParsing::IProxyLoader proxy_loader,
const std::vector< std::string > &  selection_string,
unsigned short  num_parser 
)
static

create an expression parser for each of the given expression strings

◆ getVariables()

template<unsigned short NUM_PARSER>
static std::vector<std::string> ExpressionParsing::MultiParserHelper< NUM_PARSER >::getVariables ( const std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, NUM_PARSER > &  parser)
static

get the union of all variables used by the given list of expression parsers.


The documentation for this class was generated from the following file: