#include <PoolItem.h>
tmp hack for save/restore state. | |
| void | saveState () const |
| void | restoreState () const |
| bool | sameState () const |
| class | PoolItemSaver |
Public Member Functions | |
| PoolItem_Ref () | |
| Default ctor for use in std::container. | |
| PoolItem_Ref (ResObject::constPtr res_r) | |
| Ctor. | |
| PoolItem_Ref (ResObject::constPtr res_r, const ResStatus &status_r) | |
| Ctor. | |
| ~PoolItem_Ref () | |
| Dtor. | |
| ResStatus & | status () const |
| Returns the current status. | |
| ResStatus & | statusReset () const |
| Reset status (applies autoprotection). | |
| ResObject::constPtr | resolvable () const |
| Returns the ResObject::constPtr. | |
| operator ResObject::constPtr () const | |
| Implicit conversion into ResObject::constPtr to support query filters operating on ResObject. | |
| ResObject::constPtr | operator-> () const |
Forward -> access to ResObject. | |
| operator ResObject::constPtr::unspecified_bool_type () const | |
| Conversion to bool to allow pointer style tests for nonNULL resolvable. | |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const PoolItem_Ref &obj) |
Related Functions | |
| (Note that these are not member functions.) | |
| bool | operator== (const PoolItem_Ref &lhs, const PoolItem_Ref &rhs) |
| bool | operator== (const PoolItem_Ref &lhs, const ResObject::constPtr &rhs) |
| bool | operator== (const ResObject::constPtr &lhs, const PoolItem_Ref &rhs) |
| bool | operator!= (const PoolItem_Ref &lhs, const PoolItem_Ref &rhs) |
| bool | operator!= (const PoolItem_Ref &lhs, const ResObject::constPtr &rhs) |
| bool | operator!= (const ResObject::constPtr &lhs, const PoolItem_Ref &rhs) |
Classes | |
| struct | Impl |
| PoolItem_Ref implementation. More... | |
The "real" PoolItem is usg. somwhere in the ResPool. This is a reference to it. All copies made will reference (and modify) the same PoolItem. All changes via a PoolItem_Ref are immediately visible in all copies (now COW).
const PoolItem_Ref does not refer to a const PoolItem. The reference is const, i.e. you can't change the refered PoolItem. The PoolItem (i.e. the status) is always mutable.
Definition at line 43 of file PoolItem.h.
|
|
Default ctor for use in std::container.
Definition at line 140 of file PoolItem.cc. |
|
|
Ctor.
Definition at line 149 of file PoolItem.cc. |
|
||||||||||||
|
Ctor.
Definition at line 158 of file PoolItem.cc. |
|
|
Dtor.
Definition at line 167 of file PoolItem.cc. |
|
|
|
Reset status (applies autoprotection).
Definition at line 179 of file PoolItem.cc. References _pimpl. |
|
|
|
Implicit conversion into ResObject::constPtr to support query filters operating on ResObject.
Definition at line 81 of file PoolItem.h. References resolvable(). |
|
|
Forward
Definition at line 85 of file PoolItem.h. |
|
|
Conversion to bool to allow pointer style tests for nonNULL resolvable.
Definition at line 90 of file PoolItem.h. References resolvable(). |
|
|
Definition at line 185 of file PoolItem.cc. References _pimpl. Referenced by zypp::PoolItemSaver::saveState(). |
|
|
Definition at line 188 of file PoolItem.cc. References _pimpl. Referenced by zypp::PoolItemSaver::restoreState(). |
|
|
Definition at line 191 of file PoolItem.cc. References _pimpl. Referenced by zypp::PoolItemSaver::diffState(). |
|
|
Definition at line 101 of file PoolItem.h. |
|
||||||||||||
|
Stream output Definition at line 199 of file PoolItem.cc. |
|
||||||||||||
|
Definition at line 115 of file PoolItem.h. References resolvable(). |
|
||||||||||||
|
Definition at line 119 of file PoolItem.h. References resolvable(). |
|
||||||||||||
|
Definition at line 123 of file PoolItem.h. References resolvable(). |
|
||||||||||||
|
Definition at line 128 of file PoolItem.h. |
|
||||||||||||
|
Definition at line 132 of file PoolItem.h. |
|
||||||||||||
|
Definition at line 136 of file PoolItem.h. |
|
|
Pointer to implementation.
Definition at line 95 of file PoolItem.h. Referenced by zypp::operator<<(), resolvable(), restoreState(), sameState(), saveState(), status(), and statusReset(). |
1.4.6