12 #ifndef ZYPP_SAT_SOLVABLESET_H
13 #define ZYPP_SAT_SOLVABLESET_H
40 typedef std::tr1::unordered_set<Solvable>
Container;
52 template<
class _InputIterator>
60 {
return _pimpl->empty(); }
73 {
return _pimpl->begin(); }
112 #endif // ZYPP_SAT_SOLVABLESET_H
std::ostream & operator<<(std::ostream &str, const LocaleSupport &obj)
SolvableSet()
Default ctor.
SolvableSet(_InputIterator begin_r, _InputIterator end_r)
Ctor building a set from a range.
RWCOW_pointer< Container > _pimpl
Pointer to implementation.
bool contains(const _Solv &solv_r) const
const_iterator begin() const
Iterator pointing to the first Solvable.
size_type size() const
Size of the set.
const_iterator end() const
Iterator pointing behind the last Solvable.
Base class providing common iterator types based on a Solvable iterator.
std::tr1::unordered_set< Solvable >::const_iterator Solvable_iterator
Container::value_type value_type
bool empty() const
Whether the set is epmty.
std::tr1::unordered_set< Solvable > Container
bool insert(const _Solv &solv_r)
Insert a Solvable.
Solvable_iterator const_iterator
Container::size_type size_type
To Solvable transform functor.
friend std::ostream & operator<<(std::ostream &str, const SolvableSet &obj)
Solvable set wrapper to allow adding additioanal convenience iterators.