| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations Struct Reference

`#include <GrammarsV2.h>`

## Classes
struct | result

## 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 KeyGrammarT, typename ValueGrammarT>
struct Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations

Definition at line 300 of file GrammarsV2.h.

## Member Function Documentation

template<typename KeyGrammarT , typename ValueGrammarT >

void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations::operator() | ( | ResultT & | res,
|  | const VectorPairT & | vec
| ) |  | const
| inline

Definition at line 307 of file GrammarsV2.h.

{
for(typename VectorPairT::const_iterator cur = vec.begin();
cur != vec.end(); cur++){
res.insert(*cur);
}
}
template<typename KeyGrammarT , typename ValueGrammarT >

void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations::operator() | ( | PairT & | res,
|  | const KeyT & | key,
|  | tag_key |
| ) |  | const
| inline

Definition at line 313 of file GrammarsV2.h.

{
res.first = key;
}
template<typename KeyGrammarT , typename ValueGrammarT >

void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations::operator() | ( | PairT & | res,
|  | const MappedT & | value,
|  | tag_mapped |
| ) |  | const
| inline

Definition at line 316 of file GrammarsV2.h.

{
res.second = value;
}

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/GrammarsV2.h