CLAM::Search< U, T > Class Template Reference

#include <Search.hxx>

List of all members.

Public Member Functions

 Search ()
 Search (const U &array)
 ~Search ()
void Set (const U &array)
TIndex Find (const T &value, TIndex prevIndex=0) const
TIndex Hunt (const T &value, TIndex prevIndex=0) const
TIndex Bisection (const T &value) const
TIndex Bisection (const T &value, TIndex lowerLimit) const
TIndex Bisection (const T &value, TIndex lowerLimit, TIndex upperLimit) const

Detailed Description

template<class U, class T>
class CLAM::Search< U, T >

Definition at line 30 of file Search.hxx.


Constructor & Destructor Documentation

template<class U, class T>
CLAM::Search< U, T >::Search (  )  [inline]

Definition at line 36 of file Search.hxx.

template<class U, class T>
CLAM::Search< U, T >::Search ( const U &  array  )  [inline]

Definition at line 40 of file Search.hxx.

template<class U, class T>
CLAM::Search< U, T >::~Search (  )  [inline]

Definition at line 44 of file Search.hxx.


Member Function Documentation

template<class U , class T>
TIndex CLAM::Search< U, T >::Bisection ( const T &  value,
TIndex  lowerLimit,
TIndex  upperLimit 
) const [inline]

Definition at line 118 of file Search.hxx.

template<class U, class T>
TIndex CLAM::Search< U, T >::Bisection ( const T &  value,
TIndex  lowerLimit 
) const [inline]

Definition at line 62 of file Search.hxx.

template<class U, class T>
TIndex CLAM::Search< U, T >::Bisection ( const T &  value  )  const [inline]
template<class U, class T>
TIndex CLAM::Search< U, T >::Find ( const T &  value,
TIndex  prevIndex = 0 
) const [inline]

Definition at line 52 of file Search.hxx.

template<class U , class T>
TIndex CLAM::Search< U, T >::Hunt ( const T &  value,
TIndex  prevIndex = 0 
) const [inline]

Definition at line 71 of file Search.hxx.

References CLAM::Search< U, T >::Bisection().

Referenced by CLAM::Search< List< Frame >, Frame >::Find().

template<class U, class T>
void CLAM::Search< U, T >::Set ( const U &  array  )  [inline]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3