Cupt
|
library's problem resolver implementation More...
#include <cupt/system/resolvers/native.hpp>
Public Member Functions | |
NativeResolver (const shared_ptr< const Config > &, const shared_ptr< const Cache > &) | |
constructor | |
void | installVersion (const shared_ptr< const BinaryVersion > &) |
void | satisfyRelationExpression (const RelationExpression &) |
void | unsatisfyRelationExpression (const RelationExpression &) |
void | removePackage (const string &packageName) |
void | upgrade () |
bool | resolve (Resolver::CallbackType) |
perform a resolve computations | |
![]() | |
virtual | ~Resolver () |
destructor |
Additional Inherited Members | |
![]() | |
typedef map< string, SuggestedPackage > | SuggestedPackages |
typedef std::function < UserAnswer::Type(const Offer &) > | CallbackType |
callback function type |
library's problem resolver implementation
|
virtual |
Requests installation of the specific version.
Implements cupt::system::Resolver.
|
virtual |
Requests that specified package is removed.
packageName |
Implements cupt::system::Resolver.
|
virtual |
perform a resolve computations
Takes all requested data and tries to find the best valid set of packages which conforms to what was requested.
true
if the solution was found and accepted by user, false
otherwise Implements cupt::system::Resolver.
|
virtual |
Requests that specified relation expression is satisfied.
Implements cupt::system::Resolver.
|
virtual |
Requests that specified relation expression is not satisfied.
Implements cupt::system::Resolver.
|
virtual |
Requests an upgrade of all installed packages (to their policy version).
Implements cupt::system::Resolver.