cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
nmrPolynomialContainer< _TermInfo >::EqualityTester Class Reference

#include <nmrPolynomialContainer.h>

Public Member Functions

 EqualityTester (const nmrPolynomialTermPowerIndex &target)
 
bool operator() (const ContainerElementType &element)
 

Detailed Description

template<class _TermInfo>
class nmrPolynomialContainer< _TermInfo >::EqualityTester

Here we define an auxiliary functor class to compare objects of type nmrPolynomialTermPowerIndex . The functor class can be used in STL algorithms such as find_if. The member operator() returns true if the input target term index is equal to the term index of a pair in the container.

Constructor & Destructor Documentation

template<class _TermInfo>
nmrPolynomialContainer< _TermInfo >::EqualityTester::EqualityTester ( const nmrPolynomialTermPowerIndex target)
inline

Member Function Documentation

template<class _TermInfo>
bool nmrPolynomialContainer< _TermInfo >::EqualityTester::operator() ( const ContainerElementType element)
inline

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