Save and restore a list of solvable names (ident IdString)
More...
#include <SolvIdentFile.h>
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const SolvIdentFile &obj) |
|
Save and restore a list of solvable names (ident IdString)
Definition at line 33 of file SolvIdentFile.h.
zypp::target::SolvIdentFile::SolvIdentFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
const Pathname& zypp::target::SolvIdentFile::file |
( |
| ) |
const |
|
inline |
const Data& zypp::target::SolvIdentFile::data |
( |
| ) |
const |
|
inline |
Return the data.
The file is read once on demand. Returns empty Data if the file does not exist or is not readable.
Definition at line 53 of file SolvIdentFile.h.
void zypp::target::SolvIdentFile::setData |
( |
const Data & |
data_r | ) |
|
|
inline |
Store new Data.
Write the new Data to file, unless we know it did not change. The directory containing file must exist.
Definition at line 69 of file SolvIdentFile.h.
bool zypp::target::SolvIdentFile::differs |
( |
const Data & |
lhs, |
|
|
const Data & |
rhs |
|
) |
| const |
|
inlineprivate |
void zypp::target::SolvIdentFile::load |
( |
const Pathname & |
file_r, |
|
|
Data & |
data_r |
|
) |
| |
|
staticprivate |
void zypp::target::SolvIdentFile::store |
( |
const Pathname & |
file_r, |
|
|
const Data & |
data_r |
|
) |
| |
|
staticprivate |
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const SolvIdentFile & |
obj |
|
) |
| |
|
friend |
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const SolvIdentFile & |
obj |
|
) |
| |
|
related |
Pathname zypp::target::SolvIdentFile::_file |
|
private |
The documentation for this class was generated from the following files: