|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Abstract base class for file management. More...
#include <f32file.h>
Public Member Functions | |
| IMPORT_C void | SetObserver (MFileManObserver *anObserver) |
| Sets the observer. | |
| IMPORT_C const TEntry & | CurrentEntry () |
| Gets the entry currently being processed. | |
| IMPORT_C TPtrC | AbbreviatedPath () |
| Gets the abbreviated path of the file or directory currently being processed. | |
| IMPORT_C TPtrC | FullPath () |
| Gets the full path of the file or directory currently being processed. | |
| IMPORT_C TInt | GetLastError () |
| Gets the latest error code returned during a CFileMan operation. | |
| IMPORT_C TFileManError | GetMoreInfoAboutError () |
| Gets additional information about the latest error returned during a CFileMan operation. | |
Public Member Functions inherited from CBase | |
| CBase () | |
| Default constructor. | |
| virtual IMPORT_C | ~CBase () |
| Virtual destructor. | |
| TAny * | operator new (TUint aSize, TAny *aBase) __NO_THROW |
| Initialises the object to binary zeroes. | |
| TAny * | operator new (TUint aSize) __NO_THROW |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TLeave) |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TUint aExtraSize) __NO_THROW |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TLeave, TUint aExtraSize) |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
Protected Member Functions | |
| IMPORT_C | CFileBase (RFs &anFs) |
| Protected default constructor. | |
| IMPORT_C void | ConstructL () |
| Second phase constructor. | |
| IMPORT_C | ~CFileBase () |
| Destructor. | |
| IMPORT_C void | RunL () |
| Executes a command. | |
| IMPORT_C void | RunInSeparateThreadL (TThreadFunction aThreadFunction) |
| Creates a separate thread to run the command. | |
| virtual void | CompleteOperationL () |
| Called from RunL to perform tidy up after an operation. | |
| virtual void | DoOperationL ()=0 |
| Called from RunL to perform the requested operation. | |
Protected Member Functions inherited from CBase | |
| virtual IMPORT_C TInt | Extension_ (TUint aExtensionId, TAny *&a0, TAny *a1) |
| Extension function. | |
Protected Attributes | |
| RFs | iFs |
| RFs | iFsOld |
| RThread | iFManThread |
| RSemaphore | iSynchronizer |
| CDirScan * | iScanner |
| CDir * | iDirList |
| TInt | iCurrentEntry |
| TUint | iMatchEntry |
| TUint | iSwitches |
| TParse | iSrcFile |
| MFileManObserver * | iObserver |
| TInt | iLastError |
| TFileManError | iErrorInfo |
| TRequestStatus * | iStatus |
| HBufC * | iSessionPath |
| TInt | iNumberOfFilesProcessed |
Friends | |
| void | DoFManBaseOperationL (TAny *aPtr) |
| TInt | FManBaseThreadFunction (TAny *aPtr) |
Additional Inherited Members | |
Static Public Member Functions inherited from CBase | |
| static IMPORT_C void | Delete (CBase *aPtr) |
| Deletes the specified object. | |
Abstract base class for file management.
It provides functions to set an observer for the derived class CFileMan, and to get information about the entry being processed.
|
protected |
Protected default constructor.
Note that the class is intended only as an abstract base for other classes.
| anFs | File server session. |
(generated from Symbian Developer Library)
|
protected |
Destructor.
Frees resources prior to destruction of the object.
(generated from Symbian Developer Library)
| IMPORT_C TPtrC CFileBase::AbbreviatedPath | ( | ) |
Gets the abbreviated path of the file or directory currently being processed.
The abbreviated path is its path relative to the top level directory specified in the operation.
(generated from Symbian Developer Library)
|
inlineprotectedvirtual |
Called from RunL to perform tidy up after an operation.
|
protected |
Second phase constructor.
(generated from Symbian Developer Library)
| IMPORT_C const TEntry & CFileBase::CurrentEntry | ( | ) |
Gets the entry currently being processed.
(generated from Symbian Developer Library)
|
protectedpure virtual |
Called from RunL to perform the requested operation.
| IMPORT_C TPtrC CFileBase::FullPath | ( | ) |
Gets the full path of the file or directory currently being processed.
The full path includes the drive letter, path and filename.
(generated from Symbian Developer Library)
| IMPORT_C TInt CFileBase::GetLastError | ( | ) |
Gets the latest error code returned during a CFileMan operation.
This function may be called from MFileManObserver::NotifyFileManEnded().
(generated from Symbian Developer Library)
| IMPORT_C TFileManError CFileBase::GetMoreInfoAboutError | ( | ) |
Gets additional information about the latest error returned during a CFileMan operation.
For example, if a rename fails, this function can be used to report whether the source or target name caused the problem. This information supplements that provided GetLastError().
CFileMan CFileBase::GetLastError()
(generated from Symbian Developer Library)
|
protected |
Creates a separate thread to run the command.
| aThreadFunction | The thread function. |
(generated from Symbian Developer Library)
|
protected |
Executes a command.
(generated from Symbian Developer Library)
| IMPORT_C void CFileBase::SetObserver | ( | MFileManObserver * | anObserver | ) |
Sets the observer.
Use this function to provide CFileMan with an MFileManObserver, or, if one already exists, to change the observer.
CFileMan MFileManObserver
| anObserver | File management observer. |
(generated from Symbian Developer Library)
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |