smart directory handle. More...
#include <file.h>
Public Member Functions | |
smart_dir (void) throw () | |
~smart_dir (void) throw () | |
void | clear (void) throw () |
operator bool (void) const throw () | |
void | open (IN const char *path) |
void | close (void) throw () |
bool | getNextEntry (OUT struct dirent &entry) |
smart directory handle.
You probably don't want to use this! Use the nstream interfaces instead. This is for low-level filesystem access.
Why no constructor that takes a path? Because opening a directory can fail! Always use the open() method, and always check the result.
Definition at line 242 of file file.h.