Public Member Functions |
bool | checkName (const std::string &name) const |
std::string | constructPackageName (VarId varId) const |
std::string | constructPackageNameWithBuildTime (VarId varId) const |
void | fillPkgData (VarId varId, Pkg &pkg) const |
std::string | getDesignation (const IdPkgRel &r) const |
std::string | getPackageName (VarId varId) const |
std::string | getVersion (VarId varId) const |
PackageId | packageIdOfVarId (VarId varId) const |
std::string | packageIdToStr (PackageId packageId) const |
| PkgScopeBase (const AbstractPackageBackEnd &backEnd, const Snapshot &snapshot, const ProvideMap &provideMap, const InstalledReferences &installedRequiresEntries, const InstalledReferences &installedConflictsEntries) |
PackageId | strToPackageId (const std::string &name) const |
virtual | ~PkgScopeBase () |
| The destructor.
|
Protected Types |
typedef PkgSnapshot::Snapshot | Snapshot |
typedef PkgSnapshot::Pkg | SnapshotPkg |
typedef PkgSnapshot::PkgVector | SnapshotPkgVector |
typedef PkgSnapshot::Relation | SnapshotRelation |
typedef PkgSnapshot::RelationVector | SnapshotRelationVector |
Protected Member Functions |
std::string | constructFullVersion (VarId varId) const |
int | versionCompare (const std::string &ver1, const std::string &ver2) const |
bool | versionEqual (const std::string &ver1, const std::string &ver2) const |
bool | versionGreater (const std::string &ver1, const std::string &ver2) const |
bool | versionOverlap (const VersionCond &ver1, const VersionCond &ver2) const |
Protected Attributes |
const AbstractPackageBackEnd & | m_backEnd |
const InstalledReferences & | m_installedConflictsEntries |
const InstalledReferences & | m_installedRequiresEntries |
const SnapshotPkgVector & | m_pkgs |
const ProvideMap & | m_provideMap |
const SnapshotRelationVector & | m_relations |
const Snapshot & | m_snapshot |