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