| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Classes | Public Member Functions

# Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations Struct Reference

`#include <GrammarsV2.h>`

List of all members.

## 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 MappedT & | value,
|  | tag_mapped |
| ) |  | const`[inline]`

Definition at line 316 of file GrammarsV2.h.

                                                                               {
              res.second = value;
            }

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;
            }

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines