Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion > Class Template Reference

a Query implementing AND: requires all children to be true More...

#include <AndQuery.h>

Inheritance diagram for Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >:

Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >

List of all members.

Public Types

typedef Query
< MatchFuncArgType,
DataFuncArgType,
needsConversion > 
BASE

Public Member Functions

 AndQuery ()
bool Match (const DataFuncArgType what) const
 returns whether or not we match the argument
Query
< MatchFuncArgType,
DataFuncArgType,
needsConversion > * 
copy () const
 returns a copy of this Query


Detailed Description

template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
class Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >

a Query implementing AND: requires all children to be true

Definition at line 16 of file AndQuery.h.


Member Typedef Documentation

template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
typedef Query<MatchFuncArgType, DataFuncArgType,needsConversion> Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::BASE

Definition at line 20 of file AndQuery.h.


Constructor & Destructor Documentation

template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::AndQuery (  )  [inline]

Definition at line 21 of file AndQuery.h.

References Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::df_negate.


Member Function Documentation

template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
bool Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::Match ( const DataFuncArgType  arg  )  const [inline, virtual]

returns whether or not we match the argument

Reimplemented from Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >.

Definition at line 23 of file AndQuery.h.

References Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::endChildren().

template<class MatchFuncArgType, class DataFuncArgType = MatchFuncArgType, bool needsConversion = false>
Query<MatchFuncArgType,DataFuncArgType,needsConversion>* Queries::AndQuery< MatchFuncArgType, DataFuncArgType, needsConversion >::copy (  )  const [inline, virtual]

returns a copy of this Query

Notes:

Reimplemented from Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >.

Definition at line 39 of file AndQuery.h.

References Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::addChild(), Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::beginChildren(), Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::d_description, Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::endChildren(), and Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >::setNegation().


The documentation for this class was generated from the following file:
Generated on Sat May 24 08:36:33 2008 for RDCode by  doxygen 1.5.3