libzypp 17.31.23
|
Libsolv queue representing file conflicts. More...
#include <sat/FileConflicts.h>
Classes | |
class | Conflict |
A file conflict. More... | |
Public Types | |
typedef Conflict | value_type |
typedef const value_type * | const_iterator |
typedef unsigned | size_type |
Public Member Functions | |
size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
Static Private Attributes | |
static constexpr size_type | queueBlockSize = 6 |
Friends | |
bool | operator== (const FileConflicts &lhs, const FileConflicts &rhs) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const FileConflicts &obj) |
Stream output. | |
std::ostream & | dumpAsXmlOn (std::ostream &str, const FileConflicts &obj) |
XML output. | |
bool | operator== (const FileConflicts &lhs, const FileConflicts &rhs) |
bool | operator!= (const FileConflicts &lhs, const FileConflicts &rhs) |
Related Functions inherited from zypp::sat::Queue | |
std::ostream & | operator<< (std::ostream &str, const Queue &obj) |
Stream output. | |
std::ostream & | dumpOn (std::ostream &str, const Queue &obj) |
Stream output assuming a Solvable queue. | |
bool | operator== (const Queue &lhs, const Queue &rhs) |
bool | operator!= (const Queue &lhs, const Queue &rhs) |
Additional Inherited Members | |
Private Types inherited from zypp::sat::Queue | |
typedef unsigned | size_type |
typedef detail::IdType | value_type |
typedef const value_type * | const_iterator |
Private Member Functions inherited from zypp::sat::Queue | |
Queue () | |
Default ctor: empty Queue. | |
~Queue () | |
Dtor. | |
bool | empty () const |
size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | find (value_type val_r) const |
Return iterator to the 1st occurance of val_r or end. | |
bool | contains (value_type val_r) const |
Return whether the Queue contais at lest one element with value val_r. | |
value_type | first () const |
Return the 1st Id in the queue or 0 if empty. | |
value_type | last () const |
Return the last Id in the queue or 0 if empty. | |
const value_type & | at (size_type idx_r) const |
Return the Id at idx_r in the queue. | |
value_type & | at (size_type idx_r) |
Return the Id at idx_r in the queue. | |
const value_type & | operator[] (size_type idx_r) const |
Return the Id at idx_r in the queue (no range check) | |
value_type & | operator[] (size_type idx_r) |
Return the Id at idx_r in the queue (no range check) | |
void | clear () |
Clear the queue. | |
void | remove (value_type val_r) |
Remove all occurances of val_r from the queue. | |
void | push (value_type val_r) |
Push a value to the end off the Queue. | |
void | push_back (value_type val_r) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | pushUnique (value_type val_r) |
Push a value if it's not yet in the Queue. | |
value_type | pop () |
Pop and return the last Id from the queue or 0 if empty. | |
value_type | pop_back () |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | push_front (value_type val_r) |
Push a value to the beginning off the Queue. | |
value_type | pop_front () |
Pop and return the 1st Id from the queue or 0 if empty. | |
operator detail::CQueue * () | |
libsolv backdoor | |
operator const detail::CQueue * () const | |
< libsolv backdoor | |
Libsolv queue representing file conflicts.
Definition at line 30 of file FileConflicts.h.
Definition at line 59 of file FileConflicts.h.
typedef const value_type* zypp::sat::FileConflicts::const_iterator |
Definition at line 60 of file FileConflicts.h.
typedef unsigned zypp::sat::Queue::size_type |
|
inline |
Definition at line 63 of file FileConflicts.h.
|
inline |
Definition at line 64 of file FileConflicts.h.
|
inline |
Definition at line 65 of file FileConflicts.h.
|
friend |
|
related |
Stream output.
Definition at line 109 of file FileConflicts.cc.
|
related |
XML output.
Definition at line 132 of file FileConflicts.cc.
|
related |
Definition at line 85 of file FileConflicts.h.
|
related |
Definition at line 89 of file FileConflicts.h.
|
staticconstexprprivate |
Definition at line 33 of file FileConflicts.h.