Provides information about a directory entry. More...
#include <libppbase/base/Stat.h>
Public Member Functions | |
| StatBase () | |
| Constructor. | |
| StatBase (unsigned blocks, mode_t mode, unsigned inode, time_t atime, time_t ctime, time_t mtime, bool utc=false) | |
| Constructor. | |
| unsigned | getBlocks () const |
| Get number of disk blocks. | |
| unsigned | getInode () const |
| Get inode number. | |
| const DateTime & | getATime () const |
| Get time of last access. | |
| const DateTime & | getCTime (void) const |
| Get time of last status change. | |
| const DateTime & | getMTime () const |
| Get time of last modification. | |
| bool | isDirectory () const |
| Checks if this entry is a directory. | |
Provides information about a directory entry.
| base::StatBase::StatBase | ( | unsigned | blocks, | |
| mode_t | mode, | |||
| unsigned | inode, | |||
| time_t | atime, | |||
| time_t | ctime, | |||
| time_t | mtime, | |||
| bool | utc = false | |||
| ) |
Constructor.
| blocks | number of blocks | |
| mode | access mode | |
| inode | inode number | |
| atime | access time | |
| ctime | change time | |
| mtime | modification time | |
| utc | flag: file times are UTC times |
| const DateTime& base::StatBase::getATime | ( | ) | const |
Get time of last access.
| unsigned base::StatBase::getBlocks | ( | ) | const |
Get number of disk blocks.
| const DateTime& base::StatBase::getCTime | ( | void | ) | const |
Get time of last status change.
| unsigned base::StatBase::getInode | ( | ) | const |
Get inode number.
| const DateTime& base::StatBase::getMTime | ( | ) | const |
Get time of last modification.
| bool base::StatBase::isDirectory | ( | ) | const |
Checks if this entry is a directory.
1.7.1