11#ifndef ZYPP_SAT_QUEUE_H 
   12#define ZYPP_SAT_QUEUE_H 
   59        { 
return( 
find( val_r ) != 
end() ); }
 
 
   62        value_type first() 
const;
 
   65        value_type last() 
const;
 
   70        const value_type & at( size_type idx_r ) 
const;
 
   75        value_type & at( size_type idx_r );
 
   78        const value_type & operator[]( size_type idx_r ) 
const;
 
   81        value_type & operator[]( size_type idx_r );
 
   87        void remove( value_type val_r );
 
   90        void push( value_type val_r );
 
   96        void pushUnique( value_type val_r );
 
  105        void push_front( value_type val_r );
 
  108        value_type pop_front();
 
 
  129    { 
return !( lhs == rhs ); }
 
 
Libsolv Id queue wrapper.
const_iterator find(value_type val_r) const
Return iterator to the 1st occurance of val_r or end.
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.
const value_type * const_iterator
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.
bool operator!=(const Queue &lhs, const Queue &rhs)
void push(value_type val_r)
Push a value to the end off 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)
Queue SolvableQueue
Queue with Solvable ids.
Queue StringQueue
Queue with String ids.
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.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
sat::detail::CQueue * rwcowClone< sat::detail::CQueue >(const sat::detail::CQueue *rhs)
RW_pointer supporting 'copy on write' functionality.