12 #ifndef ZYPP_RESOLVER_H 13 #define ZYPP_RESOLVER_H 64 void setDefaultSolverFlags(
bool all_r =
true );
158 std::list<PoolItem> problematicUpdateItems()
const;
191 void setForceResolve(
bool force );
192 bool forceResolve()
const;
198 void setIgnoreAlreadyRecommended(
bool yesno_r );
199 bool ignoreAlreadyRecommended()
const;
206 void setOnlyRequires(
bool yesno_r );
207 void resetOnlyRequires();
215 void setUpgradeMode(
bool yesno_r );
216 bool upgradeMode()
const;
223 void setUpdateMode(
bool yesno_r );
224 bool updateMode()
const;
240 void setRemoveOrphaned(
bool yesno_r );
241 bool removeOrphaned()
const;
256 void setRemoveUnneeded(
bool yesno_r );
257 bool removeUnneeded()
const;
264 void setAllowDowngrade(
bool yesno_r );
265 void setDefaultAllowDowngrade();
266 bool allowDowngrade()
const;
269 void setAllowNameChange(
bool yesno_r );
270 void setDefaultAllowNameChange();
271 bool allowNameChange()
const;
274 void setAllowArchChange(
bool yesno_r );
275 void setDefaultAllowArchChange();
276 bool allowArchChange()
const;
281 void setAllowVendorChange(
bool yesno_r );
282 void setDefaultAllowVendorChange();
283 bool allowVendorChange()
const;
291 void setSystemVerification(
bool yesno_r );
292 void setDefaultSystemVerification();
293 bool systemVerification()
const;
304 void setSolveSrcPackages(
bool yesno_r );
305 void setDefaultSolveSrcPackages();
306 bool solveSrcPackages()
const;
312 void setCleandepsOnRemove(
bool yesno_r );
313 void setDefaultCleandepsOnRemove();
314 bool cleandepsOnRemove()
const;
322 void dupSetAllowDowngrade(
bool yesno_r );
323 void dupSetDefaultAllowDowngrade();
327 void dupSetAllowNameChange(
bool yesno_r );
328 void dupSetDefaultAllowNameChange();
329 bool dupAllowNameChange()
const;
332 void dupSetAllowArchChange(
bool yesno_r );
333 void dupSetDefaultAllowArchChange();
337 void dupSetAllowVendorChange(
bool yesno_r );
338 void dupSetDefaultAllowVendorChange();
339 bool dupAllowVendorChange()
const;
358 bool upgradingRepos()
const;
363 bool upgradingRepo(
Repository repo_r )
const;
373 void removeUpgradeRepos();
380 void addRequire(
const Capability & capability );
386 void addConflict(
const Capability & capability );
392 void removeRequire(
const Capability & capability );
398 void removeConflict(
const Capability & capability );
418 bool createSolverTestcase(
const std::string & dumpPath =
"/var/log/YaST2/solverTestcase",
bool runSolver =
true );
501 #endif // ZYPP_RESOLVER_H Common types used in the Resolver public API and need to be passed down to the details tree...
::s_Solver CSolver
Wrapped libsolv C data type exposed as backdoor.
ResolverFocus
The resolver's general attitude.
String related utilities and Regular expression matching.
zypp::RW_pointer< solver::detail::ResolverInternal > _pimpl
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Libsolv transaction wrapper.
_onlyRequires _dup_allowdowngrade dupAllowArchChange
Dependency resolver interface.
std::list< ItemCapKind > ItemCapKindList
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Base class for reference counted objects.
std::list< SolverQueueItem_Ptr > SolverQueueItemList
std::unordered_set< Capability > CapabilitySet
_onlyRequires dupAllowDowngrade
std::list< ResolverProblem_Ptr > ResolverProblemList
Wrapper for const correct access via Smart pointer types.
Combining sat::Solvable and ResStatus.
Easy-to use interface to the ZYPP dependency resolver.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
std::list< ProblemSolution_Ptr > ProblemSolutionList