Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
icl_core::SchemeParser Class Reference

#include <SchemeParser.h>

Public Member Functions

const BOOST_SPIRIT_NAMESPACE::parse_info & getParseInfo () const
 
const icl_core::SchemegetSchemeResult () const
 Returns the parser result. More...
 
bool parseScheme (const String &str)
 
 SchemeParser ()
 Constructor. More...
 
 ~SchemeParser ()
 Destructor. More...
 

Static Public Member Functions

static bool parseScheme (const String &str, Scheme &scheme_handler, BOOST_SPIRIT_NAMESPACE::parse_info<> &info)
 

Private Attributes

BOOST_SPIRIT_NAMESPACE::parse_info m_info
 
icl_core::Scheme m_scheme
 

Detailed Description

A SchemeParser object will parse a given string. Yet, this class is not as generic as possible, meaning that parsing rules are defined internally, not given from outside.

Definition at line 145 of file SchemeParser.h.

Constructor & Destructor Documentation

icl_core::SchemeParser::SchemeParser ( )

Constructor.

Definition at line 121 of file SchemeParser.cpp.

icl_core::SchemeParser::~SchemeParser ( )

Destructor.

Definition at line 126 of file SchemeParser.cpp.

Member Function Documentation

const BOOST_SPIRIT_NAMESPACE::parse_info & icl_core::SchemeParser::getParseInfo ( ) const

Return the information struct holding the details of the last parse.

Definition at line 135 of file SchemeParser.cpp.

const icl_core::Scheme & icl_core::SchemeParser::getSchemeResult ( ) const

Returns the parser result.

Definition at line 140 of file SchemeParser.cpp.

bool icl_core::SchemeParser::parseScheme ( const String str)

Parse the given string.

Returns
true if full parse was accomplished.

Definition at line 130 of file SchemeParser.cpp.

bool icl_core::SchemeParser::parseScheme ( const String str,
Scheme scheme_handler,
BOOST_SPIRIT_NAMESPACE::parse_info<> &  info 
)
static

Static method, provided for convenience.

Definition at line 145 of file SchemeParser.cpp.

Member Data Documentation

BOOST_SPIRIT_NAMESPACE::parse_info icl_core::SchemeParser::m_info
private

Definition at line 202 of file SchemeParser.h.

icl_core::Scheme icl_core::SchemeParser::m_scheme
private

Definition at line 204 of file SchemeParser.h.


The documentation for this class was generated from the following files:


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59