Lolly 1.4.28
|
#include <fast_search.hpp>
Public Member Functions | |
string_searcher_rep (string s) | |
string | get_string () |
int | search_next (string what, int pos) |
array< int > | search_all (string what) |
Private Member Functions | |
array< int > | search_sub (string what) |
Private Member Functions inherited from concrete_struct | |
concrete_struct () | |
Default constructor for the concrete object. Increments the reference count. | |
virtual | ~concrete_struct () |
Virtual destructor for the concrete object. Decrements the reference count. | |
Private Attributes | |
string | s |
array< hashmap< int, array< int > > > | a |
Private Attributes inherited from concrete_struct | |
int | ref_count |
The reference count for the concrete object. | |
Friends | |
class | string_searcher |
void | get_longest_common (string s1, string s2, int &b1, int &e1, int &b2, int &e2) |
Definition at line 20 of file fast_search.hpp.
string_searcher_rep::string_searcher_rep | ( | string | s | ) |
Definition at line 47 of file fast_search.cpp.
Definition at line 80 of file fast_search.cpp.
string string_searcher_rep::get_string | ( | ) |
Definition at line 71 of file fast_search.cpp.
int string_searcher_rep::search_next | ( | string | what, |
int | pos ) |
Definition at line 98 of file fast_search.cpp.
Definition at line 108 of file fast_search.cpp.
|
friend |
Definition at line 30 of file fast_search.hpp.
Definition at line 125 of file fast_search.cpp.
|
private |
Definition at line 21 of file fast_search.hpp.
Definition at line 22 of file fast_search.hpp.