ldas-tools-diskcacheAPI  2.6.3
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_typeGet ()
 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

◆ pattern_container_type

◆ value_type

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

Constructor & Destructor Documentation

◆ ExcludedPattern()

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

◆ ~ExcludedPattern()

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

Member Function Documentation

◆ Get()

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

Retrieve collection of file name patterns to exclude.

◆ IsExcluded()

static 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

◆ Update()

static 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 file: