|
ldas-tools-diskcacheAPI
2.7.2
|


Public Types | |
| typedef DirectoryInfo | verified_file_cache_type |
| typedef DirectoryScanData::scan_data | scan_data |
| typedef DirectoryInfo::extension_type | extension_type |
| typedef DirectoryInfo::site_type | site_type |
| typedef DirectoryInfo::desc_type | desc_type |
| typedef DirectoryInfo::site_desc_type | site_desc_type |
| typedef DirectoryInfo::time_type | time_type |
| typedef DirectoryInfo::dt_type | dt_type |
| typedef std::map< time_type, time_type > | interval_type |
| typedef unordered_map< dt_type, interval_type > | dt_cache_type |
| typedef unordered_map< desc_type, dt_cache_type > | desc_cache_type |
| typedef unordered_map< site_type, desc_cache_type > | site_cache_type |
| typedef unordered_map< extension_type, site_cache_type > | extension_cache_type |
| typedef Directory::search_data_type | search_data_type |
| typedef Directory::search_data_type | search_data_type |
| typedef Directory::search_data_type | search_data_type |
| typedef INT_4U | size_type |
| typedef INT_4U | size_type |
| typedef INT_4U | size_type |
Public Member Functions | |
| ScanData () | |
| Constructor. More... | |
| virtual scan_data * | Clone () const |
| Virtual constructor. More... | |
| void | AddNewFile (const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) |
| Add a file to the cache of files to be validated. More... | |
| INT_4U | AddOldFile (const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) |
| Add a file to the cache of known files. More... | |
| virtual size_type | Count () const |
| bool | FindFile (const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) const |
| Search if a file exists in the cache. More... | |
| bool | FindUnderMountPoint (const diskCache::Cache::DirectoryManager &DirManager, const std::string &Root, diskCache::Cache::SDGTx::OverlapHandler &Overlaps, const extension_type &Extension, const site_type &Site, const desc_type &Description, const time_type Start, const dt_type Duration) const |
| locate a file under the same mount point More... | |
| bool | Overlap (diskCache::Cache::SDGTx::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 |
| Detect overlap. More... | |
| virtual search_data_type | SearchData () |
| Return the local information about the directory. More... | |
| const DirectoryManager & | DirManager () const |
| Retrieve the collection of directories. More... | |
| const DirectoryManager & | DirManager () const |
| Retrieve the collection of directories. More... | |
| const DirectoryManager & | DirManager () const |
| Retrieve the collection of directories. More... | |
| const std::string & | Root () const |
| Retrieve the collection of directories. More... | |
| const std::string & | Root () const |
| Retrieve the collection of directories. More... | |
| const std::string & | Root () const |
| Retrieve the collection of directories. More... | |
Public Attributes | |
| extension_cache_type | s_new_cache_data |
| verified_file_cache_type * | s_verified_file_cache_data |
Private Attributes | |
| search_data_type | s_search_data |
| typedef unordered_map< desc_type, dt_cache_type > anonymous_namespace{SDGTx.cc}::ScanData::desc_cache_type |
| typedef DirectoryInfo::desc_type anonymous_namespace{SDGTx.cc}::ScanData::desc_type |
| typedef unordered_map< dt_type, interval_type > anonymous_namespace{SDGTx.cc}::ScanData::dt_cache_type |
| typedef DirectoryInfo::dt_type anonymous_namespace{SDGTx.cc}::ScanData::dt_type |
| typedef unordered_map< extension_type, site_cache_type > anonymous_namespace{SDGTx.cc}::ScanData::extension_cache_type |
| typedef DirectoryInfo::extension_type anonymous_namespace{SDGTx.cc}::ScanData::extension_type |
| typedef std::map< time_type, time_type > anonymous_namespace{SDGTx.cc}::ScanData::interval_type |
| typedef DirectoryScanData::scan_data anonymous_namespace{SDGTx.cc}::ScanData::scan_data |
|
inherited |
|
inherited |
|
inherited |
| typedef unordered_map< site_type, desc_cache_type > anonymous_namespace{SDGTx.cc}::ScanData::site_cache_type |
| typedef DirectoryInfo::site_desc_type anonymous_namespace{SDGTx.cc}::ScanData::site_desc_type |
| typedef DirectoryInfo::site_type anonymous_namespace{SDGTx.cc}::ScanData::site_type |
|
inherited |
|
inherited |
|
inherited |
| typedef DirectoryInfo::time_type anonymous_namespace{SDGTx.cc}::ScanData::time_type |
| typedef DirectoryInfo anonymous_namespace{SDGTx.cc}::ScanData::verified_file_cache_type |
| anonymous_namespace{SDGTx.cc}::ScanData::ScanData | ( | ) |
Constructor.
| void anonymous_namespace{SDGTx.cc}::ScanData::AddNewFile | ( | const extension_type & | Extension, |
| const site_type & | Site, | ||
| const desc_type & | Description, | ||
| const time_type | Start, | ||
| const dt_type | Duration | ||
| ) |
Add a file to the cache of files to be validated.
| [in] | Extension | The filename extension to be added |
| [in] | Site | The IFO information to be added |
| [in] | Description | The description information to be added |
| [in] | Start | The start time to be added |
| [in] | Duration | The delta time to be added |
| INT_4U anonymous_namespace{SDGTx.cc}::ScanData::AddOldFile | ( | const extension_type & | Extension, |
| const site_type & | Site, | ||
| const desc_type & | Description, | ||
| const time_type | Start, | ||
| const dt_type | Duration | ||
| ) |
Add a file to the cache of known files.
| [in] | Extension | The filename extension to be added |
| [in] | Site | The IFO information to be added |
| [in] | Description | The description information to be added |
| [in] | Start | The start time to be added |
| [in] | Duration | The delta time to be added |
|
virtual |
Virtual constructor.
Create a new instance of the parent.
Implements diskCache::Cache::DirectoryScanData::scan_data.
|
virtual |
Implements diskCache::Cache::DirectoryScanData::scan_data.
|
inherited |
Retrieve the collection of directories.
|
inherited |
Retrieve the collection of directories.
|
inherited |
Retrieve the collection of directories.
| bool anonymous_namespace{SDGTx.cc}::ScanData::FindFile | ( | const extension_type & | Extension, |
| const site_type & | Site, | ||
| const desc_type & | Description, | ||
| const time_type | Start, | ||
| const dt_type | Duration | ||
| ) | const |
Search if a file exists in the cache.
| [in] | Extension | The filename extension to be found |
| [in] | Site | The IFO information to be found |
| [in] | Description | The description information to be found |
| [in] | Start | The start time to be found |
| [in] | Duration | The delta time to be found |
| bool anonymous_namespace{SDGTx.cc}::ScanData::FindUnderMountPoint | ( | const diskCache::Cache::DirectoryManager & | DirManager, |
| const std::string & | Root, | ||
| diskCache::Cache::SDGTx::OverlapHandler & | Overlaps, | ||
| const extension_type & | Extension, | ||
| const site_type & | Site, | ||
| const desc_type & | Description, | ||
| const time_type | Start, | ||
| const dt_type | Duration | ||
| ) | const |
locate a file under the same mount point
| bool anonymous_namespace{SDGTx.cc}::ScanData::Overlap | ( | diskCache::Cache::SDGTx::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 |
Detect overlap.
| [in] | Extension | The filename extension to be found |
| [in] | Site | The IFO information to be found |
| [in] | Description | The description information to be found |
| [in] | Start | The start time to be found |
| [in] | Duration | The delta time to be found |
|
inherited |
Retrieve the collection of directories.
|
inherited |
Retrieve the collection of directories.
|
inherited |
Retrieve the collection of directories.
|
inlinevirtual |
Return the local information about the directory.
Implements diskCache::Cache::DirectoryScanData::scan_data.
| extension_cache_type anonymous_namespace{SDGTx.cc}::ScanData::s_new_cache_data |
|
private |
| verified_file_cache_type* anonymous_namespace{SDGTx.cc}::ScanData::s_verified_file_cache_data |
1.8.13