#include <dsBoyer.h>
Inheritance diagram for boyer:
Public Methods | |
boyer (const char *pattern) | |
~boyer () | |
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 Attributes | |
int | _skip [BOYER_MAXCHAR] |
int | _len |
char * | _pat |
ignorecase should be defined as global flag, pattren should be lowercased at compile time
|
Construct an oblect from pattern |
|
|
|
find pattren in text length of Suitable value for T is char, unsigned char, byte |
|
return length of stored pattern |
|
return pointer to stored pattern |
|
return length of stored pattern |
|
find pattren in text length of Suitable value for T is char, unsigned char, byte |
|
|
|
|
|
|