|
|
|
Location:
bafindf.h
CFindFileByType
Supported from 5.0
Searches for files based on name or wild characters and the files type.
|
Defined in CFindFileByType:
CFindFileByType(), CloseDir(), Entry(), File(), FindFirst(), FindNext(), iCurrentFile, iDir, iFile, iFind, iType
Inherited from CBase:
operator new()
CFindFileByType(RFs& aFs);
Constructs the object with a file server session.
|
TInt FindFirst(const TDesC& aName, const TDesC& aDir, const TUidType& aType);
Searches for one or more files in the directories contained in a path list.
Wildcard characters can be specified. The search ends when one or more file names matching aName and aType is found, or when every directory in the path list has been unsuccessfully searched.
|
|
TInt FindNext();
Searches for the next file in the list of matching files found by FindFirst().
|
const TEntry& Entry() const;
Gets the pointer to the TEntry object for the current file.
This function returns the pointer to the TEntry object for the current file in the list of found files. Use this object to retrieve information about the file such as, its size, the last time it was modified and so on.
To retrieve path component information for the current file, first use File() and then the functions of TParse and TParseBase.
|
const TParse& File() const;
Gets the pointer to the TParse object for the current file.
This function returns the pointer to the TParse object for the current file in the list of found files. Use the getter functions of TParse and its base class TParseBase to retrieve the path and file name components of the object.
More information on retrieving path and file name components can be found in Using TParse.
To retrieve attribute information about the current file, first use Entry() and then the functions of TEntry.
|
private: TFindFile iFind;
This member is internal and not intended for use.