#include <FileSysDir.h>
Public Member Functions | |
FileSysDir (std::string path) | |
bool | exists (void) const |
Check to see if the directory exists and is a directory. | |
void | mkdir (void) |
std::string | getPath () |
This class simply checks existence of, and creates, a directory. It could be added to later to list contents, etc.
Definition at line 36 of file FileSysDir.h.
bool qpid::sys::FileSysDir::exists | ( | void | ) | const |
Check to see if the directory exists and is a directory.
Throws an exception if there is an error checking existence or if the path exists but is not a directory.
true | if the path exists and is a directory. | |
false | if the path does not exist. |