Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Visit directory entries according to flags and matching with wild card pattern, with similar matching conditions as FXDir::listFiles(). More...
#include <FXDirVisitor.h>
Public Member Functions | |
FXGlobVisitor () | |
Construct directory visitor. | |
FXuint | traverse (const FXString &path, const FXString &wild="*", FXuint opts=FXDir::MatchAll, FXint depth=1000) |
Start traversal at given path. | |
virtual FXuint | enter (const FXString &path) |
Enter directory; returns 1 if path matches criteria. | |
virtual FXuint | visit (const FXString &path) |
Visit file; returns 1 if path matches criteria. | |
virtual FXuint | leave (const FXString &path) |
Leave directory; always returns 1. | |
virtual | ~FXGlobVisitor () |
Destructor. | |
Public Member Functions inherited from FX::FXDirVisitor | |
FXDirVisitor () | |
Initialize directory visitor. | |
FXuint | traverse (const FXString &path, FXint limit=1000) |
Start traversal at given path. | |
FXbool | visiting () const |
Return true if we're actively visiting directories. | |
const FXStat & | info () const |
Return stats on current file or directory. | |
virtual | ~FXDirVisitor () |
Destructor. | |
Visit directory entries according to flags and matching with wild card pattern, with similar matching conditions as FXDir::listFiles().
Copyright © 1997-2022 Jeroen van der Zijp |