Deepsolver
Public Member Functions
PackageScope Class Reference

List of all members.

Public Member Functions

bool allProvidesHaveTheVersion (const VarIdVector &vars, PackageId provideEntry)
bool canBeSatisfiedByInstalled (PackageId pkgId)
bool canBeSatisfiedByInstalled (PackageId pkgId, const VersionCond &ver)
bool checkName (const std::string &name) const
std::string constructFullVersion (VarId varId) const
std::string constructPackageName (VarId varId) const
void getConflicts (VarId varId, PackageIdVector &withoutVersion, PackageIdVector &withVersion, VersionCondVector &versions) const
void getRequires (VarId varId, PackageIdVector &depWithoutVersion, PackageIdVector &depWithVersion, VersionCondVector &versions) const
bool isInstalled (VarId varId) const
bool isInstalledWithMatchingAlternatives (VarId varId) const
PackageId packageIdOfVarId (VarId varId) const
std::string packageIdToStr (PackageId packageId) const
 Translates the package name replaced by PackageId value to original string.
 PackageScope (const PackageScopeContent &content, const ProvideMap &provideMap, const InstalledReferences &requiresReferences, const InstalledReferences &conflictsReferences)
void selectInstalledNoProvides (PackageId pkgId, VarIdVector &vars) const
void selectMatchingVarsAmongProvides (PackageId packageId, VarIdVector &vars)
void selectMatchingVarsAmongProvides (PackageId packageId, const VersionCond &ver, VarIdVector &vars)
void selectMatchingVarsNoProvides (PackageId packageId, VarIdVector &vars)
void selectMatchingVarsNoProvides (PackageId packageId, const VersionCond &ver, VarIdVector &vars)
void selectMatchingVarsWithProvides (PackageId packageId, VarIdVector &vars)
void selectMatchingVarsWithProvides (PackageId packageId, const VersionCond &ver, VarIdVector &vars)
void selectTheNewest (VarIdVector &vars)
void selectTheNewestByProvide (VarIdVector &vars, PackageId provideEntry)
PackageId strToPackageId (const std::string &name) const
 Translates package name as a string to PackageId value.
bool variableSatisfies (VarId varId, const IdPkgRel &rel)
void whatConflictsAmongInstalled (VarId varId, VarIdVector &res, IdPkgRelVector &resRels)
void whatDependsAmongInstalled (VarId varId, VarIdVector &res, IdPkgRelVector &resRels)
void whatSatisfiesAmongInstalled (const IdPkgRel &rel, VarIdVector &res)

Member Function Documentation

std::string PackageScope::packageIdToStr ( PackageId  packageId) const

Package Id replaces both the real names and provides entries

PackageId PackageScope::strToPackageId ( const std::string &  name) const

Package Id replaces both the real names and provides entries