libzypp 17.34.1
|
Namespaces | |
namespace | detail |
namespace | solvitermixin_detail |
Classes | |
class | AllPTFs |
Container of packages providing ptf() More... | |
class | ArrayAttr |
LookupAttr::TransformIterator based container to retrieve list attributes. More... | |
struct | asSolvable |
To Solvable transform functor. More... | |
class | FileConflicts |
Libsolv queue representing file conflicts. 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 | Map |
Libsolv (bit)Map wrapper. More... | |
class | Pool |
Global sat-pool. More... | |
class | Queue |
Libsolv Id queue wrapper. More... | |
class | Solvable |
A Solvable object within the sat Pool. More... | |
class | SolvableSet |
Solvable set wrapper to allow adding additional convenience iterators. More... | |
class | SolvableType |
Base class for creating Solvable based types. More... | |
class | SolvAttr |
Solvable attribute keys. More... | |
class | SolvIterMixin |
Base class providing common iterator types based on a Solvable iterator. More... | |
class | Transaction |
Libsolv 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... | |
Typedefs | |
using | SolvableQueue = Queue |
Queue with Solvable ids. | |
using | StringQueue = Queue |
Queue with String ids. | |
Functions | |
std::ostream & | operator<< (std::ostream &str, const FileConflicts &obj) |
std::ostream & | operator<< (std::ostream &str, const FileConflicts::Conflict &obj) |
std::ostream & | dumpAsXmlOn (std::ostream &str, const FileConflicts &obj) |
std::ostream & | dumpAsXmlOn (std::ostream &str, const FileConflicts::Conflict &obj) |
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) |
std::ostream & | operator<< (std::ostream &str, const LookupAttr::iterator &obj) |
template<class TResult , class TAttr > | |
std::ostream & | operator<< (std::ostream &str, const ArrayAttr< TResult, TAttr > &obj) |
bool | operator== (const Map &lhs, const Map &rhs) |
std::ostream & | operator<< (std::ostream &str, const Pool &obj) |
void | updateSolvFileIndex (const Pathname &solvfile_r) |
Create solv file content digest for zypper bash completion. | |
std::ostream & | operator<< (std::ostream &str, const Queue &obj) |
std::ostream & | dumpOn (std::ostream &str, const Queue &obj) |
bool | operator== (const Queue &lhs, const Queue &rhs) |
std::ostream & | operator<< (std::ostream &str, const Solvable &obj) |
std::ostream & | dumpOn (std::ostream &str, const Solvable &obj) |
std::ostream & | dumpAsXmlOn (std::ostream &str, const Solvable &obj) |
std::ostream & | operator<< (std::ostream &str, const SolvableSet &obj) |
std::ostream & | operator<< (std::ostream &str, const SolvableSpec &obj) |
SolvableSpec () | |
~SolvableSpec () | |
Dtor. | |
SolvableSpec (const SolvableSpec &)=default | |
SolvableSpec (SolvableSpec &&) noexcept=default | |
SolvableSpec & | operator= (const SolvableSpec &)=default |
SolvableSpec & | operator= (SolvableSpec &&) noexcept=default |
void | addIdent (IdString ident_r) |
Add all sat::Solvable with this ident_r. | |
void | addProvides (Capability provides_r) |
A all sat::Solvable matching this provides_r. | |
bool | addIdenticalInstalledToo () const |
Extend the provides set to include idential installed items as well. | |
void | addIdenticalInstalledToo (bool yesno_r) |
void | parse (const C_Str &spec_r) |
Parse and add spec from a string (IDENT or provides:CAPABILITY`). | |
void | parseFrom (const InputStream &istr_r) |
Parse file istr_r and add its specs (one per line, #-comments). | |
template<class TIterator > | |
void | parseFrom (TIterator begin, TIterator end) |
Parse and add specs from iterator range. | |
void | splitParseFrom (const C_Str &multispec_r) |
Convenience using str::splitEscaped(", \t") to parse multiple specs from one line. | |
bool | contains (const sat::Solvable &solv_r) const |
Test whether solv_r matches the spec. | |
template<class Derived > | |
bool | contains (const SolvableType< Derived > &solv_r) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
bool | dirty () const |
Whether the cache is needed and dirty. | |
void | setDirty () const |
Explicitly flag the cache as dirty, so it will be rebuilt on the next request. | |
bool | empty () const |
Whether neither idents nor provides are set. | |
bool | containsIdent (const IdString &ident_r) const |
Whether ident_r has been added to the specs (mainly for parser tests). | |
bool | containsProvides (const Capability &provides_r) const |
Whether provides_r has been added to the sepcs (mainly for parser tests). | |
template<class Derived > | |
bool | operator== (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | operator== (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | operator!= (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | operator!= (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | operator< (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | operator< (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | identical (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | identical (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | sameNVRA (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | sameNVRA (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByN (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByN (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByNVR (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByNVR (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByNVRA (const SolvableType< Derived > &lhs, const Solvable &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<class Derived > | |
bool | compareByNVRA (const Solvable &lhs, const SolvableType< Derived > &rhs) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
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) | |
std::ostream & | operator<< (std::ostream &str, const WhatObsoletes &obj) |
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 | |
RWCOW_pointer< Impl > | _pimpl |
Implementation class. | |
ZYPP_TESTS bool | obsoleteUsesProvides = false |
using zypp::sat::SolvableQueue = Queue |
using zypp::sat::StringQueue = Queue |
|
related |
Definition at line 109 of file FileConflicts.cc.
|
related |
Definition at line 112 of file FileConflicts.cc.
|
related |
Definition at line 132 of file FileConflicts.cc.
|
related |
Definition at line 156 of file FileConflicts.cc.
|
related |
Definition at line 31 of file LocaleSupport.cc.
|
related |
Definition at line 41 of file LocaleSupport.cc.
|
related |
Definition at line 256 of file LookupAttr.cc.
|
related |
Definition at line 273 of file LookupAttr.cc.
|
related |
Definition at line 782 of file LookupAttr.cc.
|
inline |
Definition at line 594 of file LookupAttr.h.
|
related |
|
related |
void zypp::sat::updateSolvFileIndex | ( | const Pathname & | solvfile_r | ) |
|
related |
|
related |
|
related |
Definition at line 777 of file Solvable.cc.
|
related |
Definition at line 788 of file Solvable.cc.
|
related |
Definition at line 808 of file Solvable.cc.
|
related |
Definition at line 31 of file SolvableSet.cc.
std::ostream & operator<< | ( | std::ostream & | str, |
const SolvableSpec & | obj ) |
Definition at line 201 of file SolvableSpec.cc.
zypp::sat::SolvableSpec | ( | ) |
\class SolvableSpec \brief Define a set of \ref Solvables by ident and provides. Able to keep the definition of solvable sets like in 'needreboot' or 'multiversion'. The associated file parser allows reading stored definitions (one `IDENT` or provides:CAPABILITY` per line;
/ empty lines and lines starting with '#' are ignored). / / The use of provides requires re-computation of the solvable set, / whenever the solvable pool changes. This computation via WhatProvides / is expensive, that's why a built in cache is also offered. / /
zypp::sat::~SolvableSpec | ( | ) |
Dtor.
|
default |
|
defaultnoexcept |
|
default |
|
defaultnoexcept |
void zypp::sat::addIdent | ( | IdString | ident_r | ) |
Add all sat::Solvable with this ident_r.
void zypp::sat::addProvides | ( | Capability | provides_r | ) |
A all sat::Solvable matching this provides_r.
bool zypp::sat::addIdenticalInstalledToo | ( | ) | const |
Extend the provides set to include idential installed items as well.
Hack for retracted packages, where the indicator provides is injected into the available items, but is not present in the installed items.
void zypp::sat::addIdenticalInstalledToo | ( | bool | yesno_r | ) |
void zypp::sat::parse | ( | const C_Str & | spec_r | ) |
Parse and add spec from a string (IDENT
or provides:CAPABILITY`).
*/
void zypp::sat::parseFrom | ( | const InputStream & | istr_r | ) |
Parse file istr_r and add its specs (one per line, #-comments).
void zypp::sat::parseFrom | ( | TIterator | begin, |
TIterator | end ) |
Parse and add specs from iterator range.
Definition at line 81 of file SolvableSpec.h.
void zypp::sat::splitParseFrom | ( | const C_Str & | multispec_r | ) |
Convenience using str::splitEscaped(", \t") to parse multiple specs from one line.
bool zypp::sat::contains | ( | const sat::Solvable & | solv_r | ) | const |
Test whether solv_r matches the spec.
(Re-)builds the WhatProvides cache on demand.
bool zypp::sat::contains | ( | const SolvableType< Derived > & | solv_r | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 96 of file SolvableSpec.h.
bool zypp::sat::dirty | ( | ) | const |
Whether the cache is needed and dirty.
void zypp::sat::setDirty | ( | ) | const |
Explicitly flag the cache as dirty, so it will be rebuilt on the next request.
To be called if the ResPool content has changed. Intentionally const
as this does not change the set of spects (though the set of matches might change).
bool zypp::sat::empty | ( | ) | const |
Whether neither idents nor provides are set.
Whether ident_r has been added to the specs (mainly for parser tests).
bool zypp::sat::containsProvides | ( | const Capability & | provides_r | ) | const |
Whether provides_r has been added to the sepcs (mainly for parser tests).
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 175 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 179 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 188 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 192 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 201 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 205 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 219 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 223 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 232 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 236 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 246 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 250 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 260 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 264 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 273 of file SolvableType.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 277 of file SolvableType.h.
|
related |
Definition at line 366 of file Transaction.cc.
|
related |
Definition at line 369 of file Transaction.cc.
|
related |
Definition at line 378 of file Transaction.cc.
|
related |
Definition at line 408 of file Transaction.cc.
std::ostream & zypp::sat::operator<< | ( | std::ostream & | str, |
Transaction::StepType | obj ) |
Definition at line 418 of file Transaction.cc.
std::ostream & zypp::sat::operator<< | ( | std::ostream & | str, |
Transaction::StepStage | obj ) |
Definition at line 432 of file Transaction.cc.
zypp::sat::ZYPP_DECLARE_OPERATORS_FOR_FLAGS | ( | Transaction::StepStages | ) |
|
related |
Definition at line 166 of file WhatObsoletes.cc.
|
related |
Definition at line 162 of file WhatProvides.cc.
|
private |
ZYPP_TESTS bool zypp::sat::obsoleteUsesProvides = false |
Definition at line 34 of file WhatObsoletes.cc.