|
AGX Dynamics
2.37.2.0
|
Class for storing and comparing a change date for a file on disk. More...
#include <FileState.h>
Public Member Functions | |
| FileState (const agx::String &filename) | |
| Constructor. More... | |
| FileState () | |
| Default constructor, not valid. More... | |
| bool | hasChanged () const |
| Is the modified date different from the last call to reset()/Constructor? More... | |
| bool | operator!= (const FileState &other) |
| bool | operator== (const FileState &other) |
| bool | reset () |
| Refresh the last changed info from the file. More... | |
Class for storing and comparing a change date for a file on disk.
Definition at line 32 of file FileState.h.
| agxIO::FileState::FileState | ( | const agx::String & | filename | ) |
Constructor.
| filename | - The file for which the date should be compared. |
| agxIO::FileState::FileState | ( | ) |
Default constructor, not valid.
| bool agxIO::FileState::hasChanged | ( | ) | const |
Is the modified date different from the last call to reset()/Constructor?
| bool agxIO::FileState::operator!= | ( | const FileState & | other | ) |
| bool agxIO::FileState::operator== | ( | const FileState & | other | ) |
| bool agxIO::FileState::reset | ( | ) |
Refresh the last changed info from the file.