CFugue
Public Member Functions | List of all members
CFileEnumerator Class Reference

Public Member Functions

 CFileEnumerator (PFN_EnumeratorCallback pfnEnumCallback=CFileEnumerator::EnumCallback, LPCTSTR lpszSearchDir=_T("."), LPCTSTR lpszFileToSearch=_T("*.*"), bool bRecurseSubDirectories=true, bool bReportMatchingDirsAlso=true, bool bIgnoreDots=true)
 
PFN_EnumeratorCallback & FileEnumeratorCallback ()
 
bool & IgnoreDots ()
 
bool & RecurseSubDirectories ()
 
CString & FileToSearch ()
 
LPCTSTR FileToSearch () const
 
CString & SearchDir ()
 
LPCTSTR SearchDir () const
 
bool & ReportMatchingDirsAlso ()
 
HANDLE FindFirstSubDir (LPCTSTR lpszDir, LPWIN32_FIND_DATA pFindData) const
 
BOOL FindNextSubDir (HANDLE hFind, LPWIN32_FIND_DATA pFindData) const
 
bool ListAllDirectories (LPVOID lpUserData=NULL) const
 
bool EnumerateFiles (LPVOID lpUserData=NULL) const
 

Detailed Description

Definition at line 11 of file FileEnumerator.h.

Member Function Documentation

BOOL CFileEnumerator::FindNextSubDir ( HANDLE  hFind,
LPWIN32_FIND_DATA  pFindData 
) const

_tcscmp(pFindData->cFileName, _T(".")) || !_tcscmp(pFindData->cFileName, _T("..")))

Definition at line 93 of file FileEnumerator.h.


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

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem