Save and restore locale set from file.
More...
#include <RequestedLocalesFile.h>
Save and restore locale set from file.
Definition at line 35 of file RequestedLocalesFile.h.
zypp::target::RequestedLocalesFile::RequestedLocalesFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
const Pathname& zypp::target::RequestedLocalesFile::file |
( |
| ) |
const |
|
inline |
const LocaleSet& zypp::target::RequestedLocalesFile::locales |
( |
| ) |
const |
|
inline |
Return the loacale set.
The file is read once on demand. returns an empty set if the file does not exist or is not readable.
Definition at line 53 of file RequestedLocalesFile.h.
void zypp::target::RequestedLocalesFile::setLocales |
( |
const LocaleSet & |
locales_r | ) |
|
|
inline |
Store a new locale set.
Write the new localeset to file, unless we know it did not change. The directory containing file must exist.
Definition at line 68 of file RequestedLocalesFile.h.
bool zypp::target::RequestedLocalesFile::differs |
( |
const LocaleSet & |
lhs, |
|
|
const LocaleSet & |
rhs |
|
) |
| const |
|
inlineprivate |
void zypp::target::RequestedLocalesFile::load |
( |
const Pathname & |
file_r, |
|
|
LocaleSet & |
locales_r |
|
) |
| |
|
staticprivate |
void zypp::target::RequestedLocalesFile::store |
( |
const Pathname & |
file_r, |
|
|
const LocaleSet & |
locales_r |
|
) |
| |
|
staticprivate |
Pathname zypp::target::RequestedLocalesFile::_file |
|
private |
The documentation for this class was generated from the following files: