copasi API  0.1
Public Member Functions
FCompareBase< RandomAccessIterator > Class Template Reference

#include <CSort.h>

Inheritance diagram for FCompareBase< RandomAccessIterator >:
FCompare< RandomAccessIterator, LessThanCompare >

List of all members.

Public Member Functions

virtual ~FCompareBase ()
virtual bool operator() (const std::pair< RandomAccessIterator, unsigned C_INT32 > &lhs, const std::pair< RandomAccessIterator, unsigned C_INT32 > &rhs)

Detailed Description

template<typename RandomAccessIterator>
class FCompareBase< RandomAccessIterator >

The base functor providing the default compare method for the sorting methods. This default comparison is done with the operator <. to mimic the behaviour of STL sort algorithms


Constructor & Destructor Documentation

template<typename RandomAccessIterator>
virtual FCompareBase< RandomAccessIterator >::~FCompareBase ( ) [inline, virtual]

Virtual desctructor


Member Function Documentation

template<typename RandomAccessIterator>
virtual bool FCompareBase< RandomAccessIterator >::operator() ( const std::pair< RandomAccessIterator, unsigned C_INT32 > &  lhs,
const std::pair< RandomAccessIterator, unsigned C_INT32 > &  rhs 
) [inline, virtual]

Operator wrapping the comparison operator <

Parameters:
conststd::pair<RandomAccessIterator, unsigned C_INT32> & lhs
conststd::pair<RandomAccessIterator, unsigned C_INT32> & rhs
Returns:
bool lessThan

Reimplemented in FCompare< RandomAccessIterator, LessThanCompare >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines