#include <Registry.hh>
◆ indexing_type
◆ Info() [1/2]
Constructor.
- Parameters
-
[in] | Key | |
[in] | Find | Specify the function to use to locate files within a directory. |
[in] | IsMatch | Function to call to check if a file should be indexed by the search engine. |
[in] | OnDirectoryClose | Function to call once all entries in the current directory have been processed. If the search engine has no action, then the value ON_DIRECTORY_CLOSE_FUNC_NULL may be passed. |
[in] | TranslateQuery | Translate the query results (eg: make it easily parsable by TCL, Python, etc.). |
- Returns
- New instance of the object
◆ Info() [2/2]
diskCache::Cache::Registry::Info::Info |
( |
const Info & |
Source | ) |
|
|
protected |
◆ Clone()
virtual Info* diskCache::Common::Registry::Info::Clone |
( |
| ) |
const |
|
pure virtualinherited |
◆ Find()
◆ IsMatch()
Called per file.
- Parameters
-
[in,out] | Data | Search engine specific data. This is also a scratch area for search engines to record transient information related to processing the directory contents. |
◆ OnDirectoryClose()
void diskCache::Cache::Registry::Info::OnDirectoryClose |
( |
DirectoryScanData & |
Data | ) |
const |
|
inline |
Callback once all data has been read.
- Parameters
-
[in,out] | Data | Search engine specific data. This is also a scratch area for search engines to record transient information related to processing the directory contents. |
◆ TranslateQuery()
void diskCache::Cache::Registry::Info::TranslateQuery |
( |
const QueryParams & |
Params, |
|
|
QueryAnswer & |
Answer |
|
) |
| const |
|
inline |
◆ FIND_FUNC_NULL
◆ IS_MATCH_FUNC_NULL
◆ m_key_name
◆ ON_DIRECTORY_CLOSE_FUNC_NULL
◆ TRANSLATE_QUERY_FUNC_NULL
The documentation for this class was generated from the following files: