#include <cmn_FastSearch.h>

Definition at line 45 of file cmn_FastSearch.h.
Public Member Functions | |
| cmn_FastSearch () | |
| cmn_FastSearch (const char *const a_buffer_p, const int a_bufLen) | |
| virtual | ~cmn_FastSearch () |
| void | SetBuffer (char *a_buffer_p, ivd_FileBufSize_t a_bufLen) |
| to set or reset the searched buffer | |
| virtual void | SetPattern (const string &a_pattern)=0 |
| set new search pattern | |
| virtual Int32_t | Find ()=0 |
| this method must be implemented in derived classes | |
Public Attributes | |
| log_CLASSID_m | |
| Macro to add class name member s_className. | |
Protected Attributes | |
| const char * | m_buffer_p |
| buffer where to seach | |
| ivd_FileBufSize_t | m_bufLen |
| cmn_FastSearch::cmn_FastSearch | ( | ) |
Definition at line 37 of file cmn_FastSearch.cpp.
References log_FUNC_m.
00038 : 00039 m_buffer_p(NULL), 00040 m_bufLen(0) 00041 { 00042 log_FUNC_m(cmn_FastSearch); 00043 // Empty 00044 } //============================================================================//
| cmn_FastSearch::cmn_FastSearch | ( | const char *const | a_buffer_p, | |
| const int | a_bufLen | |||
| ) |
Definition at line 48 of file cmn_FastSearch.cpp.
References log_FUNC_m.
00051 : 00052 m_buffer_p(a_buffer_p), 00053 m_bufLen(a_bufLen) 00054 { 00055 log_FUNC_m(cmn_FastSearch); 00056 //Empty 00057 } //============================================================================//
| virtual cmn_FastSearch::~cmn_FastSearch | ( | ) | [inline, virtual] |
| void cmn_FastSearch::SetBuffer | ( | char * | a_buffer_p, | |
| ivd_FileBufSize_t | a_bufLen | |||
| ) | [inline] |
to set or reset the searched buffer
Definition at line 68 of file cmn_FastSearch.h.
Referenced by cmn_FastFileSearch::cmn_FastFileSearch(), and cmn_FastFileSearch::Find().
00068 { 00069 m_buffer_p = a_buffer_p; 00070 m_bufLen = a_bufLen; 00071 };

| virtual void cmn_FastSearch::SetPattern | ( | const string & | a_pattern | ) | [pure virtual] |
set new search pattern
Implemented in cmn_FastPattSearch, cmn_FastZeroSearch, and cmn_FastZeroRecSearch.
| virtual Int32_t cmn_FastSearch::Find | ( | ) | [pure virtual] |
this method must be implemented in derived classes
Implemented in cmn_FastPattSearch, cmn_FastZeroSearch, and cmn_FastZeroRecSearch.
Referenced by cmn_FastFileSearch::Find().

const char* cmn_FastSearch::m_buffer_p [protected] |
buffer where to seach
Definition at line 53 of file cmn_FastSearch.h.
Referenced by cmn_FastZeroRecSearch::Find(), cmn_FastZeroSearch::Find(), and cmn_FastPattSearch::Find().
ivd_FileBufSize_t cmn_FastSearch::m_bufLen [protected] |
Definition at line 59 of file cmn_FastSearch.h.
Referenced by cmn_FastZeroRecSearch::Find(), cmn_FastZeroSearch::Find(), and cmn_FastPattSearch::Find().
Macro to add class name member s_className.
Reimplemented in cmn_FastPattSearch, cmn_FastZeroSearch, and cmn_FastZeroRecSearch.
Definition at line 63 of file cmn_FastSearch.h.
1.5.6