|
Jpp
18.3.0
the software that should make you happy
|
Auxiliary class for file status. More...
#include <JStat.hh>
Public Member Functions | |
| JStat () | |
| Default constructor. More... | |
| JStat (const char *file_name) | |
| Constructor. More... | |
| virtual bool | getStatus () const override |
| Get status of object. More... | |
| const JStat & | get (const char *file_name) |
| Get status of file. More... | |
| const JStat & | operator() (const char *file_name) |
| Get status of file. More... | |
| uid_t | getUID () const |
| Get UID of file. More... | |
| uid_t | getGID () const |
| Get GID of file. More... | |
| off_t | getSize () const |
| Get size of file. More... | |
| JDateAndTime | getTimeOfLastAccess () const |
| Get time of last access. More... | |
| JDateAndTime | getTimeOfLastModification () const |
| Get time of last modification. More... | |
| JDateAndTime | getTimeOfLastChange () const |
| Get time of last change. More... | |
| int | getError () const |
| Get error of last call. More... | |
| operator bool () const | |
| Type conversion operator. More... | |
| bool | operator! () const |
| Negated status of this object. More... | |
Public Attributes | |
| int | error |
| error code from last call More... | |
Auxiliary class for file status.
This class encapsulates the stat data structure.
|
inline |
|
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.
1.8.5