Public Member Functions

smart_dir Class Reference
[Utility Library]

smart directory handle. More...

#include <file.h>

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

smart_dir::smart_dir ( void   )  throw () [inline]

Definition at line 245 of file file.h.


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