Inheritance diagram for os::Directory:

Public Member Functions | |
| Directory () | |
| Default contructor. | |
| Directory (const String &cPath, int nOpenMode=O_RDONLY) | |
| Construct a directory from a path. | |
| Directory (const Directory &cDir, const String &cName, int nOpenMode=O_RDONLY) | |
| Construct a directory from a path. | |
| Directory (const FileReference &cRef, int nOpenMode=O_RDONLY) | |
| Construct a directory from a path. | |
| Directory (const FSNode &cNode) | |
| Construct a directory from a path. | |
| Directory (int nFD) | |
| Construct a directory object from a open filedescriptor. | |
| Directory (const Directory &cDir) | |
| Copy constructor. | |
| virtual | ~Directory () |
| virtual status_t | FDChanged (int nNewFD, const struct stat &sStat) |
| virtual status_t | GetNextEntry (String *pcName) |
| virtual status_t | GetNextEntry (FileReference *pcRef) |
| virtual status_t | Rewind () |
| virtual status_t | Delete () |
| Delete the directory. | |
| status_t | CreateFile (const String &cName, os::File *pcFile, int nAccessMode=S_IRWXU) |
| status_t | CreateDirectory (const String &cName, os::Directory *pcDir, int nAccessMode=S_IRWXU) |
| status_t | CreateSymlink (const String &cName, const String &cDestination, os::SymLink *pcLink) |
| Window * | CreateDirectoryDialog (const Messenger &cMsgTarget, Message *pcCreateMsg, String cDefaultName) |
| Create a dialog which can be used to create a new directory. | |
| status_t | GetPath (String *pcPath) const |
| Get the absolute path of the directory. | |
Classes | |
| class | Private |
| Directory::Directory | ( | ) |
| Directory::Directory | ( | const String & | cPath, | |
| int | nOpenMode = O_RDONLY | |||
| ) |
| Directory::Directory | ( | const FileReference & | cRef, | |
| int | nOpenMode = O_RDONLY | |||
| ) |
| Directory::Directory | ( | const FSNode & | cNode | ) |
| Directory::Directory | ( | int | nFD | ) |
| nFD | An open filedescriptor referencing a directory. |
| Directory::Directory | ( | const Directory & | cDir | ) |
| cDir | The directory to copy |
| Directory::~Directory | ( | ) | [virtual] |
| status_t Directory::FDChanged | ( | int | nNewFD, | |
| const struct stat & | sStat | |||
| ) | [virtual] |
Reimplemented from os::FSNode.
| status_t Directory::GetNextEntry | ( | String * | pcName | ) | [virtual] |
Implements os::DirIterator.
| status_t Directory::GetNextEntry | ( | FileReference * | pcRef | ) | [virtual] |
Implements os::DirIterator.
| status_t Directory::Rewind | ( | ) | [virtual] |
Implements os::DirIterator.
| status_t Directory::Delete | ( | ) | [virtual] |
| status_t Directory::CreateFile | ( | const String & | cName, | |
| os::File * | pcFile, | |||
| int | nAccessMode = S_IRWXU | |||
| ) |
| status_t Directory::CreateDirectory | ( | const String & | cName, | |
| os::Directory * | pcDir, | |||
| int | nAccessMode = S_IRWXU | |||
| ) |
| status_t Directory::CreateSymlink | ( | const String & | cName, | |
| const String & | cDestination, | |||
| os::SymLink * | pcLink | |||
| ) |
| Window * Directory::CreateDirectoryDialog | ( | const Messenger & | cMsgTarget, | |
| Message * | pcCreateMsg, | |||
| String | cDefaultName | |||
| ) |
| cMsgTarget | - The target that will receive the message. | |
| pcCreateMsg | - The message that will be sent. | |
| cDefaultName | - The default name of the new directory. |
| status_t Directory::GetPath | ( | String * | pcPath | ) | const |
| \return |
1.5.1