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

List of all members.

Public Member Functions

void fullPkgData (VarId varId, Pkg &pkg) const override
std::string getDesignation (VarId varId, int epochMode) const override
std::string getDesignation (const IdPkgRel &r) const override
size_t getPkgCount () const override
std::string getPkgName (VarId varId) const override
std::string getVersion (VarId varId, int epochMode) const override
bool knownPkgName (const std::string &name) const override
PkgId pkgIdOfVarId (VarId varId) const override
std::string pkgIdToStr (PkgId pkgId) const override
 PkgScopeBase (const AbstractPkgBackEnd &backend, const Snapshot &snapshot)
PkgId strToPkgId (const std::string &name) const override
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

NamedPkgRel makeNamedPkgRel (const SnapshotRelation &rel) const
int verCmp (const std::string &ver1, const std::string &ver2) const
bool verEqual (const std::string &ver1, const std::string &ver2) const
bool verGreater (const std::string &ver1, const std::string &ver2) const
bool verOverlap (const VerSubset &ver1, const VerSubset &ver2) const

Protected Attributes

const AbstractPkgBackEndm_backend
const SnapshotPkgVector & m_pkgs
const SnapshotRelationVector & m_relations
const Snapshotm_snapshot