GEP::twoArg< T > Struct Template Reference

#include <Functions.h>

Inheritance diagram for GEP::twoArg< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~twoArg ()
virtual T operator() (const T &a, const T &b)
virtual std::string name ()

Detailed Description

template<class T = double>
struct GEP::twoArg< T >

Basic structure for all two argument functions. Virtual operator () will be invoked by polymorphism. Extends std::binary_function


Constructor & Destructor Documentation

template<class T = double>
virtual GEP::twoArg< T >::~twoArg (  )  [inline, virtual]

Member Function Documentation

template<class T = double>
virtual std::string GEP::twoArg< T >::name (  )  [inline, virtual]

Name of the function.

Returns:
name of the function

Reimplemented in GEP::tfplus< T >, GEP::tfminus< T >, GEP::tfmul< T >, GEP::tfdiv< T >, GEP::tfgt< T >, GEP::tfil< T >, and GEP::tfir< T >.

template<class T = double>
virtual T GEP::twoArg< T >::operator() ( const T &  a,
const T &  b 
) [inline, virtual]

templated operator (), representing the desired mechanism of a fucntion

Returns:
result of the function

Reimplemented in GEP::tfplus< T >, GEP::tfminus< T >, GEP::tfmul< T >, GEP::tfdiv< T >, GEP::tfgt< T >, GEP::tfil< T >, and GEP::tfir< T >.


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

Generated on Fri Dec 11 22:28:17 2009 for LibGEP by  doxygen 1.6.1