Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

shortcircuit_and< PredType1, PredType2 > Class Template Reference

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

#include <ShapeFuns.h>

Inheritance diagram for shortcircuit_and< PredType1, PredType2 >:

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 121 of file ShapeFuns.h.

List of all members.

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 
)

Definition at line 125 of file ShapeFuns.h.


Member Function Documentation

bool operator() ( const typename PredType1::argument_type &  shape  )  const

Definition at line 127 of file ShapeFuns.h.


Member Data Documentation

PredType1 p1

Definition at line 123 of file ShapeFuns.h.

Referenced by shortcircuit_and< PredType1, PredType2 >::operator()().

PredType2 p2

Definition at line 124 of file ShapeFuns.h.

Referenced by shortcircuit_and< PredType1, PredType2 >::operator()().


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

DualCoding 5.1CVS
Generated Mon May 9 04:56:31 2016 by Doxygen 1.6.3