#include <Grammars.h>
Public Types | |
typedef KeyGrammarT::ResultT | KeyT |
typedef ValueGrammarT::ResultT | ValueT |
typedef std::map< KeyT, ValueT > | ResultT |
Public Member Functions | |
void | matchItem () const |
call backs. Action when we match pair in map | |
void | matchFirst (const KeyT &value) const |
call backs. Action when we match key of pair | |
void | matchSecond (const ValueT &value) const |
call backs. Action when we match value pf pair | |
Classes | |
struct | definition |
Vanya BELYAEV ibelyaev@physics.syr.edu
Definition at line 453 of file Grammars.h.
typedef KeyGrammarT::ResultT Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::KeyT |
Definition at line 464 of file Grammars.h.
typedef ValueGrammarT::ResultT Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::ValueT |
Definition at line 465 of file Grammars.h.
typedef std::map<KeyT,ValueT> Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::ResultT |
Definition at line 466 of file Grammars.h.
void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::matchItem | ( | ) | const [inline] |
call backs. Action when we match pair in map
Definition at line 469 of file Grammars.h.
00470 { 00471 //this->val().insert(this->attrs()); 00472 this->val()[this->attrs().first] = this->attrs().second ; 00473 }
void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::matchFirst | ( | const KeyT & | value | ) | const [inline] |
void Gaudi::Parsers::MapGrammar< KeyGrammarT, ValueGrammarT >::matchSecond | ( | const ValueT & | value | ) | const [inline] |