12 #ifndef ZYPP_UI_SELECTABLEIMPL_H
13 #define ZYPP_UI_SELECTABLEIMPL_H
59 template <
class _Iterator>
61 const std::string & name_r,
64 :
_ident( sat::Solvable::SplitIdent( kind_r, name_r ).
ident() )
68 for_( it, begin_r, end_r )
70 if ( it->status().isInstalled() )
87 const std::string &
name()
const
132 if ( (*it)->repository() == repo_r )
163 if ( defaultCand->arch() != installed->arch()
168 if ( defaultCand->edition() <= installed->edition() )
201 if ( identical( *it, rhs ) )
215 if ( identical( *it, rhs ) )
344 if ( (*it).status().transacts() )
354 if ( (*it).status().transacts() )
365 bool solver_allowVendorChange(
ResPool::instance().resolver().allowVendorChange() );
376 if ( ! solver_allowVendorChange )
380 else if ( ! sameArch )
402 if ( ! (*it).status().isLocked() )
413 if ( ! (*it).status().isLocked() )
436 return str <<
'[' << obj.
kind() <<
']' << obj.
name() <<
": " << obj.
status()
445 str <<
'[' << obj.
kind() <<
']' << obj.
name() <<
": " << obj.
status()
449 str <<
" (I 0) {}" << endl <<
" ";
461 str <<
" " << t <<
" " << *it << endl;
468 str <<
"(A 0) {}" << endl <<
" ";
480 t = *it == up ?
'C' :
'c';
482 else if ( *it == up )
486 str <<
" " << t <<
" " << *it << endl;
505 t = *it == up ?
'C' :
'c';
507 else if ( *it == up )
511 str <<
" " << t <<
" " << *it <<
"\t" << obj.
pickStatus( *it ) << endl;
524 #endif // ZYPP_UI_SELECTABLEIMPL_H