Jpp test-rotations-new
the software that should make you happy
|
Auxiliary class for file status. More...
#include <JStat.hh>
Public Member Functions | |
JStat () | |
Default constructor. | |
JStat (const char *file_name) | |
Constructor. | |
virtual bool | getStatus () const override |
Get status of object. | |
const JStat & | get (const char *file_name) |
Get status of file. | |
const JStat & | operator() (const char *file_name) |
Get status of file. | |
uid_t | getUID () const |
Get UID of file. | |
uid_t | getGID () const |
Get GID of file. | |
off_t | getSize () const |
Get size of file. | |
JDateAndTime | getTimeOfLastAccess () const |
Get time of last access. | |
JDateAndTime | getTimeOfLastModification () const |
Get time of last modification. | |
JDateAndTime | getTimeOfLastChange () const |
Get time of last change. | |
int | getError () const |
Get error of last call. | |
operator bool () const | |
Type conversion operator. | |
bool | operator! () const |
Negated status of this object. | |
Public Attributes | |
int | error |
error code from last call | |
Auxiliary class for file status.
This class encapsulates the stat
data structure.
|
inline |
Constructor.
file_name | file name |
Definition at line 44 of file JStat.hh.
|
inlineoverridevirtual |
Get status of object.
Implements JLANG::JAbstractObjectStatus.
Definition at line 55 of file JStat.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Type conversion operator.
Definition at line 33 of file JAbstractObjectStatus.hh.
|
inlineinherited |
Negated status of this object.
Definition at line 44 of file JAbstractObjectStatus.hh.