namespace Akenti class Filter

A Filter is the base class for filter functions

Public Methods

virtual ~Filter ()
Destructor
virtual bool accept (const string& filename) const
Determines if the filename matches the filter's pattern

Documentation

A Filter is the base class for filter functions. A concrete filter class must provide an accept method that compares a given string against a string pattern to see if it matches. Examples of patterns are
"*.pem" matches any filename that ends with the extension pem
"*.*" matches any two component file name
"*" matches any name
virtual ~Filter()
Destructor

virtual bool accept(const string& filename) const
Determines if the filename matches the filter's pattern.
Returns:
bool true if filename matches the filter pattern, otherwise false.
Parameters:
filename - string name to be matched.


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/11/01

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de