YGP::OFParseSelection< T > Class Template Reference

Class to parse selections (list of ParseObjects where just one entry must be valid). More...

Inherits YGP::ParseSelection.

List of all members.

Public Member Functions

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

Protected Member Functions

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


Detailed Description

template<class T>
class YGP::OFParseSelection< T >

Class to parse selections (list of ParseObjects where just one entry must be valid).

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


Constructor & Destructor Documentation

template<class T >
YGP::OFParseSelection< T >::OFParseSelection ( 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::OFParseSelection< T >::OFParseSelection ( const OFParseSelection< T > &  other  )  [inline]

Copy constructor.

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

Destructor.


Member Function Documentation

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