UCommon
Public Member Functions | Static Public Member Functions
ost::Dir Class Reference

A low level portable directory class. More...

#include <file.h>

Inherits ost::File.

Public Member Functions

void close (void)
 
 Dir (const char *name=NULL)
 
const char * getName (void)
 
bool isValid (void) const
 
void open (const char *name)
 
const char * operator * ()
 
 operator bool () const
 
bool operator! () const
 
const char * operator++ ()
 
const char * operator++ (int)
 
bool rewind (void)
 

Static Public Member Functions

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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: