Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Debtags::BasicPackageMatcher Class Reference

#include <BasicPackageMatcher.h>

Inheritance diagram for Debtags::BasicPackageMatcher:

Debtags::PackageMatcher Tagcoll::Matcher< Package > List of all members.

Public Types

enum  InstalledStatus { YES, NO, ANY }

Public Member Functions

 BasicPackageMatcher () throw ()
virtual ~BasicPackageMatcher () throw ()
void setName (const std::string _name) throw ()
void setMaintainer (const std::string _maint) throw ()
void setString (const std::string _str) throw ()
void setInstalled (InstalledStatus val) throw ()
void setDebtags (const TagSet &ptags) throw ()
bool hasName () const throw ()
bool hasMaintainer () const throw ()
bool hasString () const throw ()
bool hasInstalled () const throw ()
bool hasDebtags () const throw ()
bool hasOnlyName () const throw ()
bool hasOnlyMaintainer () const throw ()
bool isMaintainerSignificant () const throw ()
bool hasOnlyDebtags () const throw ()
bool hasNonDebtags () const throw ()
bool matchName (const std::string &text) const throw ()
bool matchMaintainer (const std::string &text) const throw ()
bool matchString (const std::string &text) const throw ()
bool matchInstalled (int status) const throw ()
bool matchDebtags (const TagSet &ptags) const throw ()
const TagSetdebtagsTagset () const throw ()
bool match (const Package &pkg) const throw ()

Protected Attributes

std::string maint
Regexpname
Regexpstr
InstalledStatus installed
TagSet tags

Member Enumeration Documentation

enum Debtags::BasicPackageMatcher::InstalledStatus
 

Enumeration values:
YES 
NO 
ANY 


Constructor & Destructor Documentation

Debtags::BasicPackageMatcher::BasicPackageMatcher  )  throw () [inline]
 

BasicPackageMatcher::~BasicPackageMatcher  )  throw () [virtual]
 


Member Function Documentation

const TagSet& Debtags::BasicPackageMatcher::debtagsTagset  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasDebtags  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasInstalled  )  const throw () [inline]
 

bool Debtags::BasicPackageMatcher::hasMaintainer  )  const throw () [inline]
 

bool Debtags::BasicPackageMatcher::hasName  )  const throw () [inline]
 

bool Debtags::BasicPackageMatcher::hasNonDebtags  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasOnlyDebtags  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasOnlyMaintainer  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasOnlyName  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool Debtags::BasicPackageMatcher::hasString  )  const throw () [inline]
 

bool Debtags::BasicPackageMatcher::isMaintainerSignificant  )  const throw () [inline, virtual]
 

Implements Debtags::PackageMatcher.

bool BasicPackageMatcher::match const Package pkg  )  const throw () [virtual]
 

Reimplemented from Tagcoll::Matcher< Package >.

bool BasicPackageMatcher::matchDebtags const TagSet ptags  )  const throw ()
 

bool BasicPackageMatcher::matchInstalled int  status  )  const throw ()
 

bool BasicPackageMatcher::matchMaintainer const std::string &  text  )  const throw () [virtual]
 

Implements Debtags::PackageMatcher.

bool BasicPackageMatcher::matchName const std::string &  text  )  const throw () [virtual]
 

Implements Debtags::PackageMatcher.

bool BasicPackageMatcher::matchString const std::string &  text  )  const throw ()
 

void Debtags::BasicPackageMatcher::setDebtags const TagSet ptags  )  throw () [inline]
 

void Debtags::BasicPackageMatcher::setInstalled InstalledStatus  val  )  throw () [inline]
 

void Debtags::BasicPackageMatcher::setMaintainer const std::string  _maint  )  throw () [inline]
 

void BasicPackageMatcher::setName const std::string  _name  )  throw ()
 

void BasicPackageMatcher::setString const std::string  _str  )  throw ()
 


Member Data Documentation

InstalledStatus Debtags::BasicPackageMatcher::installed [protected]
 

std::string Debtags::BasicPackageMatcher::maint [protected]
 

Regexp* Debtags::BasicPackageMatcher::name [protected]
 

Regexp* Debtags::BasicPackageMatcher::str [protected]
 

TagSet Debtags::BasicPackageMatcher::tags [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Mar 19 11:35:23 2005 for libdebtags by  doxygen 1.4.1