ldas-tools-diskcacheAPI  2.5.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
diskCache::Cache::DirectoryScanData::scan_data Struct Referenceabstract

Storage for search specific data while scanning. More...

#include <Directory.hh>

Public Types

typedef Directory::search_data_type search_data_type
 
typedef INT_4U size_type
 

Public Member Functions

virtual ~scan_data ()
 Destructor. More...
 
virtual scan_dataClone () const =0
 Virtual constructor. More...
 
virtual size_type Count () const =0
 
const DirectoryManagerDirManager () const
 Retrieve the collection of directories. More...
 
const std::string & Root () const
 Retrieve the collection of directories. More...
 
virtual search_data_type SearchData ()=0
 Retrieve the search data. More...
 

Detailed Description

Storage for search specific data while scanning.

This class serves as the base for private data needed by search algorithms during the scan of a directory. Search algorithms should derive from this base and add to extend it with additional information and/or methods.

Member Typedef Documentation

typedef Directory::search_data_type diskCache::Cache::DirectoryScanData::scan_data::search_data_type
typedef INT_4U diskCache::Cache::DirectoryScanData::scan_data::size_type

Constructor & Destructor Documentation

diskCache::Cache::DirectoryScanData::scan_data::~scan_data ( )
virtual

Destructor.

Since this is the base, the destructor is virtual.

Member Function Documentation

virtual scan_data* diskCache::Cache::DirectoryScanData::scan_data::Clone ( ) const
pure virtual

Virtual constructor.

Create a new instance of the parent.

virtual size_type diskCache::Cache::DirectoryScanData::scan_data::Count ( ) const
pure virtual
const DirectoryManager& diskCache::Cache::DirectoryScanData::scan_data::DirManager ( ) const

Retrieve the collection of directories.

const std::string& diskCache::Cache::DirectoryScanData::scan_data::Root ( ) const

Retrieve the collection of directories.

virtual search_data_type diskCache::Cache::DirectoryScanData::scan_data::SearchData ( )
pure virtual

Retrieve the search data.


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