libzypp  17.14.0
zypp::solver::detail Namespace Reference

Classes

class  CheckIfUpdate
 
class  CollectPseudoInstalled
 
struct  DoTransact
 
struct  FindPackage
 
class  HelixControl
 Creates a file in helix format which contains all controll action of a testcase ( file is known as *-test.xml) More...
 
class  HelixResolvable
 Creates a file in helix format which includes all available or installed packages,patches,selections.... More...
 
class  SATCollectTransact
 Commit helper functor distributing PoolItem by status into lists. More...
 
class  SolverQueueItemDelete
 
class  SolverQueueItemInstall
 
class  SolverQueueItemInstallOneOf
 
class  SolverQueueItemLock
 
class  SolverQueueItemUpdate
 
struct  UndoTransact
 

Typedefs

typedef std::map< Repository, HelixResolvable_Ptr > RepositoryTable
 
typedef Resolver ResolverInternal
 Preferred name in API. More...
 
typedef std::list< ItemCapKind > ItemCapKindList
 
typedef std::list< SolverQueueItem_Ptr > SolverQueueItemList
 
typedef std::list< SolutionAction_Ptr > SolutionActionList
 

Functions

 ZOLV_FLAG_TRIBOOL (setAllowNameChange, allowNameChange, _allownamechange, true) ZOLV_FLAG_TRIBOOL(setAllowVendorChange
 
 IMPL_PTR_TYPE (SATResolver)
 
int vendorCheck (sat::detail::CPool *pool, Solvable *solvable1, Solvable *solvable2)
 
std::string itemToString (const PoolItem &item)
 
PoolItem getPoolItem (Id id_r)
 
static void SATSolutionToPool (PoolItem item, const ResStatus &status, const ResStatus::TransactByValue causer)
 
sat::Solvable mapBuddy (const PoolItem &item_r)
 
sat::Solvable mapBuddy (sat::Solvable item_r)
 
 IMPL_PTR_TYPE (SolutionAction)
 
ostream & operator<< (ostream &os, const SolutionActionList &actionlist)
 
 IMPL_PTR_TYPE (SolverQueueItem)
 
ostream & operator<< (ostream &os, const SolverQueueItemList &itemlist)
 
 IMPL_PTR_TYPE (SolverQueueItemDelete)
 
 IMPL_PTR_TYPE (SolverQueueItemInstall)
 
 IMPL_PTR_TYPE (SolverQueueItemInstallOneOf)
 
 IMPL_PTR_TYPE (SolverQueueItemLock)
 
 IMPL_PTR_TYPE (SolverQueueItemUpdate)
 
std::string xml_escape (const std::string &text)
 
std::string xml_tag_enclose (const std::string &text, const std::string &tag, bool escape=false)
 
template<class T >
std::string helixXML (const T &obj)
 
template<>
std::string helixXML (const Edition &edition)
 
template<>
std::string helixXML (const Arch &arch)
 
template<>
std::string helixXML (const Capability &cap)
 
template<>
std::string helixXML (const Capabilities &caps)
 
template<>
std::string helixXML (const CapabilitySet &caps)
 
string helixXML (const PoolItem &obj, Dep deptag_r)
 
std::string helixXML (const PoolItem &item)
 
 DEFINE_PTR_TYPE (HelixResolvable)
 
 IMPL_PTR_TYPE (HelixResolvable)
 
 DEFINE_PTR_TYPE (SolverQueueItem)
 
 DEFINE_PTR_TYPE (SolutionAction)
 

Variables

 allowVendorChange
 
 _allowvendorchange
 
 dupAllowDowngrade
 
 _dup_allowdowngrade
 
 dupAllowNameChange
 
 _dup_allownamechange
 
 dupAllowArchChange
 
 _dup_allowarchchange
 
 dupAllowVendorChange
 
 _dup_allowvendorchange
 

Typedef Documentation

◆ RepositoryTable

typedef std::map<Repository, HelixResolvable_Ptr> zypp::solver::detail::RepositoryTable

Definition at line 248 of file Testcase.cc.

◆ ResolverInternal

Preferred name in API.

Definition at line 38 of file Types.h.

◆ ItemCapKindList

typedef std::list<ItemCapKind> zypp::solver::detail::ItemCapKindList

Definition at line 41 of file Types.h.

◆ SolverQueueItemList

typedef std::list<SolverQueueItem_Ptr> zypp::solver::detail::SolverQueueItemList

Definition at line 45 of file Types.h.

◆ SolutionActionList

typedef std::list<SolutionAction_Ptr> zypp::solver::detail::SolutionActionList

Definition at line 48 of file Types.h.

Function Documentation

◆ ZOLV_FLAG_TRIBOOL()

zypp::solver::detail::ZOLV_FLAG_TRIBOOL ( setAllowNameChange  ,
allowNameChange  ,
_allownamechange  ,
true   
)

◆ IMPL_PTR_TYPE() [1/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SATResolver  )

◆ vendorCheck()

int zypp::solver::detail::vendorCheck ( sat::detail::CPool pool,
Solvable *  solvable1,
Solvable *  solvable2 
)

Definition at line 107 of file SATResolver.cc.

◆ itemToString()

std::string zypp::solver::detail::itemToString ( const PoolItem item)
inline

Definition at line 114 of file SATResolver.cc.

◆ getPoolItem()

PoolItem zypp::solver::detail::getPoolItem ( Id  id_r)
inline

Definition at line 130 of file SATResolver.cc.

◆ SATSolutionToPool()

static void zypp::solver::detail::SATSolutionToPool ( PoolItem  item,
const ResStatus status,
const ResStatus::TransactByValue  causer 
)
static

Definition at line 228 of file SATResolver.cc.

◆ mapBuddy() [1/2]

sat::Solvable zypp::solver::detail::mapBuddy ( const PoolItem item_r)
inline

Definition at line 952 of file SATResolver.cc.

◆ mapBuddy() [2/2]

sat::Solvable zypp::solver::detail::mapBuddy ( sat::Solvable  item_r)
inline

Definition at line 962 of file SATResolver.cc.

◆ IMPL_PTR_TYPE() [2/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolutionAction  )

◆ operator<<() [1/2]

ostream& zypp::solver::detail::operator<< ( ostream &  os,
const SolutionActionList actionlist 
)

Definition at line 80 of file SolutionAction.cc.

◆ IMPL_PTR_TYPE() [3/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItem  )

◆ operator<<() [2/2]

ostream& zypp::solver::detail::operator<< ( ostream &  os,
const SolverQueueItemList itemlist 
)

Definition at line 63 of file SolverQueueItem.cc.

◆ IMPL_PTR_TYPE() [4/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItemDelete  )

◆ IMPL_PTR_TYPE() [5/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItemInstall  )

◆ IMPL_PTR_TYPE() [6/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItemInstallOneOf  )

◆ IMPL_PTR_TYPE() [7/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItemLock  )

◆ IMPL_PTR_TYPE() [8/9]

zypp::solver::detail::IMPL_PTR_TYPE ( SolverQueueItemUpdate  )

◆ xml_escape()

std::string zypp::solver::detail::xml_escape ( const std::string &  text)
inline

Definition at line 58 of file Testcase.cc.

◆ xml_tag_enclose()

std::string zypp::solver::detail::xml_tag_enclose ( const std::string &  text,
const std::string &  tag,
bool  escape = false 
)
inline

Definition at line 63 of file Testcase.cc.

◆ helixXML() [1/8]

template<class T >
std::string zypp::solver::detail::helixXML ( const T &  obj)

◆ helixXML() [2/8]

template<>
std::string zypp::solver::detail::helixXML ( const Edition edition)

Definition at line 81 of file Testcase.cc.

◆ helixXML() [3/8]

template<>
std::string zypp::solver::detail::helixXML ( const Arch arch)

Definition at line 93 of file Testcase.cc.

◆ helixXML() [4/8]

template<>
std::string zypp::solver::detail::helixXML ( const Capability cap)

Definition at line 101 of file Testcase.cc.

◆ helixXML() [5/8]

template<>
std::string zypp::solver::detail::helixXML ( const Capabilities caps)

Definition at line 155 of file Testcase.cc.

◆ helixXML() [6/8]

template<>
std::string zypp::solver::detail::helixXML ( const CapabilitySet caps)

Definition at line 169 of file Testcase.cc.

◆ helixXML() [7/8]

string zypp::solver::detail::helixXML ( const PoolItem obj,
Dep  deptag_r 
)
inline

Definition at line 182 of file Testcase.cc.

◆ helixXML() [8/8]

std::string zypp::solver::detail::helixXML ( const PoolItem item)

Definition at line 191 of file Testcase.cc.

◆ DEFINE_PTR_TYPE() [1/3]

zypp::solver::detail::DEFINE_PTR_TYPE ( HelixResolvable  )

◆ IMPL_PTR_TYPE() [9/9]

zypp::solver::detail::IMPL_PTR_TYPE ( HelixResolvable  )

◆ DEFINE_PTR_TYPE() [2/3]

zypp::solver::detail::DEFINE_PTR_TYPE ( SolverQueueItem  )

◆ DEFINE_PTR_TYPE() [3/3]

zypp::solver::detail::DEFINE_PTR_TYPE ( SolutionAction  )

Variable Documentation

◆ allowVendorChange

zypp::solver::detail::allowVendorChange

Definition at line 122 of file Resolver.cc.

◆ _allowvendorchange

zypp::solver::detail::_allowvendorchange

Definition at line 122 of file Resolver.cc.

◆ dupAllowDowngrade

zypp::solver::detail::dupAllowDowngrade

Definition at line 124 of file Resolver.cc.

◆ _dup_allowdowngrade

zypp::solver::detail::_dup_allowdowngrade

Definition at line 124 of file Resolver.cc.

◆ dupAllowNameChange

zypp::solver::detail::dupAllowNameChange

Definition at line 125 of file Resolver.cc.

◆ _dup_allownamechange

zypp::solver::detail::_dup_allownamechange

Definition at line 125 of file Resolver.cc.

◆ dupAllowArchChange

zypp::solver::detail::dupAllowArchChange

Definition at line 126 of file Resolver.cc.

◆ _dup_allowarchchange

zypp::solver::detail::_dup_allowarchchange

Definition at line 126 of file Resolver.cc.

◆ dupAllowVendorChange

zypp::solver::detail::dupAllowVendorChange

Definition at line 127 of file Resolver.cc.

◆ _dup_allowvendorchange

zypp::solver::detail::_dup_allowvendorchange

Definition at line 127 of file Resolver.cc.