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

word_key Class Reference

a single word key More...

#include <fuzzyimpl.h>

List of all members.

Public Member Functions

 word_key (const char *str, size_t len)
 constructor
bool operator< (const word_key &x) const
 compare operator

Public Attributes

const char * _str
 string pointer
size_t _len
 string length


Detailed Description

a single word key

Definition at line 173 of file fuzzyimpl.h.


Constructor & Destructor Documentation

word_key::word_key ( const char *  str,
size_t  len 
) [inline]

constructor

Parameters:
str  string
len  string length

Definition at line 177 of file fuzzyimpl.h.


Member Function Documentation

bool word_key::operator< ( const word_key x  )  const [inline]

compare operator

Definition at line 188 of file fuzzyimpl.h.

References _len, _str, and str_template::strnocasecmp().


Member Data Documentation

const char* word_key::_str

string pointer

Definition at line 202 of file fuzzyimpl.h.

Referenced by fuzzy_matcher_impl::_match(), fuzzy_matcher_impl::add(), fuzzy_matcher_impl::match(), and operator<().

string length

Definition at line 203 of file fuzzyimpl.h.

Referenced by fuzzy_matcher_impl::_match(), fuzzy_matcher_impl::add(), and operator<().


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


© Copyright Terimber 2003-.