#include <Registry.hh>
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
diskCache::Cache::Registry::Info::Info |
( |
const Info & |
Source | ) |
|
|
protected |
virtual Info* diskCache::Common::Registry::Info::Clone |
( |
| ) |
const |
|
pure virtualinherited |
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. |
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. |
void diskCache::Cache::Registry::Info::TranslateQuery |
( |
const QueryParams & |
Params, |
|
|
QueryAnswer & |
Answer |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following files: