Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/Directory.h>
Classes | |
class | Iterator |
Public Member Functions | |
virtual Directory * | toDirectory (void) |
Public Member Functions inherited from elm::sys::FileItem | |
void | use (void) |
void | release (void) |
virtual File * | toFile (void) |
String | name (void) |
Path & | path (void) |
bool | isReadable (void) |
bool | isWritable (void) |
bool | isDeletable (void) |
Static Public Member Functions | |
static Directory * | make (Path path) |
Static Public Member Functions inherited from elm::sys::FileItem | |
static FileItem * | get (Path path) throw (SystemException) |
Additional Inherited Members | |
Protected Member Functions inherited from elm::sys::FileItem | |
FileItem (Path path, ino_t inode) | |
virtual | ~FileItem (void) |
Protected Attributes inherited from elm::sys::FileItem | |
Directory * | parent |
Path | _path |
ino_t | ino |
This class represents a directory file item.
Build a new directory at the given path.
path | Path of the directory. |
References elm::sys::FileItem::get(), elm::sys::FileItem::toDirectory(), and elm::sys::Path::toString().
|
virtual |
Convert the file item to directory if it is consistent.
Reimplemented from elm::sys::FileItem.