YGP::OFParseSequence< T > Class Template Reference

Class to parse sequences (series of ParseObjects). More...

Inherits YGP::ParseSequence.

List of all members.

Public Member Functions

 OFParseSequence (ParseObject *apObjectList[], const char *description, T &objToNotify, PTCALLBACK callback, unsigned int max=1, unsigned int min=1, bool skipWhitespace=true)
 OFParseSequence (const OFParseSequence &other)
virtual ~OFParseSequence ()
OFParseSequenceoperator= (const OFParseSequence &other)

Protected Member Functions

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


Detailed Description

template<class T>
class YGP::OFParseSequence< T >

Class to parse sequences (series of ParseObjects).

Every ParseObject in this list must be found (in the same order).

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


Constructor & Destructor Documentation

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

Constructor; with callback to call if object is found.

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

Copy constructor.

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

Destructor.


Member Function Documentation

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