www.mooseframework.org
Public Member Functions | Private Attributes | List of all members
Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor > Struct Template Reference

#include <IndirectSort.h>

Public Member Functions

 indirect_comparator (RandomAccessIterator r, UserComparisonFunctor c)
 
bool operator() (size_t lhs, size_t rhs)
 

Private Attributes

RandomAccessIterator _random_access_iterator
 
UserComparisonFunctor _user_comp
 

Detailed Description

template<class RandomAccessIterator, class UserComparisonFunctor>
struct Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor >

Definition at line 32 of file IndirectSort.h.

Constructor & Destructor Documentation

template<class RandomAccessIterator, class UserComparisonFunctor>
Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor >::indirect_comparator ( RandomAccessIterator  r,
UserComparisonFunctor  c 
)
inline

Definition at line 35 of file IndirectSort.h.

37  {
38  }
RandomAccessIterator _random_access_iterator
Definition: IndirectSort.h:50
UserComparisonFunctor _user_comp
Definition: IndirectSort.h:51

Member Function Documentation

template<class RandomAccessIterator, class UserComparisonFunctor>
bool Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor >::operator() ( size_t  lhs,
size_t  rhs 
)
inline

Definition at line 42 of file IndirectSort.h.

43  {
44  // Note: operator[] is defined for random access iterators!
46  }
RandomAccessIterator _random_access_iterator
Definition: IndirectSort.h:50
UserComparisonFunctor _user_comp
Definition: IndirectSort.h:51

Member Data Documentation

template<class RandomAccessIterator, class UserComparisonFunctor>
RandomAccessIterator Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor >::_random_access_iterator
private
template<class RandomAccessIterator, class UserComparisonFunctor>
UserComparisonFunctor Moose::indirect_comparator< RandomAccessIterator, UserComparisonFunctor >::_user_comp
private

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