ldas-tools-diskcacheAPI 2.7.7
|
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 |
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 |
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 |
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 |
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) |
template<class ReaderT > | |
static read_return_type | Read (ReaderT &Stream) |
template<class ReaderT > | |
static read_return_type | Read (ReaderT &Stream) |
Private Types | |
typedef std::pair< time_type, dt_type > | duration_type |
holder for end time and delta T elements More... | |
typedef std::map< time_type, duration_type > | interval_container_type |
holder for start time and duration information More... | |
typedef std::map< site_desc_type, interval_container_type > | site_desc_container_type |
holder for site/description and interval data. More... | |
typedef std::map< extension_type, site_desc_container_type > | extension_container_type |
holder for extension and site/description data More... | |
typedef extension_container_type | cache_container_type |
Alias for the top level cache container. More... | |
typedef std::pair< time_type, dt_type > | duration_type |
holder for end time and delta T elements More... | |
typedef std::map< time_type, duration_type > | interval_container_type |
holder for start time and duration information More... | |
typedef std::map< site_desc_type, interval_container_type > | site_desc_container_type |
holder for site/description and interval data. More... | |
typedef std::map< extension_type, site_desc_container_type > | extension_container_type |
holder for extension and site/description data More... | |
typedef extension_container_type | cache_container_type |
Alias for the top level cache container. More... | |
typedef std::pair< time_type, dt_type > | duration_type |
holder for end time and delta T elements More... | |
typedef std::map< time_type, duration_type > | interval_container_type |
holder for start time and duration information More... | |
typedef std::map< site_desc_type, interval_container_type > | site_desc_container_type |
holder for site/description and interval data. More... | |
typedef std::map< extension_type, site_desc_container_type > | extension_container_type |
holder for extension and site/description data More... | |
typedef extension_container_type | cache_container_type |
Alias for the top level cache container. More... | |
Private Member Functions | |
DirectoryInfo (cache_container_type &Source) | |
Constructor used primarily when reading from a stream. More... | |
DirectoryInfo (cache_container_type &Source) | |
Constructor used primarily when reading from a stream. More... | |
DirectoryInfo (cache_container_type &Source) | |
Constructor used primarily when reading from a stream. More... | |
Private Attributes | |
cache_container_type | m_cache |
Cache of matching files from a single directory. More... | |
This class has the cache of directory information.
|
private |
Alias for the top level cache container.
|
private |
Alias for the top level cache container.
|
private |
Alias for the top level cache container.
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::desc_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::dt_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::dt_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::dt_type |
|
private |
holder for end time and delta T elements
|
private |
holder for end time and delta T elements
|
private |
holder for end time and delta T elements
|
private |
holder for extension and site/description data
|
private |
holder for extension and site/description data
|
private |
holder for extension and site/description data
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::extension_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::extension_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::extension_type |
|
private |
holder for start time and duration information
|
private |
holder for start time and duration information
|
private |
holder for start time and duration information
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::SDGTx::DirectoryInfo::read_return_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::SDGTx::DirectoryInfo::read_return_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::SDGTx::DirectoryInfo::read_return_type |
|
private |
holder for site/description and interval data.
|
private |
holder for site/description and interval data.
|
private |
holder for site/description and interval data.
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_desc_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_type |
typedef std::string diskCache::Cache::SDGTx::DirectoryInfo::site_type |
typedef DirectoryScanData::scan_data::size_type diskCache::Cache::SDGTx::DirectoryInfo::size_type |
typedef DirectoryScanData::scan_data::size_type diskCache::Cache::SDGTx::DirectoryInfo::size_type |
typedef DirectoryScanData::scan_data::size_type diskCache::Cache::SDGTx::DirectoryInfo::size_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::time_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::time_type |
typedef INT_4U diskCache::Cache::SDGTx::DirectoryInfo::time_type |
diskCache::Cache::SDGTx::DirectoryInfo::DirectoryInfo | ( | ) |
|
private |
Constructor used primarily when reading from a stream.
[in,out] | Source | This is the new contents of the cache. The old contents are returned as a side effect. |
diskCache::Cache::SDGTx::DirectoryInfo::DirectoryInfo | ( | ) |
|
private |
Constructor used primarily when reading from a stream.
[in,out] | Source | This is the new contents of the cache. The old contents are returned as a side effect. |
diskCache::Cache::SDGTx::DirectoryInfo::DirectoryInfo | ( | ) |
|
private |
Constructor used primarily when reading from a stream.
[in,out] | Source | This is the new contents of the cache. The old contents are returned as a side effect. |
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 | ||
) |
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 | ||
) |
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.
|
virtual |
Implements diskCache::Streams::Streamable.
|
virtual |
Implements diskCache::Streams::Streamable.
void diskCache::Cache::SDGTx::DirectoryInfo::Find | ( | const Directory & | Dir, |
QueryAnswer & | Answer | ||
) | const |
void diskCache::Cache::SDGTx::DirectoryInfo::Find | ( | const Directory & | Dir, |
QueryAnswer & | Answer | ||
) | const |
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::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::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 |
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 |
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 |
|
static |
|
static |
|
static |
SDGTx::DirectoryInfo::read_return_type diskCache::Cache::SDGTx::DirectoryInfo::Read | ( | Streams::IBinary & | Stream | ) |
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 |
void diskCache::Cache::SDGTx::DirectoryInfo::Write | ( | WriterT & | Stream | ) | const |
void diskCache::Cache::SDGTx::DirectoryInfo::Write | ( | WriterT & | Stream | ) | const |
|
private |
Cache of matching files from a single directory.