Libsolv Id queue wrapper.
More...
#include <zypp/ng/sat/queue.h>
Libsolv Id queue wrapper.
- Todo
- template value_type to work with IString and other Id based types
Definition at line 36 of file queue.h.
◆ size_type
◆ value_type
◆ const_iterator
◆ Queue()
| zyppng::sat::Queue::Queue |
( |
| ) |
|
◆ ~Queue()
| zyppng::sat::Queue::~Queue |
( |
| ) |
|
◆ empty()
| bool zyppng::sat::Queue::empty |
( |
| ) |
const |
◆ size()
◆ begin()
◆ end()
◆ find()
Return iterator to the 1st occurance of val_r or end.
Definition at line 64 of file queue.cc.
◆ contains()
Return whether the Queue contais at lest one element with value val_r.
Definition at line 59 of file queue.h.
◆ first()
Return the 1st Id in the queue or 0 if empty.
Definition at line 72 of file queue.cc.
◆ last()
Return the last Id in the queue or 0 if empty.
Definition at line 79 of file queue.cc.
◆ at() [1/2]
Return the Id at idx_r in the queue.
- Exceptions
-
| std::out_of_range | if idx_r is out of range |
Definition at line 88 of file queue.cc.
◆ at() [2/2]
Return the Id at idx_r in the queue.
- Exceptions
-
| std::out_of_range | if idx_r is out of range |
Definition at line 91 of file queue.cc.
◆ operator[]() [1/2]
Return the Id at idx_r in the queue (no range check).
Definition at line 94 of file queue.cc.
◆ operator[]() [2/2]
Return the Id at idx_r in the queue (no range check).
Definition at line 97 of file queue.cc.
◆ clear()
| void zyppng::sat::Queue::clear |
( |
| ) |
|
Clear the queue.
Definition at line 100 of file queue.cc.
◆ remove()
| void zyppng::sat::Queue::remove |
( |
value_type | val_r | ) |
|
Remove all occurances of val_r from the queue.
Definition at line 103 of file queue.cc.
◆ push()
◆ push_back()
| void zyppng::sat::Queue::push_back |
( |
value_type | val_r | ) |
|
|
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 93 of file queue.h.
◆ pushUnique()
| void zyppng::sat::Queue::pushUnique |
( |
value_type | val_r | ) |
|
Push a value if it's not yet in the Queue.
Definition at line 112 of file queue.cc.
◆ pop()
Pop and return the last Id from the queue or 0 if empty.
Definition at line 115 of file queue.cc.
◆ pop_back()
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 102 of file queue.h.
◆ push_front()
| void zyppng::sat::Queue::push_front |
( |
value_type | val_r | ) |
|
Push a value to the beginning off the Queue.
Definition at line 118 of file queue.cc.
◆ pop_front()
Pop and return the 1st Id from the queue or 0 if empty.
Definition at line 121 of file queue.cc.
◆ operator detail::CQueue *()
libsolv backdoor
Definition at line 124 of file queue.cc.
◆ operator const detail::CQueue *()
< libsolv backdoor
Definition at line 113 of file queue.h.
◆ _pimpl
Pointer to implementation.
Definition at line 116 of file queue.h.
The documentation for this class was generated from the following files: