#include <SourceFeed.h>
Public Types | |
| typedef ContainerT::size_type | size_type |
| typedef ContainerT::iterator | iterator |
| typedef ContainerT::const_iterator | const_iterator |
Public Member Functions | |
| SourceFeed_Ref (ResPoolManager pool_r) | |
| Default ctor. | |
| ~SourceFeed_Ref () | |
| Dtor. | |
| void | addSource (Source_Ref src_r) |
| Add one Source. | |
| template<class _InputIterator> | |
| void | addSource (_InputIterator first_r, _InputIterator last_r) |
| Add Sources from some container. | |
| void | removeSource (Source_Ref src_r) |
| Remove a Source. | |
| template<class _InputIterator> | |
| void | removeSource (_InputIterator first_r, _InputIterator last_r) |
| Remove all Sources mentioned in container. | |
| void | removeAllSources () |
| Remove all Sources. | |
| const_iterator | sourceBegin () const |
| Iterate and query. | |
| const_iterator | sourceEnd () const |
Private Types | |
| typedef std::set< Source_Ref > | ContainerT |
Private Member Functions | |
| void | insert (ContainerT &sources_r) |
| void | erase (ContainerT &sources_r) |
Private Attributes | |
| shared_ptr< Impl > | _pimpl |
| Pointer to implementation: _Ref. | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const SourceFeed_Ref &obj) |
Classes | |
| struct | Impl |
| SourceFeed implementation. More... | |
Definition at line 34 of file SourceFeed.h.
typedef std::set<Source_Ref> zypp::SourceFeed_Ref::ContainerT [private] |
Definition at line 37 of file SourceFeed.h.
| typedef ContainerT::size_type zypp::SourceFeed_Ref::size_type |
Definition at line 41 of file SourceFeed.h.
| typedef ContainerT::iterator zypp::SourceFeed_Ref::iterator |
Definition at line 44 of file SourceFeed.h.
| typedef ContainerT::const_iterator zypp::SourceFeed_Ref::const_iterator |
Definition at line 45 of file SourceFeed.h.
| zypp::SourceFeed_Ref::SourceFeed_Ref | ( | ResPoolManager | pool_r | ) |
| zypp::SourceFeed_Ref::~SourceFeed_Ref | ( | ) |
| void zypp::SourceFeed_Ref::addSource | ( | Source_Ref | src_r | ) | [inline] |
| void zypp::SourceFeed_Ref::addSource | ( | _InputIterator | first_r, | |
| _InputIterator | last_r | |||
| ) | [inline] |
| void zypp::SourceFeed_Ref::removeSource | ( | Source_Ref | src_r | ) | [inline] |
Remove a Source.
Definition at line 78 of file SourceFeed.h.
References erase().
Referenced by removeAllSources().
| void zypp::SourceFeed_Ref::removeSource | ( | _InputIterator | first_r, | |
| _InputIterator | last_r | |||
| ) | [inline] |
Remove all Sources mentioned in container.
Definition at line 87 of file SourceFeed.h.
References erase().
| void zypp::SourceFeed_Ref::removeAllSources | ( | ) | [inline] |
Remove all Sources.
Definition at line 94 of file SourceFeed.h.
References removeSource(), sourceBegin(), and sourceEnd().
| SourceFeed_Ref::const_iterator zypp::SourceFeed_Ref::sourceBegin | ( | ) | const |
Iterate and query.
Definition at line 119 of file SourceFeed.cc.
References _pimpl.
Referenced by removeAllSources().
| SourceFeed_Ref::const_iterator zypp::SourceFeed_Ref::sourceEnd | ( | ) | const |
| void zypp::SourceFeed_Ref::insert | ( | ContainerT & | sources_r | ) | [private] |
| void zypp::SourceFeed_Ref::erase | ( | ContainerT & | sources_r | ) | [private] |
| std::ostream& operator<< | ( | std::ostream & | str, | |
| const SourceFeed_Ref & | obj | |||
| ) | [friend] |
Definition at line 132 of file SourceFeed.cc.
shared_ptr<Impl> zypp::SourceFeed_Ref::_pimpl [private] |
Pointer to implementation: _Ref.
Definition at line 113 of file SourceFeed.h.
Referenced by erase(), insert(), zypp::operator<<(), sourceBegin(), and sourceEnd().
1.5.0