A general directory access class.
More...
#include <Files.h>
A general directory access class.
| trippingcyril::Dir::Dir |
( |
const String & |
dir, |
|
|
const String & |
wildcard = "" |
|
) |
| |
- Parameters
-
| dir | The directory this object is about |
| wildcard | The wildcard we should match on all the files, for example Dir moddir("./modules", "*.so"); would only put files ending with .so in this vector. If it isn't a directory the vector will simply be empty. |
| virtual trippingcyril::Dir::~Dir |
( |
| ) |
|
|
virtual |
| static String trippingcyril::Dir::GetCWD |
( |
| ) |
|
|
static |
- Returns
- The current working directory
| static bool trippingcyril::Dir::MakeDir |
( |
const String & |
path, |
|
|
mode_t |
mode = 0700 |
|
) |
| |
|
static |
- Returns
- true if path was successfully created
The documentation for this class was generated from the following file: