Save and restore locale set from file.
More...
#include <RequestedLocalesFile.h>
List of all members.
Detailed Description
Save and restore locale set from file.
Definition at line 35 of file RequestedLocalesFile.h.
Constructor & Destructor Documentation
zypp::target::RequestedLocalesFile::RequestedLocalesFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
Member Function Documentation
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 |
Friends And Related Function Documentation
Member Data Documentation
Pathname zypp::target::RequestedLocalesFile::_file |
|
private |
scoped_ptr<LocaleSet> zypp::target::RequestedLocalesFile::_localesPtr |
|
mutableprivate |
The documentation for this class was generated from the following files: