Save and restore a list of solvable names (ident IdString)
More...
#include <target/SolvIdentFile.h>
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const SolvIdentFile &obj) |
| Stream output.
|
|
Save and restore a list of solvable names (ident IdString)
Definition at line 33 of file SolvIdentFile.h.
◆ Data
◆ SolvIdentFile()
zypp::target::SolvIdentFile::SolvIdentFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
◆ file()
const Pathname & zypp::target::SolvIdentFile::file |
( |
| ) |
const |
|
inline |
◆ data()
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.
◆ setData()
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.
◆ differs()
bool zypp::target::SolvIdentFile::differs |
( |
const Data & |
lhs, |
|
|
const Data & |
rhs |
|
) |
| const |
|
inlineprivate |
◆ load()
void zypp::target::SolvIdentFile::load |
( |
const Pathname & |
file_r, |
|
|
Data & |
data_r |
|
) |
| |
|
staticprivate |
◆ store()
void zypp::target::SolvIdentFile::store |
( |
const Pathname & |
file_r, |
|
|
const Data & |
data_r |
|
) |
| |
|
staticprivate |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const SolvIdentFile & |
obj |
|
) |
| |
|
friend |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const SolvIdentFile & |
obj |
|
) |
| |
|
related |
◆ _file
Pathname zypp::target::SolvIdentFile::_file |
|
private |
◆ _dataPtr
The documentation for this class was generated from the following files: