12 #ifndef ZYPP_UI_SELECTABLEIMPL_H
13 #define ZYPP_UI_SELECTABLEIMPL_H
59 template <
class TIterator>
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 ( pi.repository() == repo_r )
163 if ( defaultCand->
arch() != installed->
arch()
164 && ! ( defaultCand->
arch() == Arch_noarch || installed->
arch() == Arch_noarch ) )
308 if ( pi.multiversionInstall() )
361 if ( pi.status().isLocked() )
366 if ( pi.status().isLocked() )
377 if ( pi.status().transacts() )
387 if ( pi.status().transacts() )
405 if ( ipi.arch() == api.arch() || ipi.arch() == Arch_noarch || api.arch() == Arch_noarch )
407 if ( ! solver_allowVendorChange )
411 else if ( ! sameArch )
432 if ( ! pi.status().isLocked() )
442 if ( ! pi.status().isLocked() )
465 return str <<
'[' << obj.
kind() <<
']' << obj.
name() <<
": " << obj.
status()
474 str <<
'[' << obj.
kind() <<
']' << obj.
name() <<
": " << obj.
status()
478 str <<
" (I 0) {}" << endl <<
" ";
490 str <<
" " << t <<
" " << pi << endl;
497 str <<
"(A 0) {}" << endl <<
" ";
509 t = pi == up ?
'C' :
'c';
515 str <<
" " << t <<
" " << pi << endl;
534 t = pi == up ?
'C' :
'c';
540 str <<
" " << t <<
" " << pi <<
"\t" << obj.
pickStatus( pi ) << endl;
553 #endif // ZYPP_UI_SELECTABLEIMPL_H