qpid::sys::FileSysDir Class Reference

Represents a filesystem directory accessible from the local host. More...

#include <FileSysDir.h>

List of all members.

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 ()


Detailed Description

Represents a filesystem directory accessible from the local host.

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.


Member Function Documentation

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.

Return values:
true if the path exists and is a directory.
false if the path does not exist.


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

Generated on Thu Oct 16 13:38:39 2008 for Qpid by  doxygen 1.5.6