Save and restore locale set from file.
More...
#include <target/RequestedLocalesFile.h>
Save and restore locale set from file.
Definition at line 35 of file RequestedLocalesFile.h.
◆ RequestedLocalesFile()
zypp::target::RequestedLocalesFile::RequestedLocalesFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
◆ file()
const Pathname & zypp::target::RequestedLocalesFile::file |
( |
| ) |
const |
|
inline |
◆ locales()
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.
◆ setLocales()
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.
◆ differs()
◆ load()
void zypp::target::RequestedLocalesFile::load |
( |
const Pathname & |
file_r, |
|
|
LocaleSet & |
locales_r |
|
) |
| |
|
staticprivate |
◆ store()
void zypp::target::RequestedLocalesFile::store |
( |
const Pathname & |
file_r, |
|
|
const LocaleSet & |
locales_r |
|
) |
| |
|
staticprivate |
◆ operator<< [1/2]
◆ operator<<() [2/2]
◆ _file
Pathname zypp::target::RequestedLocalesFile::_file |
|
private |
◆ _localesPtr
The documentation for this class was generated from the following files: