#include <pfileinfo.h>
Public Types | |
| typedef off_t | fsize_t |
| enum | ftype_t { Unknown, File, Directory, CharDevice, BlockDevice, Link, Pipe } |
| Filesystem object type. More... | |
Public Member Functions | |
| FileInfo (const char *path) throw (IOError) | |
| FileInfo (const FileInfo &fi) | |
| ~FileInfo () | |
| const std::string & | dirName () const throw () |
| Returns the name of the directory (may be relative). | |
| std::string | absDirName () const throw (SystemError) |
| Returns the absolute directory name. | |
| const std::string & | name () const throw () |
| Returns the name of the filesystem object. | |
| std::string | path () const throw () |
| Returns the full path to the filesystem object. | |
| std::string | absPath () const throw (SystemError) |
| Returns the full absolute path to the filesystem object. | |
| fsize_t | size () const throw () |
| Returns the size of the filesystem object. | |
| ftype_t | type () const throw () |
| Returns the type of the filesystem object. | |
| const DateTime & | ctime () const throw () |
| Returns the creation time. | |
| const DateTime & | mtime () const throw () |
| Returns the last-modified time. | |
| const DateTime & | atime () const throw () |
| Returns the last-accessed time. | |
| FileInfo & | operator= (const FileInfo &fi) throw () |
Definition at line 36 of file pfileinfo.h.
|
|
Definition at line 39 of file pfileinfo.h. |
|
|
Filesystem object type.
Definition at line 45 of file pfileinfo.h. |
|
|
|
|
|
|
|
|
|
|
|
Returns the absolute directory name.
|
|
|
Returns the full absolute path to the filesystem object.
|
|
|
Returns the last-accessed time.
Definition at line 93 of file pfileinfo.h. |
|
|
Returns the creation time.
Definition at line 85 of file pfileinfo.h. |
|
|
Returns the name of the directory (may be relative).
Definition at line 60 of file pfileinfo.h. |
|
|
Returns the last-modified time.
Definition at line 89 of file pfileinfo.h. |
|
|
Returns the name of the filesystem object.
Definition at line 67 of file pfileinfo.h. |
|
|
|
|
|
Returns the full path to the filesystem object.
|
|
|
Returns the size of the filesystem object.
Definition at line 77 of file pfileinfo.h. |
|
|
Returns the type of the filesystem object.
Definition at line 81 of file pfileinfo.h. |
1.3.3