The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CRecursiveDirectorySearch Class Reference

Inheritance diagram for CRecursiveDirectorySearch:
Collaboration diagram for CRecursiveDirectorySearch:

List of all members.


Detailed Description

A simple class that wraps the FindFirstFile() /FindNextFile() API.


Public Member Functions

 CRecursiveDirectorySearch (const Core::_tstring &filename)
 Construct a directory search on the supplied filename.
 ~CRecursiveDirectorySearch ()
bool HasFile ()
 True if the search contains another file.
bool NextFile ()
 True if the search contains another file and moves to the next file.
ULONGLONG GetFileSize () const
 Access the file size.
Core::_tstring GetFileName () const
 Access the file name.
DWORD GetAttributes () const
 Access the file attributes.


Constructor & Destructor Documentation

CRecursiveDirectorySearch ( const Core::_tstring filename  )  [explicit]

Construct a directory search on the supplied filename.


Member Function Documentation

bool HasFile (  ) 

True if the search contains another file.

bool NextFile (  ) 

True if the search contains another file and moves to the next file.

ULONGLONG GetFileSize (  )  const

Access the file size.

_tstring GetFileName (  )  const

Access the file name.

DWORD GetAttributes (  )  const

Access the file attributes.


Generated on Sun Sep 12 19:11:42 2021 for The Server Framework - v7.4 by doxygen 1.5.3