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 |
library's problem resolver implementation
void cupt::system::NativeResolver::installVersion | ( | const shared_ptr< const BinaryVersion > & | ) | [virtual] |
Requests installation of the specific version.
Implements cupt::system::Resolver.
void cupt::system::NativeResolver::removePackage | ( | const string & | packageName | ) | [virtual] |
Requests that specified package is removed.
packageName |
Implements cupt::system::Resolver.
bool cupt::system::NativeResolver::resolve | ( | Resolver::CallbackType | ) | [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.
void cupt::system::NativeResolver::satisfyRelationExpression | ( | const RelationExpression & | ) | [virtual] |
Requests that specified relation expression is satisfied.
Implements cupt::system::Resolver.
void cupt::system::NativeResolver::unsatisfyRelationExpression | ( | const RelationExpression & | ) | [virtual] |
Requests that specified relation expression is not satisfied.
Implements cupt::system::Resolver.
void cupt::system::NativeResolver::upgrade | ( | ) | [virtual] |
Requests an upgrade of all installed packages (to their policy version).
Implements cupt::system::Resolver.