ResPool::instance().proxy();.
More...
#include <ResPoolProxy.h>
|
Simple version, no safety net.
So don't restore or diff, if you didn't save before.
Diff returns true, if current stat differs from the saved state.
Use scopedSaveState for exception safe scoped save/restore
|
class | pool::PoolImpl |
|
RW_pointer< Impl > | _pimpl |
| Pointer to implementation.
|
|
void | saveState () const |
|
void | saveState (const ResKind &kind_r) const |
|
template<class TRes > |
void | saveState () const |
|
void | restoreState () const |
|
void | restoreState (const ResKind &kind_r) const |
|
template<class TRes > |
void | restoreState () const |
|
bool | diffState () const |
|
bool | diffState (const ResKind &kind_r) const |
|
template<class TRes > |
bool | diffState () const |
|
ScopedSaveState | scopedSaveState () const |
|
ScopedSaveState | scopedSaveState (const ResKind &kind_r) const |
|
template<class TRes > |
ScopedSaveState && | scopedSaveState () const |
|
template<class TFilter > |
filter_iterator< TFilter, const_iterator > | make_begin (TFilter filter_r, const ResKind &kind_r) const |
|
template<class TFilter > |
filter_iterator< TFilter, const_iterator > | make_begin (const ResKind &kind_r) const |
|
template<class TFilter > |
filter_iterator< TFilter, const_iterator > | make_end (TFilter filter_r, const ResKind &kind_r) const |
|
template<class TFilter > |
filter_iterator< TFilter, const_iterator > | make_end (const ResKind &kind_r) const |
|
| ResPoolProxy (ResPool pool_r, const pool::PoolImpl &poolImpl_r) |
| Ctor.
|
|
ResPool::instance().proxy();.
- Todo
- integrate it into ResPool
Definition at line 35 of file ResPoolProxy.h.
◆ SelectablePool
◆ const_iterator
◆ size_type
◆ repository_iterator
◆ ResPoolProxy() [1/2]
zypp::ResPoolProxy::ResPoolProxy |
( |
| ) |
|
Default ctor: no pool Nonempty proxies are provided by ResPool.
- See also
- ResPool::proxy
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
ResPool::instance().proxy();.
static ResPool instance()
Singleton ctor.
Definition at line 249 of file ResPoolProxy.cc.
◆ ~ResPoolProxy()
zypp::ResPoolProxy::~ResPoolProxy |
( |
| ) |
|
◆ ResPoolProxy() [2/2]
◆ lookup() [1/6]
◆ lookup() [2/6]
◆ lookup() [3/6]
◆ lookup() [4/6]
◆ lookup() [5/6]
◆ lookup() [6/6]
◆ empty() [1/3]
bool zypp::ResPoolProxy::empty |
( |
| ) |
const |
◆ size() [1/3]
◆ begin()
◆ end()
◆ empty() [2/3]
bool zypp::ResPoolProxy::empty |
( |
const ResKind & | kind_r | ) |
const |
True if there are items of a certain kind.
Definition at line 291 of file ResPoolProxy.cc.
◆ empty() [3/3]
bool zypp::ResPoolProxy::empty |
( |
| ) |
const |
|
inline |
◆ size() [2/3]
◆ size() [3/3]
◆ byKindBegin() [1/2]
◆ byKindBegin() [2/2]
◆ byKindEnd() [1/2]
◆ byKindEnd() [2/2]
◆ byKind() [1/2]
◆ byKind() [2/2]
◆ knownRepositoriesSize()
◆ knownRepositoriesBegin()
◆ knownRepositoriesEnd()
◆ knownRepositories()
◆ hasInstalledObj() [1/2]
bool zypp::ResPoolProxy::hasInstalledObj |
( |
const ResKind & | kind_r | ) |
const |
|
inline |
◆ hasInstalledObj() [2/2]
bool zypp::ResPoolProxy::hasInstalledObj |
( |
| ) |
const |
|
inline |
◆ saveState() [1/3]
void zypp::ResPoolProxy::saveState |
( |
| ) |
const |
◆ saveState() [2/3]
void zypp::ResPoolProxy::saveState |
( |
const ResKind & | kind_r | ) |
const |
◆ saveState() [3/3]
void zypp::ResPoolProxy::saveState |
( |
| ) |
const |
|
inline |
◆ restoreState() [1/3]
void zypp::ResPoolProxy::restoreState |
( |
| ) |
const |
◆ restoreState() [2/3]
void zypp::ResPoolProxy::restoreState |
( |
const ResKind & | kind_r | ) |
const |
◆ restoreState() [3/3]
void zypp::ResPoolProxy::restoreState |
( |
| ) |
const |
|
inline |
◆ diffState() [1/3]
bool zypp::ResPoolProxy::diffState |
( |
| ) |
const |
◆ diffState() [2/3]
bool zypp::ResPoolProxy::diffState |
( |
const ResKind & | kind_r | ) |
const |
◆ diffState() [3/3]
bool zypp::ResPoolProxy::diffState |
( |
| ) |
const |
|
inline |
◆ scopedSaveState() [1/3]
◆ scopedSaveState() [2/3]
◆ scopedSaveState() [3/3]
◆ make_begin() [1/2]
◆ make_begin() [2/2]
◆ make_end() [1/2]
◆ make_end() [2/2]
◆ pool::PoolImpl
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const ResPoolProxy & | obj ) |
|
friend |
◆ dumpOn [1/2]
std::ostream & dumpOn |
( |
std::ostream & | str, |
|
|
const ResPoolProxy & | obj ) |
|
friend |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const ResPoolProxy & | obj ) |
|
related |
◆ dumpOn() [2/2]
std::ostream & dumpOn |
( |
std::ostream & | str, |
|
|
const ResPoolProxy & | obj ) |
|
related |
◆ _pimpl
The documentation for this class was generated from the following files: