Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

lookup_distance< C, P, Func > Class Template Reference

List of all members.

Public Member Functions

 lookup_distance (bool extended, size_t max_distance, const C &container, const P &key, Func f, byte_allocator &tmp)
pair< TYPENAME
C::const_iterator, double > 
next ()

Private Attributes

const C & _container
const P & _key
Func _f
byte_allocator_tmp
bool _extended
size_t _max_distance
size_t _stage
C::paircc_t _range
C::paircc_t _save_range


Detailed Description

template<class C, class P, class Func>
class lookup_distance< C, P, Func >

Definition at line 66 of file fuzzyimpl.cpp.


Constructor & Destructor Documentation

template<class C, class P, class Func>
lookup_distance< C, P, Func >::lookup_distance ( bool  extended,
size_t  max_distance,
const C &  container,
const P &  key,
Func  f,
byte_allocator tmp 
) [inline]

Definition at line 70 of file fuzzyimpl.cpp.


Member Function Documentation

template<class C, class P, class Func>
pair< TYPENAME C::const_iterator, double > lookup_distance< C, P, Func >::next (  )  [inline]

Definition at line 86 of file fuzzyimpl.cpp.

References pair< T1, T2 >::first, and pair< T1, T2 >::second.

Referenced by fuzzy_matcher_impl::_match().


Member Data Documentation

template<class C, class P, class Func>
const C& lookup_distance< C, P, Func >::_container [private]

Definition at line 143 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
const P& lookup_distance< C, P, Func >::_key [private]

Definition at line 144 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
Func lookup_distance< C, P, Func >::_f [private]

Definition at line 145 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
byte_allocator& lookup_distance< C, P, Func >::_tmp [private]

Definition at line 146 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
bool lookup_distance< C, P, Func >::_extended [private]

Definition at line 147 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
size_t lookup_distance< C, P, Func >::_max_distance [private]

Definition at line 148 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
size_t lookup_distance< C, P, Func >::_stage [private]

Definition at line 150 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
C::paircc_t lookup_distance< C, P, Func >::_range [private]

Definition at line 151 of file fuzzyimpl.cpp.

template<class C, class P, class Func>
C::paircc_t lookup_distance< C, P, Func >::_save_range [private]

Definition at line 152 of file fuzzyimpl.cpp.


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


© Copyright Terimber 2003-.