libzypp
10.5.0
|
A single step within a Transaction. More...
#include <Transaction.h>
Public Member Functions | |
Step () | |
Step (const RW_pointer< Impl > &pimpl_r, detail::IdType id_r) | |
StepType | stepType () const |
Type of action to perform in this step. | |
StepStage | stepStage () const |
Step action result. | |
void | stepStage (StepStage val_r) |
Set step action result. | |
Solvable | satSolvable () const |
Return the corresponding Solvable. | |
operator const Solvable & () const | |
Implicit conversion to Solvable. | |
operator Solvable & () | |
Post mortem acccess to @System solvables | |
Transaction::Step step; if ( step.satSolvable() ) std::cout << step.satSolvable() << endl; else std::cout << step.ident() << endl; // deleted @System solvable | |
IdString | ident () const |
Edition | edition () const |
Arch | arch () const |
Private Attributes | |
Solvable | _solv |
RW_pointer< Impl > | _pimpl |
Pointer to implementation. | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const Step &obj) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Transaction::Step &obj) |
A single step within a Transaction.
Definition at line 209 of file Transaction.h.
zypp::sat::Transaction::Step::Step | ( | ) |
Definition at line 356 of file Transaction.cc.
zypp::sat::Transaction::Step::Step | ( | const RW_pointer< Impl > & | pimpl_r, |
detail::IdType | id_r | ||
) | [inline] |
Definition at line 215 of file Transaction.h.
Transaction::StepType zypp::sat::Transaction::Step::stepType | ( | ) | const |
Type of action to perform in this step.
Definition at line 359 of file Transaction.cc.
Transaction::StepStage zypp::sat::Transaction::Step::stepStage | ( | ) | const |
Step action result.
Definition at line 362 of file Transaction.cc.
void zypp::sat::Transaction::Step::stepStage | ( | StepStage | val_r | ) |
Set step action result.
Definition at line 365 of file Transaction.cc.
Solvable zypp::sat::Transaction::Step::satSolvable | ( | ) | const [inline] |
Return the corresponding Solvable.
Returns Solvable::noSolvable if the item is meanwhile deleted and was removed from the pool.
Definition at line 234 of file Transaction.h.
IdString zypp::sat::Transaction::Step::ident | ( | ) | const |
Definition at line 368 of file Transaction.cc.
Edition zypp::sat::Transaction::Step::edition | ( | ) | const |
Definition at line 371 of file Transaction.cc.
Arch zypp::sat::Transaction::Step::arch | ( | ) | const |
Definition at line 374 of file Transaction.cc.
zypp::sat::Transaction::Step::operator const Solvable & | ( | ) | const [inline] |
Implicit conversion to Solvable.
Definition at line 258 of file Transaction.h.
zypp::sat::Transaction::Step::operator Solvable & | ( | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 260 of file Transaction.h.
std::ostream& operator<< | ( | std::ostream & | str, |
const Step & | obj | ||
) | [friend] |
Definition at line 377 of file Transaction.cc.
std::ostream & operator<< | ( | std::ostream & | str, |
const Transaction::Step & | obj | ||
) | [related] |
Stream output
Definition at line 377 of file Transaction.cc.
Solvable zypp::sat::Transaction::Step::_solv [private] |
Definition at line 263 of file Transaction.h.
RW_pointer<Impl> zypp::sat::Transaction::Step::_pimpl [private] |
Pointer to implementation.
Definition at line 265 of file Transaction.h.