proj home

Files   Classes   Functions   Hierarchy  

mycomparezobject< F > Class Template Reference

#include <functionalobjectoperators.h>

Collaboration diagram for mycomparezobject< F >:

List of all members.

Public Member Functions

 mycomparezobject ()
 Constructor.
 mycomparezobject (F const &bin_)
 Pass in the binary operator.
template<typename T >
boolc operator() (T const &p1, T const &p2)
 The x components being compared with a binary operator.

Public Attributes

bin
 Binary operator.


Detailed Description

template<typename F>
class mycomparezobject< F >

Definition at line 105 of file functionalobjectoperators.h.


Constructor & Destructor Documentation

template<typename F>
mycomparezobject< F >::mycomparezobject (  )  [inline]

Constructor.

Definition at line 113 of file functionalobjectoperators.h.

00113 {}

template<typename F>
mycomparezobject< F >::mycomparezobject ( F const &  bin_  )  [inline]

Pass in the binary operator.

Definition at line 115 of file functionalobjectoperators.h.

00116     : bin(bin_) {}


Member Function Documentation

template<typename F>
template<typename T >
boolc mycomparezobject< F >::operator() ( T const &  p1,
T const &  p2 
) [inline]

The x components being compared with a binary operator.

Definition at line 121 of file functionalobjectoperators.h.

References mycomparezobject< F >::bin.

00122     { return bin(p1.z,p2.z); }


Member Data Documentation

template<typename F>
F mycomparezobject< F >::bin

Binary operator.

Definition at line 110 of file functionalobjectoperators.h.

Referenced by mycomparezobject< F >::operator()().


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

Generated on Fri Mar 4 00:50:07 2011 for Chelton Evans Source by  doxygen 1.5.8