YGP::OFParseQuotedEsc< T > Class Template Reference

Class to parse quoted text; which is returned without the quotes. More...

Inherits YGP::ParseQuotedEsc.

List of all members.

Public Member Functions

 OFParseQuotedEsc (char quote, const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max, unsigned int min=1, char escape= '\\', bool skipWhitespace=true)
 OFParseQuotedEsc (const OFParseQuotedEsc &other)
virtual ~OFParseQuotedEsc ()
OFParseQuotedEscoperator= (const OFParseQuotedEsc &other)

Protected Member Functions

virtual int found (const char *pFoundValue, unsigned int len)


Detailed Description

template<class T>
class YGP::OFParseQuotedEsc< T >

Class to parse quoted text; which is returned without the quotes.

The text can contain escaped characters (where the escaping character just is removed and the escapted character does not end parsing).

See ParseObject for a general description of the parser and ParseQuotedEsc for a description of how this class parses its object.


Constructor & Destructor Documentation

template<class T >
YGP::OFParseQuotedEsc< T >::OFParseQuotedEsc ( char  quote,
const char *  description,
T &  objToNotify,
PTCALLBACK  callback,
unsigned int  max,
unsigned int  min = 1,
char  escape = '\\',
bool  skipWhitespace = true 
) [inline]

Constructor; with callback to call if object is found.

template<class T >
YGP::OFParseQuotedEsc< T >::OFParseQuotedEsc ( const OFParseQuotedEsc< T > &  other  )  [inline]

Copy constructor.

template<class T >
virtual YGP::OFParseQuotedEsc< T >::~OFParseQuotedEsc (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<class T >
virtual int YGP::OFParseQuotedEsc< T >::found ( const char *  pFoundValue,
unsigned int  len 
) [inline, protected, virtual]

The object was parsed successfully: Notify via the callback.

Reimplemented from YGP::ParseObject.

template<class T >
OFParseQuotedEsc& YGP::OFParseQuotedEsc< T >::operator= ( const OFParseQuotedEsc< T > &  other  )  [inline]

Assignment operator.


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

YGP Version 0.9.31 - Generated on Wed Nov 18 11:25:28 2009 by doxygen 1.5.8