A low level portable directory class.
More...
#include <file.h>
Inherits ost::File.
|
void | close (void) |
|
| Dir (const char *name=NULL) |
|
const char * | getName (void) |
|
bool | isValid (void) const |
|
void | open (const char *name) |
|
| operator bool () const |
|
bool | operator! () const |
|
const char * | operator* () |
|
const char * | operator++ () |
|
const char * | operator++ (int) |
|
bool | rewind (void) |
|
|
static bool | create (const char *path, Attr attr=attrGroup) |
|
static bool | getPrefix (char *path, size_t size=4096) |
|
static bool | remove (const char *path) |
|
static bool | setPrefix (const char *path) |
|
A low level portable directory class.
Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
low level directory access class.
Definition at line 241 of file file.h.
◆ operator bool()
ost::Dir::operator bool |
( |
| ) |
const |
|
inline |
◆ operator!()
bool ost::Dir::operator! |
( |
| ) |
const |
|
inline |
◆ operator++() [1/2]
const char * ost::Dir::operator++ |
( |
| ) |
|
|
inline |
◆ operator++() [2/2]
const char * ost::Dir::operator++ |
( |
int | | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ucommon-7.0.0-build/ucommon-7.0.0/inc/commoncpp/file.h