Deepsolver
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
Deepsolver::PkgScopeBase Class Reference
Inheritance diagram for Deepsolver::PkgScopeBase:
Deepsolver::AbstractPackageScope Deepsolver::PkgScope

List of all members.

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 AbstractPackageBackEndm_backEnd
const InstalledReferencesm_installedConflictsEntries
const InstalledReferencesm_installedRequiresEntries
const SnapshotPkgVector & m_pkgs
const ProvideMapm_provideMap
const SnapshotRelationVector & m_relations
const Snapshotm_snapshot