YGP::OFParseUpperExact< T > Class Template Reference

Class to parse exactly a certain text (not case-sensitive!). More...

Inherits YGP::ParseUpperExact.

List of all members.

Public Member Functions

 OFParseUpperExact (const char *value, const char *description, T &objToNotify, PTCALLBACK callback, bool skipWhitespace=true)
 OFParseUpperExact (const char *value, const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max, unsigned int min, bool skipWhitespace=true)
 OFParseUpperExact (const OFParseUpperExact &other)
virtual ~OFParseUpperExact ()
OFParseUpperExactoperator= (const OFParseUpperExact &other)

Protected Member Functions

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


Detailed Description

template<class T>
class YGP::OFParseUpperExact< T >

Class to parse exactly a certain text (not case-sensitive!).

When an object is found the passed callback is called.

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


Constructor & Destructor Documentation

template<class T >
YGP::OFParseUpperExact< T >::OFParseUpperExact ( const char *  value,
const char *  description,
T &  objToNotify,
PTCALLBACK  callback,
bool  skipWhitespace = true 
) [inline]

Constructor; with callback to call if object is found.

template<class T >
YGP::OFParseUpperExact< T >::OFParseUpperExact ( const char *  value,
const char *  description,
T &  objToNotify,
PTCALLBACK  callback,
unsigned int  max,
unsigned int  min,
bool  skipWhitespace = true 
) [inline]

Constructor; with callback to call if object is found.

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

Copy constructor.

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

Destructor.


Member Function Documentation

template<class T >
virtual int YGP::OFParseUpperExact< 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 >
OFParseUpperExact& YGP::OFParseUpperExact< T >::operator= ( const OFParseUpperExact< 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