14#include <zypp/base/LogTools.h>
59 : _pimpl(
lhs_r._pimpl )
73 {
return _pimpl->_attemptToModify; }
79 {
return _pimpl->_singleTransactionMode; }
85 {
return _pimpl->_transaction; }
88 {
return _pimpl->_transaction; }
91 {
return _pimpl->_transactionStepList; }
94 {
return _pimpl->_transactionStepList; }
97 {
return _pimpl->_updateMessages; }
100 {
return _pimpl->_updateMessages; }
107 for_(
it,
obj.transaction().actionBegin(),
obj.transaction().actionEnd() )
110 switch (
it->stepStage() )
117 str <<
"CommitResult "
118 <<
" (total " << result[0]
119 <<
", done " << result[1]
120 <<
", error " << result[2]
121 <<
", skipped " << result[3]
122 <<
", updateMessages " <<
obj.updateMessages().size()
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
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.
@ STEP_TODO
[__] unprocessed
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::list< UpdateNotificationFile > UpdateNotifications
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
#define for_(IT, BEG, END)
Convenient for-loops using iterator.