14#include <zypp/base/LogTools.h>
43 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
59 : _pimpl( lhs_r._pimpl )
64 {
_pimpl->_root = root_r; }
73 {
return _pimpl->_attemptToModify; }
76 {
_pimpl->_attemptToModify = yesno_r; }
79 {
return _pimpl->_singleTransactionMode; }
82 {
_pimpl->_singleTransactionMode = yesno_r; }
85 {
return _pimpl->_transaction; }
88 {
return _pimpl->_transaction; }
91 {
return _pimpl->_transactionStepList; }
94 {
return _pimpl->_transactionStepList; }
97 {
return _pimpl->_updateMessages; }
100 {
return _pimpl->_updateMessages; }
110 switch ( it->stepStage() )
117 str <<
"CommitResult "
118 <<
" (total " << result[0]
119 <<
", done " << result[1]
120 <<
", error " << result[2]
121 <<
", skipped " << result[3]
Integral type with defined initial value when default constructed.
sat::Transaction _transaction
UpdateNotifications _updateMessages
TransactionStepList _transactionStepList
FalseBool _attemptToModify
Impl * clone() const
clone for RWCOW_pointer
FalseBool _singleTransactionMode
Result returned from ZYpp::commit.
bool singleTransactionMode() const
True if the commit was executed in one big rpm transaction.
RWCOW_pointer< Impl > _pimpl
Pointer to data.
bool attemptToModify() const
True if at least one attempt to actually install/remove packages was made.
const Pathname & root() const
Remembered root directory of the target.
TransactionStepList & rTransactionStepList()
Manipulate transactionStepList.
const UpdateNotifications & updateMessages() const
List of update messages installed during this commit.
void setSingleTransactionMode(bool yesno_r)
const TransactionStepList & transactionStepList() const
List of sat::Transaction::Step to be executed by commit.
UpdateNotifications & rUpdateMessages()
Manipulate updateMessages \Note Pathnames are relative to the targets root directory.
std::vector< sat::Transaction::Step > TransactionStepList
const sat::Transaction & transaction() const
The full transaction list.
sat::Transaction & rTransaction()
Manipulate transaction.
Libsolv transaction wrapper.
action_iterator actionBegin(StepStages filter_r=StepStages()) const
Pointer to the 1st action step in [filtered] transaction.
action_iterator actionEnd() const
Pointer behind the last action step in transaction.
@ STEP_TODO
[__] unprocessed
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
std::list< UpdateNotificationFile > UpdateNotifications
#define for_(IT, BEG, END)
Convenient for-loops using iterator.