zypp::sat Namespace Reference

Satsolver interface More...


Classes

class  AttrMatcher
 String matching (STRING|SUBSTRING|GLOB|REGEX). More...
class  LocaleSupport
 Convenience methods to manage support for a specific Locale. More...
class  LookupAttr
 Lightweight attribute value lookup. More...
class  LookupRepoAttr
 Lightweight repository attribute value lookup. More...
class  ArrayAttr
 LookupAttr::transformIterator based container to retrieve list attributes. More...
class  Pool
 Global sat-pool. More...
class  Queue
 Satsolver Id queue wrapper. More...
class  Solvable
 A Solvable object within the sat Pool. More...
struct  asSolvable
 To Solvable transform functor. More...
class  SolvableSet
 Solvable set wrapper to allow adding additioanal convenience iterators. More...
class  SolvAttr
 Solvable attribute keys. More...
class  SolvIterMixin
 Base class providing common iterator types based on a Solvable iterator. More...
class  Transaction
 Satsolver transaction wrapper. More...
class  WhatObsoletes
 Container of installed Solvable which would be obsoleted by the Solvable passed to the ctor. More...
class  WhatProvides
 Container of Solvable providing a Capability (read only). More...

Namespaces

namespace  detail
namespace  solvitermixin_detail

Typedefs

typedef
std::tr1::unordered_set
< detail::IdType
set_type
typedef std::vector
< sat::detail::IdType
vector_type

Functions

std::ostream & operator<< (std::ostream &str, const AttrMatcher &obj)
bool operator== (const AttrMatcher &lhs, const AttrMatcher &rhs)
bool operator< (const AttrMatcher &lhs, const AttrMatcher &rhs)
std::ostream & operator<< (std::ostream &str, const LocaleSupport &obj)
std::ostream & dumpOn (std::ostream &str, const LocaleSupport &obj)
std::ostream & operator<< (std::ostream &str, const LookupAttr &obj)
std::ostream & dumpOn (std::ostream &str, const LookupAttr &obj)
SubType subType (const detail::DIWrap &dip)
std::ostream & operator<< (std::ostream &str, const LookupAttr::iterator &obj)
template<class _ResultT, class _AttrT>
std::ostream & operator<< (std::ostream &str, const ArrayAttr< _ResultT, _AttrT > &obj)
std::ostream & operator<< (std::ostream &str, const Pool &obj)
std::ostream & operator<< (std::ostream &str, const Queue &obj)
std::ostream & dumpOn (std::ostream &str, const Queue &obj)
void _doSplit (IdString &_ident, ResKind &_kind, IdString &_name)
Pathname lookupDatadirIn (Repository repor_r)
Capabilities _getCapabilities (detail::IdType *idarraydata_r,::Offset offs_r)
int invokeOnEachSupportedLocale (Capability cap_r, function< bool(const Locale &)> fnc_r)
 Expand Capability and call fnc_r for each namescpace:language dependency.
int invokeOnEachSupportedLocale (Capabilities cap_r, function< bool(const Locale &)> fnc_r)
 Expand Capability and call fnc_r for each namescpace:language dependency.
std::ostream & operator<< (std::ostream &str, const Solvable &obj)
std::ostream & dumpOn (std::ostream &str, const Solvable &obj)
std::ostream & operator<< (std::ostream &str, const SolvableSet &obj)
std::ostream & operator<< (std::ostream &str, const Transaction &obj)
std::ostream & dumpOn (std::ostream &str, const Transaction &obj)
bool operator== (const Transaction &lhs, const Transaction &rhs)
std::ostream & operator<< (std::ostream &str, const Transaction::Step &obj)
std::ostream & operator<< (std::ostream &str, Transaction::StepType obj)
std::ostream & operator<< (std::ostream &str, Transaction::StepStage obj)
 ZYPP_DECLARE_OPERATORS_FOR_FLAGS (Transaction::StepStages)
void addToSet (Solvable item, set_type *&pdata, shared_ptr< void > &_private)
 Add item to the set created on demand.
std::ostream & operator<< (std::ostream &str, const WhatObsoletes &obj)
template<class Iterator>
void collectProviders (Iterator begin_r, Iterator end_r, std::tr1::unordered_set< detail::IdType > &collect_r)
 WhatProvides ctor helper collecting providers from Capabilies.
std::ostream & operator<< (std::ostream &str, const WhatProvides &obj)
Helpers and forward declarations from LookupAttrTools.h
template<>
std::string LookupAttr::iterator::asType< std::string > () const

Variables

bool obsoleteUsesProvides = false


Detailed Description

Satsolver interface

Typedef Documentation

typedef std::tr1::unordered_set<detail::IdType> zypp::sat::set_type [static]

Definition at line 41 of file WhatObsoletes.cc.

