ldas-tools-diskcacheAPI
2.6.3
|
This class has the cache of directory information. More...
#include <SDGTx.hh>
Classes | |
class | OverlappingFileError |
Public Types | |
typedef DirectoryScanData::scan_data::size_type | size_type |
typedef boost::shared_ptr< Streams::Streamable > | read_return_type |
typedef std::string | extension_type |
typedef std::string | site_type |
typedef std::string | desc_type |
typedef std::string | site_desc_type |
typedef INT_4U | time_type |
typedef INT_4U | dt_type |
Public Member Functions | |
DirectoryInfo () | |
void | AddFile (const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) |
virtual size_type | Count () const |
void | Find (const Directory &Dir, QueryAnswer &Answer) const |
bool | FindFile (const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) const |
bool | Overlap (OverlapHandler &Overlaps, const std::string &DirectoryName, const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) const |
template<class WriterT > | |
void | Write (WriterT &Stream) const |
template<> | |
void | Write (Streams::OASCII &Stream) const |
template<> | |
SDGTx::DirectoryInfo::read_return_type | Read (Streams::IBinary &Stream) |
template<> | |
void | Write (Streams::OBinary &Stream) const |
Static Public Member Functions | |
template<class ReaderT > | |
static read_return_type | Read (ReaderT &Stream) |
This class has the cache of directory information.
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::desc_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::dt_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::extension_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::SDGTx::DirectoryInfo::read_return_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_type |
typedef DirectoryScanData::scan_data::size_type diskCache::Cache::SDGTx::DirectoryInfo::size_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::time_type |
diskCache::Cache::SDGTx::DirectoryInfo::DirectoryInfo | ( | ) |
void diskCache::Cache::SDGTx::DirectoryInfo::AddFile | ( | const extension_type & | Extension, |
const site_type & | Site, | ||
const desc_type & | Description, | ||
const time_type | Start, | ||
const dt_type | Duration | ||
) |
|
virtual |
Implements diskCache::Streams::Streamable.
void diskCache::Cache::SDGTx::DirectoryInfo::Find | ( | const Directory & | Dir, |
QueryAnswer & | Answer | ||
) | const |
bool diskCache::Cache::SDGTx::DirectoryInfo::FindFile | ( | const extension_type & | Extension, |
const site_type & | Site, | ||
const desc_type & | Description, | ||
const time_type | Start, | ||
const dt_type | Duration | ||
) | const |
bool diskCache::Cache::SDGTx::DirectoryInfo::Overlap | ( | OverlapHandler & | Overlaps, |
const std::string & | DirectoryName, | ||
const extension_type & | Extension, | ||
const site_type & | Site, | ||
const desc_type & | Description, | ||
const time_type | Start, | ||
const dt_type | Duration | ||
) | const |
SDGTx::DirectoryInfo::read_return_type diskCache::Cache::SDGTx::DirectoryInfo::Read | ( | Streams::IBinary & | Stream | ) |
|
static |
void diskCache::Cache::SDGTx::DirectoryInfo::Write | ( | Streams::OASCII & | Stream | ) | const |
void diskCache::Cache::SDGTx::DirectoryInfo::Write | ( | Streams::OBinary & | Stream | ) | const |
void diskCache::Cache::SDGTx::DirectoryInfo::Write | ( | WriterT & | Stream | ) | const |