The Gaudi Framework  master (594c33fa)
Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations Struct Reference

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Parsers/Grammars.h>

Public Member Functions

void operator() (ResultT &res, const VectorPairT &vec) const
 
void operator() (PairT &res, const KeyT &key, tag_key) const
 
void operator() (PairT &res, const MappedT &value, tag_mapped) const
 

Detailed Description

template<typename Iterator, typename MapT, typename Skipper>
struct Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations

Definition at line 373 of file Grammars.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename Iterator , typename MapT , typename Skipper >
void Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations::operator() ( PairT res,
const KeyT key,
tag_key   
) const
inline

Definition at line 378 of file Grammars.h.

378 { res.first = key; }

◆ operator()() [2/3]

template<typename Iterator , typename MapT , typename Skipper >
void Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations::operator() ( PairT res,
const MappedT value,
tag_mapped   
) const
inline

Definition at line 379 of file Grammars.h.

379 { res.second = value; }

◆ operator()() [3/3]

template<typename Iterator , typename MapT , typename Skipper >
void Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations::operator() ( ResultT res,
const VectorPairT vec 
) const
inline

Definition at line 375 of file Grammars.h.

375  {
376  for ( auto cur = vec.begin(); cur != vec.end(); ++cur ) { res.insert( *cur ); }
377  }

The documentation for this struct was generated from the following file:
Gaudi::Parsers::MapGrammar::key
Grammar_< Iterator, typename MapT::key_type, Skipper >::Grammar key
Definition: Grammars.h:391
Gaudi::Parsers::MapGrammar::value
Grammar_< Iterator, typename MapT::mapped_type, Skipper >::Grammar value
Definition: Grammars.h:392