PUMA Library Reference Manual
|
#include <Puma/UnitState.h>
Unit state information, like modification state and time of last modification.
Public Member Functions | |
UnitState () | |
Constructor. More... | |
bool | isModified () const |
Check if the unit was marked as modified. More... | |
long | lastModified () const |
Get the last modification time of the unit. More... | |
void | modified () |
Mark the unit as being modified. More... | |
void | lastModified (long time) |
Set a last modification time for the unit. More... | |
void | unmodified () |
Mark the unit as not being modified. More... | |
|
inline |
Constructor.
|
inline |
Check if the unit was marked as modified.
|
inline |
Get the last modification time of the unit.
|
inline |
Set a last modification time for the unit.
time | The last modification time as returned by stat(). |
|
inline |
Mark the unit as being modified.
|
inline |
Mark the unit as not being modified.