| ROLAND
    0.70
    Amstrad Emulator based on Caprice Source rewritten in C++. | 
Represents Fileattributes. More...
#include <fileinfo.h>
| Public Member Functions | |
| FileInfo () | |
| FileInfo (const string &filename) | |
| ~FileInfo () | |
| off_t | size () const | 
| time_t | atime () const | 
| time_t | mtime () const | 
| time_t | ctime () const | 
| ino_t | inode () const | 
| dev_t | device () const | 
| mode_t | mode () const | 
| nlink_t | nlinks () const | 
| uid_t | uid () const | 
| gid_t | gid () const | 
| blkcnt_t | blocks () const | 
| unsigned int | optblocksize () const | 
| bool | isLink () const | 
| bool | isDir () const | 
| bool | isFile () const | 
| bool | isValid () | 
| bool | read (const string &fname, bool followlink=false) | 
| Private Attributes | |
| struct stat | mStat | 
| bool | mValid | 
Represents Fileattributes.
With this, you can get attributes like size, different dates/times and checks whether the file is a regular file, pipe or folder.
This class uses the gnulibc standard types. On most architectures (i386) the sizes of the used types treated as follows:
if compiled with _FILE_OFFSET_BITS == 64:
| 
 | inline | 
Standardconstructor. The only action is to set validflag to false
| 
 | inline | 
| 
 | inline | 
References mStat.
| 
 | inline | 
References mStat.
| 
 | inline | 
| 
 | inline | 
References mStat.
| 
 | inline | 
References mStat.
| 
 | inline | 
References mStat.
| 
 | inline | 
| bool read | ( | const string & | fname, | 
| bool | followlink = false | ||
| ) | 
Referenced by FileInfo(), and isValid().
| 
 | inline | 
References mStat.
| 
 | private | 
| 
 | private | 
Referenced by FileInfo(), isValid(), and read().
 1.8.11
 1.8.11