ldas-tools-diskcacheAPI  2.6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | Static Private Attributes | List of all members
diskCache::Cache::RegistrySingleton Class Reference

#include <RegistrySingleton.hh>

Inheritance diagram for diskCache::Cache::RegistrySingleton:
diskCache::Cache::Registry

Public Types

typedef Registry::info_type info_type
 
typedef Registry::id_type id_type
 
typedef Registry::ascii_key_type ascii_key_type
 
typedef Registry::Info Info
 
typedef
Registry::Info::indexing_type 
indexing_type
 

Public Member Functions

 SINGLETON_TS_DECL (RegistrySingleton)
 

Static Public Member Functions

static const info_type GetInfo (id_type Key)
 
static id_type Id (const ascii_key_type &Key)
 
static void OnDirectoryClose (DirectoryScanData &Data)
 
static id_type Register (const Info &Key)
 
static bool ScanForMatch (DirectoryScanData &Data)
 
static void TranslateQuery (const QueryParams &Params, QueryAnswer &Answer)
 

Static Public Attributes

static const id_type ID_NULL = 0
 

Private Types

typedef void(* FindFunc )(const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer)
 
typedef bool(* IsMatchFunc )(DirectoryScanData &Data)
 
typedef void(* OnDirectoryCloseFunc )(DirectoryScanData &Data)
 
typedef void(* TranslateQueryFunc )(const QueryParams &Params, QueryAnswer &Answer)
 
typedef
LDASTools::AL::unordered_map
< id_type, info_type
registry_container_type
 

Private Member Functions

id_type Register (const Info &Key)
 
void TranslateQuery (const Cache::QueryParams &Params, Cache::QueryAnswer &Answer) const
 Translate a query. More...
 
id_type Id (const std::string &Name) const
 
const info_type GetInfo (id_type Id) const
 
const registry_container_typeregistry () const
 

Static Private Attributes

static const id_type KEY_NULL = id_type( 0 )
 

Member Typedef Documentation

Member Function Documentation

const RegistrySingleton::info_type diskCache::Cache::RegistrySingleton::GetInfo ( id_type  Key)
inlinestatic
RegistrySingleton::id_type diskCache::Cache::RegistrySingleton::Id ( const ascii_key_type Key)
inlinestatic
void diskCache::Cache::RegistrySingleton::OnDirectoryClose ( DirectoryScanData Data)
inlinestatic
RegistrySingleton::id_type diskCache::Cache::RegistrySingleton::Register ( const Info Key)
inlinestatic
bool diskCache::Cache::RegistrySingleton::ScanForMatch ( DirectoryScanData Data)
inlinestatic
diskCache::Cache::RegistrySingleton::SINGLETON_TS_DECL ( RegistrySingleton  )
void diskCache::Cache::RegistrySingleton::TranslateQuery ( const QueryParams Params,
QueryAnswer Answer 
)
inlinestatic

Member Data Documentation

const RegistrySingleton::id_type diskCache::Cache::RegistrySingleton::ID_NULL = 0
static

The documentation for this class was generated from the following files: