#include <FileInfo.h>
Public Types | |
| typedef int | FileMode |
Public Member Functions | |
| FileInfo (const std::string &fullFilename, FileMode fileMode, const std::string &versionAttrName) | |
| FileInfo (const FileInfo &other) | |
| FileInfo & | operator= (FileInfo rhs) |
| const std::string & | filename () const |
| int | fileDirfd () const |
| FileMode | fileMode () const |
| const std::string & | versionAttrName () const |
| VersionType & | fileVersion () const |
| void | setFileVersion (const VersionType &newVersion) |
Static Public Member Functions | |
| static std::string | getBasename (const std::string &filename) |
| C++ interface to basename(3). Returns filename without path. | |
| static std::string | getDirname (const std::string &filename) |
| C++ interface to dirname(3). Returns path of filename. | |
Friends | |
| void | swap (FileInfo &fi0, FileInfo &fi1) |
A FileInfo object is a reference to a reference counted FileInfoType object. All FileInfoType members are read-only, except fileVersion. For more detail, see class FileInfoType, which stores the actual data.
1.7.6.1