11#ifndef ZYPP_SAT_QUEUE_H
12#define ZYPP_SAT_QUEUE_H
16#include <zypp/base/PtrTypes.h>
128 {
return !( lhs == rhs ); }
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Libsolv Id queue wrapper.
const_iterator find(value_type val_r) const
Return iterator to the 1st occurance of val_r or end.
value_type pop_front()
Pop and return the 1st Id from the queue or 0 if empty.
detail::IdType value_type
void push_back(value_type val_r)
This is an overloaded member function, provided for convenience. It differs from the above function o...
RWCOW_pointer< detail::CQueue > _pimpl
Pointer to implementation.
void remove(value_type val_r)
Remove all occurances of val_r from the queue.
value_type first() const
Return the 1st Id in the queue or 0 if empty.
void push_front(value_type val_r)
Push a value to the beginning off the Queue.
const value_type * const_iterator
value_type last() const
Return the last Id in 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 o...
const_iterator end() const
Queue()
Default ctor: empty Queue.
const_iterator begin() const
value_type pop()
Pop and return the last Id from the queue or 0 if empty.
void clear()
Clear the queue.
const value_type & operator[](size_type idx_r) const
Return the Id at idx_r in the queue (no range check)
const value_type & at(size_type idx_r) const
Return the Id at idx_r in the queue.
bool operator!=(const Queue &lhs, const Queue &rhs)
void push(value_type val_r)
Push a value to the end off the Queue.
void pushUnique(value_type val_r)
Push a value if it's not yet in the Queue.
bool contains(value_type val_r) const
Return whether the Queue contais at lest one element with value val_r.
String related utilities and Regular expression matching.
int IdType
Generic Id type.
::s_Queue CQueue
Wrapped libsolv C data type exposed as backdoor.
std::ostream & operator<<(std::ostream &str, const FileConflicts &obj)
std::ostream & dumpOn(std::ostream &str, const LocaleSupport &obj)
bool operator==(const Map &lhs, const Map &rhs)
Easy-to use interface to the ZYPP dependency resolver.
sat::detail::CQueue * rwcowClone< sat::detail::CQueue >(const sat::detail::CQueue *rhs)