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

#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/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
 
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 426 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 433 of file GrammarsV2.h.

433  {
434  for(typename VectorPairT::const_iterator cur = vec.begin();
435  cur != vec.end(); cur++){
436  res.insert(*cur);
437  }
438  }
template<typename KeyGrammarT , typename ValueGrammarT >
void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::Operations::operator() ( ResultT res,
const VectorPairT vec 
) const
inline

Definition at line 433 of file GrammarsV2.h.

433  {
434  for(typename VectorPairT::const_iterator cur = vec.begin();
435  cur != vec.end(); cur++){
436  res.insert(*cur);
437  }
438  }
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 439 of file GrammarsV2.h.

439  {
440  res.first = key;
441  }
Grammar_< Iterator, typename MapT::key_type, Skipper >::Grammar key
Definition: GrammarsV2.h:457
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 439 of file GrammarsV2.h.

439  {
440  res.first = key;
441  }
Grammar_< Iterator, typename MapT::key_type, Skipper >::Grammar key
Definition: GrammarsV2.h:457
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 442 of file GrammarsV2.h.

442  {
443  res.second = value;
444  }
Grammar_< Iterator, typename MapT::mapped_type, Skipper >::Grammar value
Definition: GrammarsV2.h:459
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 442 of file GrammarsV2.h.

442  {
443  res.second = value;
444  }
Grammar_< Iterator, typename MapT::mapped_type, Skipper >::Grammar value
Definition: GrammarsV2.h:459

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