libzypp 17.31.23
|
Transaction implementation. More...
Classes | |
struct | PostMortem |
Public Types | |
typedef std::unordered_set< detail::IdType > | set_type |
typedef std::unordered_map< detail::IdType, detail::IdType > | map_type |
typedef std::unordered_map< detail::IdType, PostMortem > | pmmap_type |
Public Member Functions | |
Impl () | |
Impl (LoadFromPoolType) | |
~Impl () | |
bool | valid () const |
bool | order () |
bool | empty () const |
size_t | size () const |
const_iterator | begin (const RW_pointer< Transaction::Impl > &self_r) const |
iterator | begin (const RW_pointer< Transaction::Impl > &self_r) |
const_iterator | end (const RW_pointer< Transaction::Impl > &self_r) const |
iterator | end (const RW_pointer< Transaction::Impl > &self_r) |
const_iterator | find (const RW_pointer< Transaction::Impl > &self_r, const sat::Solvable &solv_r) const |
iterator | find (const RW_pointer< Transaction::Impl > &self_r, const sat::Solvable &solv_r) |
int | installedResult (Queue &result_r) const |
StringQueue | autoInstalled () const |
void | autoInstalled (const StringQueue &queue_r) |
StepType | stepType (Solvable solv_r) const |
StepStage | stepStage (Solvable solv_r) const |
void | stepStage (Solvable solv_r, StepStage newval_r) |
const PostMortem & | pmdata (Solvable solv_r) const |
Static Public Member Functions | |
static shared_ptr< Impl > | nullimpl () |
Offer default Impl. | |
Private Member Functions | |
detail::IdType | resolve (const Solvable &solv_r) const |
bool | isIn (const set_type &set_r, detail::IdType sid_r) const |
StepStage | stepStage (detail::IdType sid_r) const |
void | stepStage (detail::IdType sid_r, StepStage newval_r) |
detail::IdType * | _find (const sat::Solvable &solv_r) const |
Private Attributes | |
SerialNumberWatcher | _watcher |
mutable::Transaction * | _trans |
DefaultIntegral< bool, false > | _ordered |
set_type | _doneSet |
set_type | _errSet |
map_type | _linkMap |
set_type | _systemErase |
pmmap_type | _pmMap |
StringQueue | _autoInstalled |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Impl &obj) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Transaction::Impl &obj) |
Stream output. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from zypp::sat::detail::PoolMember | |
static PoolImpl & | myPool () |
Transaction implementation.
\NOTE After commit the @System repo is reloaded. This invalidates the ids off all installed items in the transaction, including their stepType. Thats why some information (stepType, NVRA) is be stored for post mortem access (i.e. tell after commit which NVRA were deleted).
Definition at line 49 of file Transaction.cc.
typedef std::unordered_set<detail::IdType> zypp::sat::Transaction::Impl::set_type |
Definition at line 55 of file Transaction.cc.
typedef std::unordered_map<detail::IdType,detail::IdType> zypp::sat::Transaction::Impl::map_type |
Definition at line 56 of file Transaction.cc.
typedef std::unordered_map<detail::IdType,PostMortem> zypp::sat::Transaction::Impl::pmmap_type |
Definition at line 72 of file Transaction.cc.
|
inline |
Definition at line 75 of file Transaction.cc.
|
inline |
Definition at line 79 of file Transaction.cc.
|
inline |
Definition at line 129 of file Transaction.cc.
|
inline |
Definition at line 133 of file Transaction.cc.
|
inline |
Definition at line 136 of file Transaction.cc.
|
inline |
Definition at line 168 of file Transaction.cc.
|
inline |
Definition at line 171 of file Transaction.cc.
|
inline |
Definition at line 174 of file Transaction.cc.
|
inline |
Definition at line 176 of file Transaction.cc.
|
inline |
Definition at line 179 of file Transaction.cc.
|
inline |
Definition at line 181 of file Transaction.cc.
|
inline |
Definition at line 184 of file Transaction.cc.
|
inline |
Definition at line 186 of file Transaction.cc.
|
inline |
Definition at line 190 of file Transaction.cc.
|
inline |
Definition at line 193 of file Transaction.cc.
|
inline |
Definition at line 196 of file Transaction.cc.
Definition at line 200 of file Transaction.cc.
Definition at line 217 of file Transaction.cc.
Definition at line 220 of file Transaction.cc.
|
inline |
Definition at line 223 of file Transaction.cc.
|
inlineprivate |
Definition at line 231 of file Transaction.cc.
|
inlineprivate |
Definition at line 237 of file Transaction.cc.
|
inlineprivate |
Definition at line 240 of file Transaction.cc.
|
inlineprivate |
Definition at line 249 of file Transaction.cc.
|
inlineprivate |
Definition at line 267 of file Transaction.cc.
|
inlinestatic |
Offer default Impl.
Definition at line 295 of file Transaction.cc.
|
friend |
|
related |
Stream output.
Definition at line 303 of file Transaction.cc.
|
private |
Definition at line 281 of file Transaction.cc.
|
private |
Definition at line 282 of file Transaction.cc.
|
private |
Definition at line 283 of file Transaction.cc.
|
private |
Definition at line 285 of file Transaction.cc.
|
private |
Definition at line 286 of file Transaction.cc.
|
private |
Definition at line 287 of file Transaction.cc.
|
private |
Definition at line 288 of file Transaction.cc.
|
private |
Definition at line 289 of file Transaction.cc.
|
private |
Definition at line 291 of file Transaction.cc.