Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXGlobVisitor Class Reference

Visit directory entries according to flags and matching with wild card pattern, with similar matching conditions as FXDir::listFiles(). More...

#include <FXDirVisitor.h>

Inheritance diagram for FX::FXGlobVisitor:
FX::FXDirVisitor FX::FXGlobCountVisitor

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 FXStatinfo () const
 Return stats on current file or directory.
 
virtual ~FXDirVisitor ()
 Destructor.
 

Detailed Description

Visit directory entries according to flags and matching with wild card pattern, with similar matching conditions as FXDir::listFiles().


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

Copyright © 1997-2022 Jeroen van der Zijp