12 #ifndef ZYPP_UI_SELECTABLETRAITS_H
13 #define ZYPP_UI_SELECTABLETRAITS_H
42 struct AVOrder :
public std::binary_function<PoolItem,PoolItem,bool>
54 return( lprio > rprio );
59 int res = lhs->arch().compare( rhs->arch() );
64 int res = lhs->edition().compare( rhs->edition() );
71 return( lprio > rprio );
84 struct IOrder :
public std::binary_function<PoolItem,PoolItem,bool>
92 int res = lhs->arch().compare( rhs->arch() );
95 res = lhs->edition().compare( rhs->edition() );
98 Date ldate = lhs->installtime();
99 Date rdate = rhs->installtime();
100 if ( ldate != rdate )
101 return( ldate > rdate );
130 #endif // ZYPP_UI_SELECTABLETRAITS_H
Repository repository() const
The Repository this Solvable belongs to.
PickList::const_iterator picklist_iterator
Oder on InstalledItemSet.
std::vector< PoolItem > PickList
int satInternalSubPriority() const
const Arch Arch_noarch(_noarch())
std::set< PoolItem, AVOrder > AvailableItemSet
bool operator()(const PoolItem &lhs, const PoolItem &rhs) const
Store and operate on date (time_t).
AvailableItemSet::const_iterator available_const_iterator
AvailableItemSet::const_iterator installed_const_iterator
bool operator()(const PoolItem &lhs, const PoolItem &rhs) const
PickList::size_type picklist_size_type
int satInternalPriority() const
libsolv internal priorities.
AvailableItemSet::iterator installed_iterator
std::set< PoolItem, IOrder > InstalledItemSet
sat::Solvable satSolvable() const
Return the corresponding sat::Solvable.
AvailableItemSet::size_type installed_size_type
Reference to a PoolItem connecting ResObject and ResStatus.
IdType id() const
Expert backdoor.
AvailableItemSet::size_type available_size_type
AvailableItemSet::iterator available_iterator
Oder on AvailableItemSet.