Save and restore hardlocks.
More...
#include <HardLocksFile.h>
|
(Note that these are not member functions.)
|
| std::ostream & | operator<< (std::ostream &str, const HardLocksFile &obj) |
| |
Save and restore hardlocks.
Definition at line 36 of file HardLocksFile.h.
| zypp::target::HardLocksFile::HardLocksFile |
( |
const Pathname & |
file_r | ) |
|
|
inline |
| const Pathname& zypp::target::HardLocksFile::file |
( |
| ) |
const |
|
inline |
| const Data& zypp::target::HardLocksFile::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 57 of file HardLocksFile.h.
| void zypp::target::HardLocksFile::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 73 of file HardLocksFile.h.
| bool zypp::target::HardLocksFile::differs |
( |
const Data & |
lhs, |
|
|
const Data & |
rhs |
|
) |
| const |
|
inlineprivate |
| void zypp::target::HardLocksFile::load |
( |
const Pathname & |
file_r, |
|
|
Data & |
data_r |
|
) |
| |
|
staticprivate |
| void zypp::target::HardLocksFile::store |
( |
const Pathname & |
file_r, |
|
|
const Data & |
data_r |
|
) |
| |
|
staticprivate |
| std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const HardLocksFile & |
obj |
|
) |
| |
|
friend |
| std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const HardLocksFile & |
obj |
|
) |
| |
|
related |
| Pathname zypp::target::HardLocksFile::_file |
|
private |
The documentation for this class was generated from the following files: