#include <File.h>
Public Member Functions | |
| Directory () | |
| ctor. defaults to the current directory  | |
| Directory (const Filename &initialPath) | |
| ctor. specify "~" to start in the users home directory  | |
| bool | CreateDirectory () | 
| Create a directory if it does not already exist. Returns true if the directory existed or was created.  | |
| std::vector< std::string > | GetFiles () const | 
| Retrieves a list of files in this directory.  | |
| std::vector< std::string > | GetSubDirectories () const | 
| Retrieves a list of subdirectories in this directory.  | |
| void | StepOut () | 
| Changes the directory to one tier above the current directory.  | |
| void | StepInto (const std::string &subdir) | 
| Steps into a subdirectory of the current directory. It does not have to exist.  | |
| operator const std::string & () const | |
| Retrieves a string that represents the current path.  | |
| Filename | File (const std::string &fname) const | 
| Retrieves a Filename for a file within the current path.  | |
 1.5.4