libzypp
13.10.6
|
Simple serial number provider. More...
#include <SerialNumber.h>
Public Member Functions | |
SerialNumber (bool dirty_r=false) | |
Ctor taking initial dirty value. More... | |
virtual | ~SerialNumber () |
Dtor. More... | |
void | setDirty () |
bool | dirty () const |
bool | clean () const |
unsigned | serial () const |
Private Attributes | |
bool | _dirty |
unsigned | _serial |
Friends | |
std::ostream & | operator<< (std::ostream &str, const SerialNumber &obj) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const SerialNumber &obj) |
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.
Definition at line 44 of file SerialNumber.h.
zypp::SerialNumber::SerialNumber | ( | bool | dirty_r = false | ) |
Ctor taking initial dirty
value.
Definition at line 34 of file SerialNumber.cc.
|
virtual |
Dtor.
Definition at line 44 of file SerialNumber.cc.
|
inline |
Definition at line 55 of file SerialNumber.h.
|
inline |
Definition at line 59 of file SerialNumber.h.
|
inline |
Definition at line 62 of file SerialNumber.h.
|
inline |
Definition at line 65 of file SerialNumber.h.
|
friend |
Definition at line 52 of file SerialNumber.cc.
|
related |
Stream output
Definition at line 52 of file SerialNumber.cc.
|
mutableprivate |
Definition at line 76 of file SerialNumber.h.
|
mutableprivate |
Definition at line 77 of file SerialNumber.h.