#include <filereference.h>
Public Methods | |
| FileReference () | |
| FileReference (const std::string &cPath, bool bFollowLinks=false) | |
| FileReference (const Directory &cDir, const std::string &cName, bool bFollowLinks=false) | |
| FileReference (const FileReference &cRef) | |
| virtual | ~FileReference () |
| status_t | SetTo (const std::string &cPath, bool bFollowLinks=false) |
| status_t | SetTo (const Directory &cDir, const std::string &cName, bool bFollowLinks=false) |
| status_t | SetTo (const FileReference &cRef) |
| void | Unset () |
| bool | IsValid () const |
| std::string | GetName () const |
| status_t | GetPath (std::string *pcPath) const |
| int | Rename (const std::string &cNewName) |
| status_t | Delete () |
| status_t | GetStat (struct::stat *psStat) const |
| const Directory & | GetDirectory () const |
|
|
|
|
|||||||||||||||
|
|
|
||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||
|
|
|
|||||||||||||||
|
|
|
|
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001