1 #ifndef __JSYSTEM__JSTAT__ 
    2 #define __JSYSTEM__JSTAT__ 
   17 namespace JPP { 
using namespace JSYSTEM; }
 
   57       return this->
error == 0;
 
   67     const JStat& 
get(
const char* file_name) 
 
   69       if (::stat(file_name, static_cast<stat*>(
this)) != 0)
 
   86       return get(file_name);
 
  119       return this->st_size;
 
uid_t getUID() const 
Get UID of file. 
 
uid_t getGID() const 
Get GID of file. 
 
JStat(const char *file_name)
Constructor. 
 
int getError() const 
Get error of last call. 
 
std::string getTimeOfLastChange() const 
Get time of last change. 
 
virtual bool getStatus() const 
Get status of object. 
 
int error
error code from last call 
 
static JStat getFileStatus
Function object for file status. 
 
JStat()
Default constructor. 
 
std::string toString() const 
Get ASCII formatted date and time. 
 
Auxiliary class for file status. 
 
Interface for status of object. 
 
off_t getSize() const 
Get size of file. 
 
std::string getTimeOfLastAccess() const 
Get time of last access. 
 
const JStat & operator()(const char *file_name)
Get status of file. 
 
std::string getTimeOfLastModification() const 
Get time of last modification.