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

#include <nmrPolynomialContainer.h>

Public Member Functions

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

Detailed Description

template<class _TermInfo>
class nmrPolynomialContainer< _TermInfo >::LessOrEqualityTester

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 less than or equal to the term index of a pair in the container.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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