typedef std::vector<sat::detail::IdType> zypp::sat::vector_type [static]

Definition at line 42 of file WhatObsoletes.cc.


Function Documentation

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const AttrMatcher &  obj 
)

Definition at line 318 of file AttrMatcher.cc.

References zypp::sat::AttrMatcher::_pimpl.

bool zypp::sat::operator== ( const AttrMatcher &  lhs,
const AttrMatcher &  rhs 
) [related]

bool zypp::sat::operator< ( const AttrMatcher &  lhs,
const AttrMatcher &  rhs 
) [related]

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const LocaleSupport &  obj 
) [related]

std::ostream& zypp::sat::dumpOn ( std::ostream &  str,
const LocaleSupport &  obj 
) [related]

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const LookupAttr &  obj 
) [related]

std::ostream& zypp::sat::dumpOn ( std::ostream &  str,
const LookupAttr &  obj 
) [related]

SubType zypp::sat::@382::subType ( const detail::DIWrap &  dip  )  [static]

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const LookupAttr::iterator &  obj 
) [related]

template<>
std::string zypp::sat::LookupAttr::iterator::asType< std::string > (  )  const [inline]

template<class _ResultT, class _AttrT>
std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const ArrayAttr< _ResultT, _AttrT > &  obj 
) [related]

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const Pool &  obj 
) [related]

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const Queue &  obj 
) [related]

std::ostream& zypp::sat::dumpOn ( std::ostream &  str,
const Queue &  obj 
) [related]

void zypp::sat::@389::_doSplit ( IdString &  _ident,
ResKind &  _kind,
IdString &  _name 
) [static]

Pathname zypp::sat::@389::lookupDatadirIn ( Repository  repor_r  )  [inline, static]

Capabilities zypp::sat::_getCapabilities ( detail::IdType *  idarraydata_r,
::Offset  offs_r 
) [inline]

int zypp::sat::@389::invokeOnEachSupportedLocale ( Capability  cap_r,
function< bool(const Locale &)>  fnc_r 
) [static]

int zypp::sat::@389::invokeOnEachSupportedLocale ( Capabilities  cap_r,
function< bool(const Locale &)>  fnc_r 
) [inline, static]

Expand Capability and call fnc_r for each namescpace:language dependency.

Return invocations of fnc_r, negative if fnc_r returned false to indicate abort.

Definition at line 567 of file Solvable.cc.

References zypp::Capabilities::begin(), zypp::Capabilities::end(), for_, and invokeOnEachSupportedLocale().

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const Solvable &  obj 
) [related]

std::ostream& zypp::sat::dumpOn ( std::ostream &  str,
const Solvable &  obj 
) [related]

Definition at line 646 of file Solvable.cc.

References OUTS.

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const SolvableSet &  obj 
)

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const Transaction &  obj 
)

Definition at line 335 of file Transaction.cc.

References zypp::sat::Transaction::_pimpl.

std::ostream& zypp::sat::dumpOn ( std::ostream &  str,
const Transaction &  obj 
)

bool zypp::sat::operator== ( const Transaction &  lhs,
const Transaction &  rhs 
)

Definition at line 347 of file Transaction.cc.

References zypp::sat::Transaction::_pimpl.

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const Transaction::Step &  obj 
)

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
Transaction::StepType  obj 
)

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
Transaction::StepStage  obj 
)

zypp::sat::ZYPP_DECLARE_OPERATORS_FOR_FLAGS ( Transaction::StepStages   ) 

void zypp::sat::@399::addToSet ( Solvable  item,
set_type *&  pdata,
shared_ptr< void > &  _private 
) [inline, static]

Add item to the set created on demand.

Definition at line 82 of file WhatObsoletes.cc.

References zypp::sat::Solvable::id().

Referenced by zypp::sat::WhatObsoletes::ctorAdd().

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const WhatObsoletes &  obj 
) [related]

template<class Iterator>
void zypp::sat::@401::collectProviders ( Iterator  begin_r,
Iterator  end_r,
std::tr1::unordered_set< detail::IdType > &  collect_r 
) [inline, static]

WhatProvides ctor helper collecting providers from Capabilies.

Definition at line 78 of file WhatProvides.cc.

References zypp::sat::WhatProvides::begin(), zypp::sat::WhatProvides::end(), and for_.

Referenced by zypp::sat::WhatProvides::WhatProvides().

std::ostream& zypp::sat::operator<< ( std::ostream &  str,
const WhatProvides &  obj 
) [related]


Variable Documentation

Definition at line 34 of file WhatObsoletes.cc.

Referenced by zypp::sat::WhatObsoletes::ctorAdd().


Generated on Tue May 5 14:49:48 2015 for libzypp by  doxygen 1.5.6