libzypp 17.31.23
|
Convenience methods to manage support for a specific Locale. More...
#include <sat/LocaleSupport.h>
Public Member Functions | |
LocaleSupport () | |
Default ctor. | |
LocaleSupport (const Locale &locale_r) | |
Ctor taking a Locale. | |
const Locale & | locale () const |
My Locale. | |
bool | isAvailable () const |
Whether there are language specific packages supporting my Locale. | |
bool | isRequested () const |
Whether the solver will automatically select language specific packages for my Locale. | |
void | setRequested (bool yesno_r) |
Turn on/off solver support for my Locale. | |
![]() | |
bool | empty () const |
Whether the collection is epmty. | |
size_type | size () const |
Size of the collection. | |
bool | contains (const TSolv &solv_r) const |
Whether collection contains a specific Solvable. | |
Solvable_iterator | solvableBegin () const |
Solvable_iterator | solvableEnd () const |
Iterable< Solvable_iterator > | solvable () const |
PoolItem_iterator | poolItemBegin () const |
PoolItem_iterator | poolItemEnd () const |
Iterable< PoolItem_iterator > | poolItem () const |
Selectable_iterator | selectableBegin () const |
Selectable_iterator | selectableEnd () const |
Iterable< Selectable_iterator > | selectable () const |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const LocaleSupport &obj) |
Stream output. | |
std::ostream & | dumpOn (std::ostream &str, const LocaleSupport &obj) |
More verbose stream output including dependencies. | |
bool | operator== (const LocaleSupport &lhs, const LocaleSupport &rhs) |
bool | operator!= (const LocaleSupport &lhs, const LocaleSupport &rhs) |
bool | operator< (const LocaleSupport &lhs, const LocaleSupport &rhs) |
Iterate through all \ref sat::Solvables supporting my \ref Locale. | |
typedef Solvable_iterator | iterator |
Locale | _locale |
iterator | begin () const |
iterator | end () const |
Additional Inherited Members | |
![]() | |
typedef size_t | size_type |
typedef filter_iterator< filter::ByLocaleSupport, Pool::SolvableIterator > | Solvable_iterator |
typedef transform_iterator< asPoolItem, Solvable_iterator > | PoolItem_iterator |
typedef transform_iterator< ui::asSelectable, UnifiedSolvable_iterator > | Selectable_iterator |
![]() | |
SolvIterMixin () | |
SolvIterMixin (const SolvIterMixin &) | |
~SolvIterMixin () | |
void | operator= (const SolvIterMixin &) |
![]() | |
static PoolImpl & | myPool () |
Convenience methods to manage support for a specific Locale.
Definition at line 59 of file LocaleSupport.h.
Definition at line 91 of file LocaleSupport.h.
|
inline |
Default ctor.
Definition at line 64 of file LocaleSupport.h.
|
inline |
Ctor taking a Locale.
Definition at line 67 of file LocaleSupport.h.
|
inline |
My Locale.
Definition at line 73 of file LocaleSupport.h.
|
inline |
Whether there are language specific packages supporting my Locale.
Definition at line 77 of file LocaleSupport.h.
|
inline |
Whether the solver will automatically select language specific packages for my Locale.
Definition at line 81 of file LocaleSupport.h.
|
inline |
Turn on/off solver support for my Locale.
Definition at line 85 of file LocaleSupport.h.
|
inline |
Definition at line 93 of file LocaleSupport.h.
|
inline |
Definition at line 96 of file LocaleSupport.h.
|
related |
Stream output.
Definition at line 31 of file LocaleSupport.cc.
|
related |
More verbose stream output including dependencies.
Definition at line 41 of file LocaleSupport.cc.
|
related |
Definition at line 112 of file LocaleSupport.h.
|
related |
Definition at line 116 of file LocaleSupport.h.
|
related |
Definition at line 120 of file LocaleSupport.h.
|
private |
Definition at line 101 of file LocaleSupport.h.