![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/Directory.h>
Classes | |
class | Iter |
Public Member Functions | |
LockPtr< Directory > | toDirectory (void) override |
![]() | |
virtual LockPtr< File > | toFile () |
String | name () |
Path & | path () |
bool | isReadable () |
bool | isWritable () |
bool | isDeletable () |
![]() | |
Lock (int usage=0) | |
void | lock (void) |
void | unlock (void) |
int | usage (void) const |
Static Public Member Functions | |
static LockPtr< Directory > | make (Path path) |
![]() | |
static LockPtr< FileItem > | get (Path path) |
Additional Inherited Members | |
![]() | |
FileItem (Path path, ino_t inode) | |
virtual | ~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 Path::asSysString(), FileItem::get(), and FileItem::path().
Convert the file item to directory if it is consistent.
Reimplemented from FileItem.