12 #ifndef ZYPP_SAT_LOCALESUPPORT_H
13 #define ZYPP_SAT_LOCALESUPPORT_H
129 #endif // ZYPP_SAT_LOCALESUPPORT_H
std::ostream & operator<<(std::ostream &str, const LocaleSupport &obj)
bool isRequestedLocale(const Locale &locale_r) const
Whether this Locale is in the set of requested locales.
filter_iterator< _Filter, SolvableIterator > filterEnd(const _Filter &filter_r) const
bool operator==(const LocaleSupport &lhs, const LocaleSupport &rhs)
LocaleSupport(const Locale &locale_r)
Ctor taking a Locale.
Base class providing common iterator types based on a Solvable iterator.
Backlink to the associated PoolImpl.
void setRequested(bool yesno_r)
Turn on/off solver support for my Locale.
filter_iterator< filter::ByLocaleSupport, Pool::SolvableIterator > Solvable_iterator
Filter solvables according to their locale support.
bool isRequested() const
Whether the solver will automatically select language specific packages for my Locale.
Solvable_iterator iterator
LocaleSupport()
Default ctor.
bool operator!=(const LocaleSupport &lhs, const LocaleSupport &rhs)
Convenience methods to manage support for a specific Locale.
std::ostream & dumpOn(std::ostream &str, const LocaleSupport &obj)
bool addRequestedLocale(const Locale &locale_r)
Add one Locale to the set of requested locales.
bool operator<(const LocaleSupport &lhs, const LocaleSupport &rhs)
bool isAvailableLocale(const Locale &locale_r) const
Whether this Locale is in the set of available locales.
const Locale & locale() const
My Locale.
filter_iterator< _Filter, SolvableIterator > filterBegin(const _Filter &filter_r) const
bool isAvailable() const
Whether there are language specific packages supporting my Locale.
bool eraseRequestedLocale(const Locale &locale_r)
Erase one Locale from the set of requested locales.