#include <iostream>
#include <zypp/Resolver.h>
#include <zypp/solver/detail/Resolver.h>
#include <zypp/solver/detail/Testcase.h>
#include <zypp/solver/detail/ItemCapKind.h>
#include <zypp/sat/Transaction.h>
#include <boost/static_assert.hpp>
#include <zypp/base/LogTools.h>
#include <zypp/base/Algorithm.h>
#include <zypp/solver/detail/SATResolver.h>
#include <zypp/solver/detail/SolutionAction.h>
#include <zypp/solver/detail/SolverQueueItem.h>
#include <zypp/ZConfig.h>
Go to the source code of this file.
|
#define | ZYPP_USE_RESOLVER_INTERNALS |
|
#define | ZOLV_FLAG_BOOL(ZSETTER, ZGETTER) |
|
#define | ZOLV_FLAG_TRIBOOL(ZSETTER, ZDEFAULT, ZGETTER) |
|
#define | ZYPP_USE_RESOLVER_INTERNALS |
|
#define | MAXSOLVERRUNS 5 |
|
#define | ZYPP_BASE_LOGGER_LOGGROUP "zypp::solver" |
|
#define | OUTS(t) os << " " << #t << ":\t" << t << endl; |
|
#define | ZOLV_FLAG_DEFAULT(ZSETTER, ZGETTER) if ( all_r || _applyDefault_##ZGETTER ) ZSETTER( indeterminate ) |
|
#define | ZOLV_FLAG_TRIBOOL(ZSETTER, ZGETTER, ZVARDEFAULT, ZVARNAME) |
|
#define | ZOLV_FLAG_SATSOLV(ZSETTER, ZGETTER, ZVARDEFAULT, ZVARNAME) ZOLV_FLAG_TRIBOOL( ZSETTER, ZGETTER, ZVARDEFAULT, _satResolver->ZVARNAME ) |
|
|
| zypp::IMPL_PTR_TYPE (Resolver) |
|
std::ostream & | zypp::operator<< (std::ostream &str, const Resolver &obj) |
|
| zypp::solver::detail::ZOLV_FLAG_SATSOLV (setCleandepsOnRemove, cleandepsOnRemove, ZConfig::instance().solver_cleandepsOnRemove(), _cleandepsOnRemove) ZOLV_FLAG_SATSOLV(setOnlyRequires |
|
_onlyRequires | zypp::solver::detail::ZOLV_FLAG_SATSOLV (setAllowVendorChange, allowVendorChange, ZConfig::instance().solver_allowVendorChange(), _allowvendorchange) ZOLV_FLAG_SATSOLV(dupSetAllowDowngrade |
|
_onlyRequires _dup_allowdowngrade | zypp::solver::detail::ZOLV_FLAG_SATSOLV (dupSetAllowNameChange, dupAllowNameChange, ZConfig::instance().solver_dupAllowNameChange(), _dup_allownamechange) ZOLV_FLAG_SATSOLV(dupSetAllowArchChange |
|
_onlyRequires _dup_allowdowngrade _dup_allowarchchange | zypp::solver::detail::ZOLV_FLAG_SATSOLV (dupSetAllowVendorChange, dupAllowVendorChange, ZConfig::instance().solver_dupAllowVendorChange(), _dup_allowvendorchange) ResPool Resolver |
|
◆ ZYPP_USE_RESOLVER_INTERNALS [1/2]
#define ZYPP_USE_RESOLVER_INTERNALS |
◆ ZOLV_FLAG_BOOL
#define ZOLV_FLAG_BOOL |
( |
|
ZSETTER, |
|
|
|
ZGETTER |
|
) |
| |
Value: void Resolver::ZSETTER( bool yesno_r ){ _pimpl->ZSETTER( yesno_r ); } \
bool Resolver::ZGETTER() const { return _pimpl->ZGETTER(); } \
Definition at line 117 of file Resolver.cc.
◆ ZOLV_FLAG_TRIBOOL [1/2]
#define ZOLV_FLAG_TRIBOOL |
( |
|
ZSETTER, |
|
|
|
ZDEFAULT, |
|
|
|
ZGETTER |
|
) |
| |
Value:
void Resolver::ZDEFAULT() { _pimpl->ZSETTER( indeterminate ); } \
#define ZOLV_FLAG_BOOL(ZSETTER, ZGETTER)
Definition at line 142 of file Resolver.cc.
◆ ZYPP_USE_RESOLVER_INTERNALS [2/2]
#define ZYPP_USE_RESOLVER_INTERNALS |
◆ MAXSOLVERRUNS
◆ ZYPP_BASE_LOGGER_LOGGROUP
#define ZYPP_BASE_LOGGER_LOGGROUP "zypp::solver" |
◆ OUTS
#define OUTS |
( |
|
t | ) |
os << " " << #t << ":\t" << t << endl; |
◆ ZOLV_FLAG_DEFAULT
#define ZOLV_FLAG_DEFAULT |
( |
|
ZSETTER, |
|
|
|
ZGETTER |
|
) |
| if ( all_r || _applyDefault_##ZGETTER ) ZSETTER( indeterminate ) |
◆ ZOLV_FLAG_TRIBOOL [2/2]
#define ZOLV_FLAG_TRIBOOL |
( |
|
ZSETTER, |
|
|
|
ZGETTER, |
|
|
|
ZVARDEFAULT, |
|
|
|
ZVARNAME |
|
) |
| |
Value: void Resolver::ZSETTER(
TriBool state_r ) \
{ _applyDefault_##ZGETTER = indeterminate(state_r); \
bool newval = _applyDefault_##ZGETTER ? ZVARDEFAULT :
bool(state_r); \
if ( ZVARNAME != newval ) { \
DBG << #ZGETTER <<
": changed from " << (
bool)ZVARNAME <<
" to " << newval << endl;\
ZVARNAME = newval; \
} \
} \
bool Resolver::ZGETTER() const \
{ return ZVARNAME; } \
Definition at line 142 of file Resolver.cc.
◆ ZOLV_FLAG_SATSOLV
#define ZOLV_FLAG_SATSOLV |
( |
|
ZSETTER, |
|
|
|
ZGETTER, |
|
|
|
ZVARDEFAULT, |
|
|
|
ZVARNAME |
|
) |
| ZOLV_FLAG_TRIBOOL( ZSETTER, ZGETTER, ZVARDEFAULT, _satResolver->ZVARNAME ) |