| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::Parsers::MapGrammar< Iterator, MapT, Skipper >::Operations Struct Reference

`#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 351 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() | ( | ResultT & | res,
|  | const VectorPairT & | vec
| ) |  | const
| inline

Definition at line 353 of file Grammars.h.

353 {
354 for ( auto cur = vec.begin(); cur != vec.end(); ++cur ) { res.insert( *cur ); }
355 }

## ◆ operator()() [2/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 356 of file Grammars.h.

356 { res.first = key; }
Gaudi::Parsers::MapGrammar::key
Grammar_< Iterator, typename MapT::key_type, Skipper >::Grammar key
Definition: Grammars.h:368

## ◆ operator()() [3/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 357 of file Grammars.h.

357 { res.second = value; }
Gaudi::Parsers::MapGrammar::value
Grammar_< Iterator, typename MapT::mapped_type, Skipper >::Grammar value
Definition: Grammars.h:369

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

- GaudiKernel/Gaudi/Parsers/Grammars.h