ldas-tools-diskcacheAPI  2.5.6
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
diskCache::Cache::SDGTx::DirectoryInfo Class Reference

This class has the cache of directory information. More...

#include <SDGTx.hh>

Inheritance diagram for diskCache::Cache::SDGTx::DirectoryInfo:
diskCache::Streams::Streamable

Classes

class  OverlappingFileError
 

Public Types

typedef DirectoryScanData::scan_data::size_type size_type
 
typedef LDASTools::AL::SharedPtr< Streams::Streamableread_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)
 

Detailed Description

This class has the cache of directory information.

Member Typedef Documentation

◆ desc_type

◆ dt_type

◆ extension_type

◆ read_return_type

◆ site_desc_type

◆ site_type

◆ size_type

typedef DirectoryScanData::scan_data::size_type diskCache::Cache::SDGTx::DirectoryInfo::size_type

◆ time_type

Constructor & Destructor Documentation

◆ DirectoryInfo()

diskCache::Cache::SDGTx::DirectoryInfo::DirectoryInfo ( )

Member Function Documentation

◆ AddFile()

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 
)

◆ Count()

SDGTx::DirectoryInfo::size_type diskCache::Cache::SDGTx::DirectoryInfo::Count ( ) const
virtual

◆ Find()

void diskCache::Cache::SDGTx::DirectoryInfo::Find ( const Directory Dir,
QueryAnswer Answer 
) const
Todo:
Do a regular expression comparison

◆ FindFile()

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

◆ Overlap()

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

◆ Read() [1/2]

template<>
SDGTx::DirectoryInfo::read_return_type diskCache::Cache::SDGTx::DirectoryInfo::Read ( Streams::IBinary Stream)

◆ Read() [2/2]

template<class ReaderT >
static read_return_type diskCache::Cache::SDGTx::DirectoryInfo::Read ( ReaderT &  Stream)
static

◆ Write() [1/3]

template<>
void diskCache::Cache::SDGTx::DirectoryInfo::Write ( Streams::OASCII Stream) const

◆ Write() [2/3]

template<>
void diskCache::Cache::SDGTx::DirectoryInfo::Write ( Streams::OBinary Stream) const

◆ Write() [3/3]

template<class WriterT >
void diskCache::Cache::SDGTx::DirectoryInfo::Write ( WriterT &  Stream) const

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