42 friend Impl * rwcowClone<Impl>(
const Impl * rhs );
58 : _pimpl( lhs_r._pimpl )
63 {
_pimpl->_root = root_r; }
72 {
return _pimpl->_attemptToModify; }
75 {
_pimpl->_attemptToModify = yesno_r; }
78 {
return _pimpl->_transaction; }
81 {
return _pimpl->_transaction; }
84 {
return _pimpl->_transactionStepList; }
87 {
return _pimpl->_transactionStepList; }
90 {
return _pimpl->_updateMessages; }
93 {
return _pimpl->_updateMessages; }
103 switch ( it->stepStage() )
110 str <<
"CommitResult "
111 <<
" (total " << result[0]
112 <<
", done " << result[1]
113 <<
", error " << result[2]
114 <<
", skipped " << result[3]
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
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
Result returned from ZYpp::commit.
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.
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 Exception &obj)
std::list< UpdateNotificationFile > UpdateNotifications