Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
TfParser::TfGrammar< Iterator, Skipper, DataBaseType > Struct Template Reference

define grammar More...

#include <TfParser.h>

Inheritance diagram for TfParser::TfGrammar< Iterator, Skipper, DataBaseType >:

Public Member Functions

 TfGrammar (DataBaseType &db, ErrorHandler< Iterator > &error_handler)
 constructor More...
 
void layer_id_cbk (string const &s1, int32_t const &d2, string const &s3)
 callback of layer id More...
 

Public Attributes

qi::rule< Iterator, Skipper > expression
 expression
 
qi::rule< Iterator, Skipper > block_defn
 layer definitions
 
qi::rule< Iterator, Skipper > block_layer_id
 layer id
 
qi::rule< Iterator, Skipper > block_layer_purpose
 layer purpose
 
qi::rule< Iterator, Skipper > block_display
 technology display
 
qi::rule< Iterator, string(),
Skipper > 
text
 text
 
qi::rule< Iterator, string(),
Skipper > 
text_nc
 no constraints
 
DataBaseType & m_db
 reference to database
 

Detailed Description

template<typename Iterator, typename Skipper, typename DataBaseType>
struct TfParser::TfGrammar< Iterator, Skipper, DataBaseType >

define grammar

Template Parameters
Iteratoriterator of text
Skipperskip some contens
DataBaseTypedatabase to store the parsed content

Definition at line 76 of file TfParser.h.

Constructor & Destructor Documentation

template<typename Iterator, typename Skipper, typename DataBaseType>
TfParser::TfGrammar< Iterator, Skipper, DataBaseType >::TfGrammar ( DataBaseType &  db,
ErrorHandler< Iterator > &  error_handler 
)
inline

constructor

Parameters
dbdatabase
error_handlererror handler

Definition at line 91 of file TfParser.h.

Member Function Documentation

template<typename Iterator, typename Skipper, typename DataBaseType>
void TfParser::TfGrammar< Iterator, Skipper, DataBaseType >::layer_id_cbk ( string const &  s1,
int32_t const &  d2,
string const &  s3 
)
inline

callback of layer id

Parameters
s1layer name
d2layer id
s3layer abbreviation

Definition at line 171 of file TfParser.h.


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