#include <TraverseDirectory.hxx>
List of all members.
Protected Member Functions |
virtual void | OnFile (const std::string &filename) |
virtual void | OnDirectory (const std::string &dirname) |
void | SkipSubdirectories (void) |
| Called from OnDirectory, to indicate that the current directory should not be recursed any further (but do traverse the files inside that directory)
|
void | SkipDirectory (void) |
| Called from OnDirectory, to indicate that the current directory should not be recursed any further, including the files inside that directory)
|
std::string | GetExtension (const std::string &filename) |
| Helper method for client classes.
|
Detailed Description
Definition at line 29 of file TraverseDirectory.hxx.
Constructor & Destructor Documentation
TraverseDirectory::TraverseDirectory |
( |
void |
| ) |
|
virtual TraverseDirectory::~TraverseDirectory |
( |
void |
| ) |
|
|
inlinevirtual |
Member Function Documentation
std::string TraverseDirectory::GetExtension |
( |
const std::string & |
filename | ) |
|
|
protected |
virtual void TraverseDirectory::OnDirectory |
( |
const std::string & |
dirname | ) |
|
|
inlineprotectedvirtual |
virtual void TraverseDirectory::OnFile |
( |
const std::string & |
filename | ) |
|
|
inlineprotectedvirtual |
void TraverseDirectory::SkipDirectory |
( |
void |
| ) |
|
|
protected |
Called from OnDirectory, to indicate that the current directory should not be recursed any further, including the files inside that directory)
void TraverseDirectory::SkipSubdirectories |
( |
void |
| ) |
|
|
protected |
Called from OnDirectory, to indicate that the current directory should not be recursed any further (but do traverse the files inside that directory)
void TraverseDirectory::Traverse |
( |
const std::string & |
rootname = "" , |
|
|
int |
maxdepth = -1 |
|
) |
| |
The documentation for this class was generated from the following files: