ldas-tools-diskcacheAPI  2.5.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
diskCache::Cache::ExcludedPattern Class Reference

Manages set of filename exclusion patterns. More...

#include <ExcludedPattern.hh>

Inheritance diagram for diskCache::Cache::ExcludedPattern:

Public Types

typedef std::list< std::string > pattern_container_type
 
typedef
pattern_container_type::value_type 
value_type
 

Public Member Functions

 ExcludedPattern ()
 
 ~ExcludedPattern ()
 

Static Public Member Functions

static const
pattern_container_type
Get ()
 Retrieve collection of file name patterns to exclude. More...
 
static bool IsExcluded (const value_type &Filename)
 Check if the file should be excluded. More...
 
static void Update (const pattern_container_type &Patterns)
 Change the matching patterns. More...
 

Detailed Description

Manages set of filename exclusion patterns.

Member Typedef Documentation

typedef pattern_container_type::value_type diskCache::Cache::ExcludedPattern::value_type

Constructor & Destructor Documentation

diskCache::Cache::ExcludedPattern::ExcludedPattern ( )
diskCache::Cache::ExcludedPattern::~ExcludedPattern ( )

Member Function Documentation

const ExcludedPattern::pattern_container_type & diskCache::Cache::ExcludedPattern::Get ( )
static

Retrieve collection of file name patterns to exclude.

bool diskCache::Cache::ExcludedPattern::IsExcluded ( const value_type Filename)
static

Check if the file should be excluded.

Parameters
[in]FilenameName of file to be checked for exclusion
Returns
If Filename is to be excluded, then return true; false otherwise
void diskCache::Cache::ExcludedPattern::Update ( const pattern_container_type Patterns)
static

Change the matching patterns.

Parameters
[in]PatternsList of patterns that descibe the files which should be excluded (ex: ".*[.]tmp")
Returns
If Filename is to be excluded, then return true; false otherwise

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