Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

boyer_base Class Reference

#include <dsBoyer.h>

Inheritance diagram for boyer_base:

boyer cboyer List of all members.

Public Methods

template<class T> T * find (T *text, int n) const
template<class T> T * ucfind (T *text, int n) const
int len ()
 operator const char * () const
 operator int () const

Protected Methods

 boyer_base (const char *pat)

Protected Attributes

int _skip [BOYER_MAXCHAR]
int _len
char * _pat

Constructor & Destructor Documentation

boyer_base::boyer_base const char *    pat [inline, protected]
 


Member Function Documentation

template<class T>
T* boyer_base::find T *    text,
int    n
const [inline]
 

find pattren in text length of
return pointer to start of found pattern or NULL

Suitable value for T is char, unsigned char, byte

int boyer_base::len   [inline]
 

return length of stored pattern

boyer_base::operator const char *   const [inline]
 

return pointer to stored pattern

boyer_base::operator int   const [inline]
 

return length of stored pattern

template<class T>
T* boyer_base::ucfind T *    text,
int    n
const [inline]
 

find pattren in text length of
return pointer to start of found pattern or NULL case ignored. pattren should be lowercased

Suitable value for T is char, unsigned char, byte


Member Data Documentation

int boyer_base::_len [protected]
 

char* boyer_base::_pat [protected]
 

int boyer_base::_skip[BOYER_MAXCHAR] [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon May 16 18:26:59 2005 for libdms4 by doxygen1.3-rc2