NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CMask Class Referenceabstract

Search Toolkit Book for CMask

CMask –. More...

#include <corelib/ncbi_mask.hpp>

+ Inheritance diagram for CMask:
+ Collaboration diagram for CMask:

Public Member Functions

 CMask (void)
 Constructor. More...
 
virtual ~CMask (void)
 Destructor. More...
 
void Add (const string &mask)
 Add an inclusion mask. More...
 
void AddExclusion (const string &mask)
 Add an exclusion mask. More...
 
void Remove (const string &mask)
 Remove an inclusion mask. More...
 
void RemoveExclusion (const string &mask)
 Remove an exclusion mask. More...
 
virtual bool Match (CTempString str, NStr::ECase use_case=NStr::eCase) const =0
 Match a string. More...
 

Protected Attributes

list< stringm_Inclusions
 List of inclusion masks. More...
 
list< stringm_Exclusions
 List of exclusion masks. More...
 

Detailed Description

CMask –.

Abstract class. Base class for CMaskFileName, CMaskRegexp.

An empty mask object always corresponds to "all is included" case. Throws exceptions on errors.

Definition at line 58 of file ncbi_mask.hpp.


The documentation for this class was generated from the following file:
Modified on Wed Jun 19 16:59:58 2024 by modify_doxy.py rev. 669887