Simple serial number provider.
More...
#include <base/SerialNumber.h>
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const SerialNumber &obj) |
| Stream output.
|
|
Simple serial number provider.
serial returns a serial number. The number returned stays the same unless setDirty was called to bring the object into dirty
state. The next call to serial will increment the serial number and bring the object into clean
state.
Simple serial number provider.
Definition at line 44 of file SerialNumber.h.
◆ SerialNumber()
zypp::SerialNumber::SerialNumber |
( |
bool |
dirty_r = false | ) |
|
◆ ~SerialNumber()
zypp::SerialNumber::~SerialNumber |
( |
| ) |
|
|
virtual |
◆ setDirty()
void zypp::SerialNumber::setDirty |
( |
| ) |
|
|
inline |
◆ dirty()
bool zypp::SerialNumber::dirty |
( |
| ) |
const |
|
inline |
◆ clean()
bool zypp::SerialNumber::clean |
( |
| ) |
const |
|
inline |
◆ serial()
unsigned zypp::SerialNumber::serial |
( |
| ) |
const |
|
inline |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const SerialNumber & |
obj |
|
) |
| |
|
friend |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const SerialNumber & |
obj |
|
) |
| |
|
related |
◆ _dirty
bool zypp::SerialNumber::_dirty |
|
mutableprivate |
◆ _serial
unsigned zypp::SerialNumber::_serial |
|
mutableprivate |
The documentation for this class was generated from the following files: