ldas-tools-diskcacheAPI
2.6.3
|
#include <SDGTx.hh>
Classes | |
class | DirectoryInfo |
This class has the cache of directory information. More... | |
class | ExtensionError |
class | OverlapHandler |
class | QueryParams |
Optimized version of an ASCII query. More... | |
Public Types | |
typedef std::string | file_extension_type |
typedef std::list< file_extension_type > | file_extension_container_type |
Public Member Functions | |
virtual bool | Configure (const std::string &Variable, const std::string &Value) |
Allow for customization. More... | |
Static Public Member Functions | |
static RegistrySingleton::id_type | RegisterSearchEngine () |
Register as a search engine. More... | |
static void | FileExtList (const file_extension_container_type &Extensions, const std::string &Default) |
static const file_extension_container_type & | FileExtList () |
static void | Find (const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer) |
static bool | IsMatch (DirectoryScanData &Data) |
Function called during processing of a directory. More... | |
static void | OnDirectoryClose (DirectoryScanData &Data) |
Function called after all files have been processed. More... | |
static void | TranslateQuery (const Cache::QueryParams &Params, Cache::QueryAnswer &Answer) |
static void | Query (const Cache::QueryParams &Params, Cache::QueryAnswer &Answer) |
Query for specific data. More... | |
Static Public Attributes | |
static const char * | AsciiId = "SDGTx" |
static RegistrySingleton::id_type | REGISTRY_ID |
static file_extension_type | s_default_extension = ".gwf" |
static file_extension_container_type | s_extensions |
SDGTx caching scheme.
This caching scheme is based on the S-D-G-T.%<ext%> naming convention that is referenced in the appendix of the Frame Specification.
typedef std::list< file_extension_type > diskCache::Cache::SDGTx::file_extension_container_type |
typedef std::string diskCache::Cache::SDGTx::file_extension_type |
|
virtual |
Allow for customization.
[in] | Variable | Name of the option to modify |
[in] | Value | The ascii string representation of the value for the option. |
Implements diskCache::Cache::Interface.
|
static |
|
inlinestatic |
|
static |
|
static |
Function called during processing of a directory.
[in] | Data | Place to log information as the directory is being processed. |
|
static |
Function called after all files have been processed.
[in] | Data | Information gathered during teh scanning of the directory. |
When finished reading from the directory, all files that have been identified as new need to go under further scrutinization to ensure they do not violate any of the rules.
|
static |
Query for specific data.
[in] | Params | The ASCII representation of the query. |
[out] | Answer | The answer set. |
|
static |
Register as a search engine.
Register the search engine so it can be used throughout the system.
|
static |
|
static |
|
static |
|
static |
|
static |