iterator find(const RW_pointer<Transaction::Impl> & self_r, const sat::Solvable & solv_r )
{ detail::IdType * it( _find( solv_r ) ); return it ? iterator( self_r, it ) : end( self_r ); }
+ public:
+ int installedResult( Queue & result_r ) const
+ { return ::transaction_installedresult( _trans, result_r ); }
+
public:
StepType stepType( Solvable solv_r ) const
{
Transaction::iterator Transaction::find( const sat::Solvable & solv_r )
{ return _pimpl->find( _pimpl, solv_r ); }
+ int Transaction::installedResult( Queue & result_r ) const
+ { return _pimpl->installedResult( result_r ); }
+
+
std::ostream & operator<<( std::ostream & str, const Transaction & obj )
{ return str << *obj._pimpl; }
namespace sat
{ /////////////////////////////////////////////////////////////////
+ class Queue;
+
namespace detail
{
/** Needs to be outside \ref Transaction in order to be usable in SolvIterMixin. */
//@}
+ public:
+ /** Return all packages that would be installed after the transaction is run.
+ * The new packages are put at the head of the queue, the number of new
+ * packages is returned. (wraps libsolv::transaction_installedresult) */
+ int installedResult( Queue & result_r ) const;
+
public:
/** Implementation */
class Impl;