#include <Directory.hh>
◆ directory_container_type
typedef std::map< std::string, info_type > diskCache::Cache::Directory::ScanResults::directory_container_type |
◆ directory_count_type
typedef INT_4U diskCache::Cache::Directory::ScanResults::directory_count_type |
◆ directory_state
◆ file_container_type
typedef std::map< std::string, count_type > diskCache::Cache::Directory::ScanResults::file_container_type |
◆ file_count_type
typedef INT_4U diskCache::Cache::Directory::ScanResults::file_count_type |
◆ filename_container_type
typedef std::list< std::string > diskCache::Cache::Directory::ScanResults::filename_container_type |
◆ ScanResults()
◆ Added() [1/3]
Retrieve the collection of added directories.
- Parameters
-
[in] | DirectoryName | The parent directory |
◆ Added() [2/3]
void diskCache::Cache::Directory::ScanResults::Added |
( |
const std::string & |
DirectoryName, |
|
|
filename_container_type & |
Subdirectories |
|
) |
| |
|
inline |
Add the directories that were newly discovered.
- Parameters
-
[in] | DirectoryName | The parent directory |
[in,out] | Subdirectories | The collection of directories that have been newly added. |
◆ Added() [3/3]
void diskCache::Cache::Directory::ScanResults::Added |
( |
const std::string & |
DirectoryName, |
|
|
const std::string & |
SearchEngine, |
|
|
INT_4U |
FileCount |
|
) |
| |
|
inline |
◆ DirectoryCount()
Retrieve the number of directories scanned.
Return the number of directorys that have been scanned.
◆ DirectoryCountInc()
void diskCache::Cache::Directory::ScanResults::DirectoryCountInc |
( |
| ) |
|
|
inline |
Retrieve the number of directories scanned.
Increment the number of directorys that have been scanned.
◆ FileCount()
Retrieve the number of Files scanned.
Return the number of files that have been scanned.
◆ FileCountInc()
void diskCache::Cache::Directory::ScanResults::FileCountInc |
( |
file_count_type |
Value | ) |
|
|
inline |
Increment the number of Files scanned.
Increment the number of files that have been scanned.
- Parameters
-
[in] | Value | The amount by which to incriment the file count. |
◆ Log()
void diskCache::Cache::Directory::ScanResults::Log |
( |
const std::string & |
Caller, |
|
|
const std::string & |
JobInfo |
|
) |
| const |
◆ operator()()
template<typename Op >
void diskCache::Cache::Directory::ScanResults::operator() |
( |
Op |
Operation | ) |
const |
|
inline |
Scan through the results.
◆ Removed() [1/3]
Retrieve the collection of removed directories.
- Parameters
-
[in] | DirectoryName | The parent directory |
◆ Removed() [2/3]
void diskCache::Cache::Directory::ScanResults::Removed |
( |
const std::string & |
DirectoryName, |
|
|
filename_container_type & |
Subdirectories |
|
) |
| |
Add the directories that were removed.
- Parameters
-
[in] | DirectoryName | The parent directory |
[in,out] | Subdirectories | The collection of directories that have been newly added. |
◆ Removed() [3/3]
void diskCache::Cache::Directory::ScanResults::Removed |
( |
const std::string & |
DirectoryName, |
|
|
const std::string & |
SearchEngine, |
|
|
INT_4U |
FileCount |
|
) |
| |
|
inline |
◆ Results()
◆ State()
void diskCache::Cache::Directory::ScanResults::State |
( |
const std::string & |
DirectoryName, |
|
|
directory_state |
State |
|
) |
| |
|
inline |
Record the directory state at the time of scanning.
- Parameters
-
[in] | DirectoryName | The name of the directory that was scanned. |
[in] | State | The state of the directory at the time of being scanned. |
The documentation for this class was generated from the following files: