Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

shortcircuit_and Class Template Reference

#include <ShapeFuns.h>

Inheritance diagram for shortcircuit_and:

List of all members.


Detailed Description

template<typename PredType1, typename PredType2>
class DualCoding::shortcircuit_and< PredType1, PredType2 >

Classes for implementing shortcircuit And and Or predicates. Don't call directly; use AndPred and OrPred; use not1 for negation.

Definition at line 120 of file ShapeFuns.h.


Public Member Functions

 shortcircuit_and (PredType1 _p1, PredType2 _p2)
bool operator() (const typename PredType1::argument_type &shape) const

Public Attributes

PredType1 p1
PredType2 p2

Constructor & Destructor Documentation

shortcircuit_and ( PredType1  _p1,
PredType2  _p2 
) [inline]

Definition at line 124 of file ShapeFuns.h.


Member Function Documentation

bool operator() ( const typename PredType1::argument_type &  shape  )  const [inline]

Definition at line 126 of file ShapeFuns.h.


Member Data Documentation

PredType1 p1

Definition at line 122 of file ShapeFuns.h.

Referenced by shortcircuit_and::operator()().

PredType2 p2

Definition at line 123 of file ShapeFuns.h.

Referenced by shortcircuit_and::operator()().


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

DualCoding 4.0
Generated Thu Nov 22 00:54:03 2007 by Doxygen 1.5.4