IDFstepper
IDF to STEP converter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Types | Public Member Functions | Public Attributes
config::ConfigGrammar< Iterator > Struct Template Reference

This is the Qi grammar to parse config files into Config vectors. More...

#include <ConfigGrammar.hpp>

List of all members.

Public Types

typedef qi::rule< Iterator > SkipType

Public Member Functions

 ConfigGrammar ()

Public Attributes

SkipType skipper
 Custom whitespace skipper.
qi::rule< Iterator > eeol
qi::rule< Iterator, bool()> boolean
qi::rule< Iterator, std::string()> quotedStr
qi::rule< Iterator, std::string()> str
qi::rule< Iterator, Value()> value
qi::rule< Iterator, std::pair
< std::string, Value >
), SkipType
option
qi::rule< Iterator, Config(),
SkipType
conf

Detailed Description

template<typename Iterator>
struct config::ConfigGrammar< Iterator >

This is the Qi grammar to parse config files into Config vectors.

Parameters:
Iteratortype to use as input data.

Definition at line 43 of file ConfigGrammar.hpp.


Member Typedef Documentation

template<typename Iterator>
typedef qi::rule<Iterator> config::ConfigGrammar< Iterator >::SkipType

Definition at line 47 of file ConfigGrammar.hpp.


Constructor & Destructor Documentation

template<typename Iterator>
config::ConfigGrammar< Iterator >::ConfigGrammar ( ) [inline]

Definition at line 49 of file ConfigGrammar.hpp.


Member Data Documentation

template<typename Iterator>
qi::rule<Iterator, bool()> config::ConfigGrammar< Iterator >::boolean

Definition at line 88 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator, Config(), SkipType> config::ConfigGrammar< Iterator >::conf

Definition at line 93 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator> config::ConfigGrammar< Iterator >::eeol

Definition at line 86 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator, std::pair<std::string, Value>), SkipType> config::ConfigGrammar< Iterator >::option

Definition at line 92 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator, std::string()> config::ConfigGrammar< Iterator >::quotedStr

Definition at line 89 of file ConfigGrammar.hpp.

template<typename Iterator>
SkipType config::ConfigGrammar< Iterator >::skipper

Custom whitespace skipper.

This is needed because we do not want to skip over newlines.

Definition at line 85 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator, std::string()> config::ConfigGrammar< Iterator >::str

Definition at line 90 of file ConfigGrammar.hpp.

template<typename Iterator>
qi::rule<Iterator, Value()> config::ConfigGrammar< Iterator >::value

Definition at line 91 of file ConfigGrammar.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines