#include <Registry.hh>
|
| Info (const std::string &Key, FindFunc Find, IsMatchFunc IsMatch, OnDirectoryCloseFunc OnDirectoryClose, TranslateQueryFunc TranslateQuery) |
| Constructor. More...
|
|
void | Find (const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer) const |
|
bool | IsMatch (DirectoryScanData &Data) const |
| Called per file. More...
|
|
void | OnDirectoryClose (DirectoryScanData &Data) const |
| Callback once all data has been read. More...
|
|
void | TranslateQuery (const QueryParams &Params, QueryAnswer &Answer) const |
|
| Info (const std::string &Key, FindFunc Find, IsMatchFunc IsMatch, OnDirectoryCloseFunc OnDirectoryClose, TranslateQueryFunc TranslateQuery) |
| Constructor. More...
|
|
void | Find (const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer) const |
|
bool | IsMatch (DirectoryScanData &Data) const |
| Called per file. More...
|
|
void | OnDirectoryClose (DirectoryScanData &Data) const |
| Callback once all data has been read. More...
|
|
void | TranslateQuery (const QueryParams &Params, QueryAnswer &Answer) const |
|
| Info (const std::string &Key, FindFunc Find, IsMatchFunc IsMatch, OnDirectoryCloseFunc OnDirectoryClose, TranslateQueryFunc TranslateQuery) |
| Constructor. More...
|
|
void | Find (const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer) const |
|
bool | IsMatch (DirectoryScanData &Data) const |
| Called per file. More...
|
|
void | OnDirectoryClose (DirectoryScanData &Data) const |
| Callback once all data has been read. More...
|
|
void | TranslateQuery (const QueryParams &Params, QueryAnswer &Answer) const |
|
virtual Info * | Clone () const =0 |
|
virtual Info * | Clone () const =0 |
|
virtual Info * | Clone () const =0 |
|
◆ indexing_type [1/3]
◆ indexing_type [2/3]
◆ indexing_type [3/3]
◆ Info() [1/6]
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/6]
diskCache::Cache::Registry::Info::Info |
( |
const Info & |
Source | ) |
|
|
protected |
◆ Info() [3/6]
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() [4/6]
diskCache::Cache::Registry::Info::Info |
( |
const Info & |
Source | ) |
|
|
protected |
◆ Info() [5/6]
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() [6/6]
diskCache::Cache::Registry::Info::Info |
( |
const Info & |
Source | ) |
|
|
protected |
◆ Clone() [1/3]
virtual Info* diskCache::Common::Registry::Info::Clone |
( |
| ) |
const |
|
pure virtualinherited |
◆ Clone() [2/3]
virtual Info* diskCache::Common::Registry::Info::Clone |
( |
| ) |
const |
|
pure virtualinherited |
◆ Clone() [3/3]
virtual Info* diskCache::Common::Registry::Info::Clone |
( |
| ) |
const |
|
pure virtualinherited |
◆ Find() [1/3]
◆ Find() [2/3]
◆ Find() [3/3]
◆ IsMatch() [1/3]
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. |
◆ IsMatch() [2/3]
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. |
◆ IsMatch() [3/3]
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() [1/3]
void diskCache::Cache::Registry::Info::OnDirectoryClose |
( |
DirectoryScanData & |
Data | ) |
const |
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. |
◆ OnDirectoryClose() [2/3]
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. |
◆ OnDirectoryClose() [3/3]
void diskCache::Cache::Registry::Info::OnDirectoryClose |
( |
DirectoryScanData & |
Data | ) |
const |
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() [1/3]
void diskCache::Cache::Registry::Info::TranslateQuery |
( |
const QueryParams & |
Params, |
|
|
QueryAnswer & |
Answer |
|
) |
| const |
|
inline |
◆ TranslateQuery() [2/3]
void diskCache::Cache::Registry::Info::TranslateQuery |
( |
const QueryParams & |
Params, |
|
|
QueryAnswer & |
Answer |
|
) |
| const |
◆ TranslateQuery() [3/3]
void diskCache::Cache::Registry::Info::TranslateQuery |
( |
const QueryParams & |
Params, |
|
|
QueryAnswer & |
Answer |
|
) |
| const |
◆ FIND_FUNC_NULL
static const FindFunc diskCache::Cache::Registry::Info::FIND_FUNC_NULL |
|
static |
◆ IS_MATCH_FUNC_NULL
static const IsMatchFunc diskCache::Cache::Registry::Info::IS_MATCH_FUNC_NULL |
|
static |
◆ m_find_func
FindFunc diskCache::Cache::Registry::Info::m_find_func |
|
private |
◆ m_is_match_func
IsMatchFunc diskCache::Cache::Registry::Info::m_is_match_func |
|
private |
◆ m_key_name
◆ m_on_directory_close_func
◆ m_translate_query_func
◆ ON_DIRECTORY_CLOSE_FUNC_NULL
◆ TRANSLATE_QUERY_FUNC_NULL
static const TranslateQueryFunc diskCache::Cache::Registry::Info::TRANSLATE_QUERY_FUNC_NULL |
|
static |
The documentation for this class was generated from the following files:
- /build/ldas-tools-diskcacheapi-2.7.0/debian/tmp/usr/include/diskcacheAPI/Cache/Registry.hh
- /build/ldas-tools-diskcacheapi-2.7.0/src/Cache/Registry.cc