libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgVersionMatch Class Reference

#include <versionmatch.h>

Collaboration diagram for pkgVersionMatch:

Public Types

enum  MatchType {
  None = 0,
  Version,
  Release,
  Origin
}
 

Public Member Functions

 pkgVersionMatch (std::string Data, MatchType Type)
 
bool ExpressionMatches (const char *pattern, const char *string)
 
bool ExpressionMatches (const std::string &pattern, const char *string)
 
bool FileMatch (pkgCache::PkgFileIterator File)
 
pkgCache::VerIterator Find (pkgCache::PkgIterator Pkg)
 
bool MatchVer (const char *A, std::string B, bool Prefix)
 

Public Attributes

enum pkgVersionMatch::MatchType Type
 

Private Attributes

bool MatchAll
 
std::string OrSite
 
std::string RelArchitecture
 
std::string RelArchive
 
std::string RelCodename
 
std::string RelComponent
 
std::string RelLabel
 
std::string RelOrigin
 
std::string RelRelease
 
bool RelVerPrefixMatch
 
std::string RelVerStr
 
bool VerPrefixMatch
 
std::string VerStr
 

Member Enumeration Documentation

Enumerator
None 
Version 
Release 
Origin 

Constructor & Destructor Documentation

pkgVersionMatch::pkgVersionMatch ( std::string  Data,
MatchType  Type 
)

Member Function Documentation

bool pkgVersionMatch::ExpressionMatches ( const char *  pattern,
const char *  string 
)
bool pkgVersionMatch::ExpressionMatches ( const std::string &  pattern,
const char *  string 
)
bool pkgVersionMatch::FileMatch ( pkgCache::PkgFileIterator  File)
pkgCache::VerIterator pkgVersionMatch::Find ( pkgCache::PkgIterator  Pkg)
bool pkgVersionMatch::MatchVer ( const char *  A,
std::string  B,
bool  Prefix 
)

Member Data Documentation

bool pkgVersionMatch::MatchAll
private
std::string pkgVersionMatch::OrSite
private
std::string pkgVersionMatch::RelArchitecture
private
std::string pkgVersionMatch::RelArchive
private
std::string pkgVersionMatch::RelCodename
private
std::string pkgVersionMatch::RelComponent
private
std::string pkgVersionMatch::RelLabel
private
std::string pkgVersionMatch::RelOrigin
private
std::string pkgVersionMatch::RelRelease
private
bool pkgVersionMatch::RelVerPrefixMatch
private
std::string pkgVersionMatch::RelVerStr
private
enum pkgVersionMatch::MatchType pkgVersionMatch::Type
bool pkgVersionMatch::VerPrefixMatch
private
std::string pkgVersionMatch::VerStr
private

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