ldas-tools-diskcacheAPI  2.7.2
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
diskCache::Cache::SDGTx::OverlapHandler Class Reference

#include <SDGTx.hh>

Collaboration diagram for diskCache::Cache::SDGTx::OverlapHandler:
Collaboration graph
[legend]

Classes

struct  range_type
 

Public Types

typedef INT_4U time_type
 
typedef INT_4U time_type
 
typedef INT_4U time_type
 

Public Member Functions

 OverlapHandler (const std::string &SourceDirectory)
 Constructor. More...
 
 ~OverlapHandler ()
 Release resources back to the system. More...
 
const std::string & Directory () const
 
void Register (const std::string &DirectoryName, const std::string &Extension, const std::string &IFOType, time_type SourceStart, time_type SourceEnd, time_type SourceDuration, time_type ConflictStart, time_type ConflictEnd, time_type ConflictDuration)
 Register an overlapping error. More...
 
 OverlapHandler (const std::string &SourceDirectory)
 Constructor. More...
 
 ~OverlapHandler ()
 Release resources back to the system. More...
 
const std::string & Directory () const
 
void Register (const std::string &DirectoryName, const std::string &Extension, const std::string &IFOType, time_type SourceStart, time_type SourceEnd, time_type SourceDuration, time_type ConflictStart, time_type ConflictEnd, time_type ConflictDuration)
 Register an overlapping error. More...
 
 OverlapHandler (const std::string &SourceDirectory)
 Constructor. More...
 
 ~OverlapHandler ()
 Release resources back to the system. More...
 
const std::string & Directory () const
 
void Register (const std::string &DirectoryName, const std::string &Extension, const std::string &IFOType, time_type SourceStart, time_type SourceEnd, time_type SourceDuration, time_type ConflictStart, time_type ConflictEnd, time_type ConflictDuration)
 Register an overlapping error. More...
 

Private Types

typedef std::pair< time_type, time_typeend_type
 
typedef std::map< time_type, end_typeinterval_type
 
typedef std::map< std::string, interval_typeoverlapping_type
 
typedef std::map< time_type, range_typeconflicts_type
 
typedef std::map< std::string, conflicts_typeifotype_type
 
typedef std::map< std::string, ifotype_typeext_type
 
typedef std::pair< time_type, time_typeend_type
 
typedef std::map< time_type, end_typeinterval_type
 
typedef std::map< std::string, interval_typeoverlapping_type
 
typedef std::map< time_type, range_typeconflicts_type
 
typedef std::map< std::string, conflicts_typeifotype_type
 
typedef std::map< std::string, ifotype_typeext_type
 
typedef std::pair< time_type, time_typeend_type
 
typedef std::map< time_type, end_typeinterval_type
 
typedef std::map< std::string, interval_typeoverlapping_type
 
typedef std::map< time_type, range_typeconflicts_type
 
typedef std::map< std::string, conflicts_typeifotype_type
 
typedef std::map< std::string, ifotype_typeext_type
 

Private Attributes

std::string m_directory_name
 
ext_type m_cache
 

Member Typedef Documentation

◆ conflicts_type [1/3]

◆ conflicts_type [2/3]

◆ conflicts_type [3/3]

◆ end_type [1/3]

◆ end_type [2/3]

◆ end_type [3/3]

◆ ext_type [1/3]

◆ ext_type [2/3]

◆ ext_type [3/3]

◆ ifotype_type [1/3]

◆ ifotype_type [2/3]

◆ ifotype_type [3/3]

◆ interval_type [1/3]

◆ interval_type [2/3]

◆ interval_type [3/3]

◆ overlapping_type [1/3]

◆ overlapping_type [2/3]

◆ overlapping_type [3/3]

◆ time_type [1/3]

◆ time_type [2/3]

◆ time_type [3/3]

Constructor & Destructor Documentation

◆ OverlapHandler() [1/3]

diskCache::Cache::SDGTx::OverlapHandler::OverlapHandler ( const std::string &  SourceDirectory)

Constructor.

Parameters
[in]SourceDirectoryThe directory being checked for overlap errors

◆ ~OverlapHandler() [1/3]

diskCache::Cache::SDGTx::OverlapHandler::~OverlapHandler ( )

Release resources back to the system.

Within the destructor, the information that was gathered about overlapping files is reported.

◆ OverlapHandler() [2/3]

diskCache::Cache::SDGTx::OverlapHandler::OverlapHandler ( const std::string &  SourceDirectory)

Constructor.

Parameters
[in]SourceDirectoryThe directory being checked for overlap errors

◆ ~OverlapHandler() [2/3]

diskCache::Cache::SDGTx::OverlapHandler::~OverlapHandler ( )

Release resources back to the system.

◆ OverlapHandler() [3/3]

diskCache::Cache::SDGTx::OverlapHandler::OverlapHandler ( const std::string &  SourceDirectory)

Constructor.

Parameters
[in]SourceDirectoryThe directory being checked for overlap errors

◆ ~OverlapHandler() [3/3]

diskCache::Cache::SDGTx::OverlapHandler::~OverlapHandler ( )

Release resources back to the system.

Member Function Documentation

◆ Directory() [1/3]

const std::string & diskCache::Cache::SDGTx::OverlapHandler::Directory ( ) const
inline

◆ Directory() [2/3]

const std::string& diskCache::Cache::SDGTx::OverlapHandler::Directory ( ) const

◆ Directory() [3/3]

const std::string& diskCache::Cache::SDGTx::OverlapHandler::Directory ( ) const

◆ Register() [1/3]

void diskCache::Cache::SDGTx::OverlapHandler::Register ( const std::string &  DirectoryName,
const std::string &  Extension,
const std::string &  IFOType,
time_type  SourceStart,
time_type  SourceEnd,
time_type  SourceDuration,
time_type  ConflictStart,
time_type  ConflictEnd,
time_type  ConflictDuration 
)

Register an overlapping error.

◆ Register() [2/3]

void diskCache::Cache::SDGTx::OverlapHandler::Register ( const std::string &  DirectoryName,
const std::string &  Extension,
const std::string &  IFOType,
time_type  SourceStart,
time_type  SourceEnd,
time_type  SourceDuration,
time_type  ConflictStart,
time_type  ConflictEnd,
time_type  ConflictDuration 
)

Register an overlapping error.

Register the overlapping error.

◆ Register() [3/3]

void diskCache::Cache::SDGTx::OverlapHandler::Register ( const std::string &  DirectoryName,
const std::string &  Extension,
const std::string &  IFOType,
time_type  SourceStart,
time_type  SourceEnd,
time_type  SourceDuration,
time_type  ConflictStart,
time_type  ConflictEnd,
time_type  ConflictDuration 
)

Register an overlapping error.

Member Data Documentation

◆ m_cache

ext_type diskCache::Cache::SDGTx::OverlapHandler::m_cache
private

◆ m_directory_name

std::string diskCache::Cache::SDGTx::OverlapHandler::m_directory_name
private

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