tnt::Parser< this_type, PrePostProcessor > Class Template Reference

#include <tnt/parser.h>

Public Member Functions

 Parser (state_type initialState)
bool parse (char ch)
bool parse (const char *str, unsigned size)
bool parse (std::istream &in)
bool failed () const

Protected Types

typedef bool(this_type::* state_type )(char)

Protected Member Functions

bool state_skipws (char ch)
void skipWs (state_type nextState_)

Protected Attributes

state_type state
state_type nextState
bool failedFlag

Member Typedef Documentation

template<typename this_type, class PrePostProcessor = PrePostNop>
typedef bool(this_type::* tnt::Parser< this_type, PrePostProcessor >::state_type)(char)
protected

Constructor & Destructor Documentation

template<typename this_type, class PrePostProcessor = PrePostNop>
tnt::Parser< this_type, PrePostProcessor >::Parser ( state_type  initialState)
inlineexplicit

Member Function Documentation

template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::failed ( ) const
inline
template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::parse ( char  ch)
inline
template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::parse ( const char *  str,
unsigned  size 
)
inline
template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::parse ( std::istream &  in)
inline
template<typename this_type, class PrePostProcessor = PrePostNop>
void tnt::Parser< this_type, PrePostProcessor >::skipWs ( state_type  nextState_)
inlineprotected
template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::state_skipws ( char  ch)
inlineprotected

Member Data Documentation

template<typename this_type, class PrePostProcessor = PrePostNop>
bool tnt::Parser< this_type, PrePostProcessor >::failedFlag
protected
template<typename this_type, class PrePostProcessor = PrePostNop>
state_type tnt::Parser< this_type, PrePostProcessor >::nextState
protected
template<typename this_type, class PrePostProcessor = PrePostNop>
state_type tnt::Parser< this_type, PrePostProcessor >::state
protected

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