File system interface.
Public Member Functions | |
| virtual tFileSystemRightsFlags | GetRightsFlags () const =0 |
| Get the file system's rights. {Property}. More... | |
| virtual const achar * | GetBaseContainer () const =0 |
| Get the file system's base container. More... | |
| virtual tBool | FileMakeDir (const achar *aszDir)=0 |
| Create a directory. More... | |
| virtual tBool | FileDeleteDir (const achar *aszDir)=0 |
| Delete a directory. More... | |
| virtual tBool | FileCopy (const achar *aszDest, const achar *aszSrc)=0 |
| Copy a file. More... | |
| virtual tBool | FileMove (const achar *aszDest, const achar *aszSrc)=0 |
| Move a file. More... | |
| virtual tBool | FileDelete (const achar *aszFile)=0 |
| Delete a file. More... | |
| virtual tU32 | FileEnum (const achar *aszFile, tU32 aAttribs, iFileEnumSink *pSink)=0 |
| Enumerate files in the specified directory. More... | |
| virtual tU32 | FileExists (const achar *aszFile, tU32 aAttribs)=0 |
| Checks if a file exists. More... | |
| virtual tI64 | FileSize (const achar *aszFile)=0 |
| Get the size of a file. More... | |
| virtual iFile * | FileOpen (const achar *aszFile, eFileOpenMode aMode)=0 |
| Open a file for a read and/or write operation. More... | |
| virtual iFileBase * | FileBaseOpen (const achar *aszFile, eFileOpenMode aMode)=0 |
| Open a file for a read and/or write operation. More... | |
| virtual cString | GetAbsolutePath (const achar *aaszFile) const =0 |
| Get the absolute path of the given file or directory. More... | |
| virtual iFileSystemEnumerator * | CreateEnumerator ()=0 |
| Create a file system enumerator. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the file system's rights. {Property}.
|
pure virtual |
Get the file system's base container.
|
pure virtual |
Enumerate files in the specified directory.
| aszFile | is the path with filter of what to enumerate. |
| aAttribs | is a filter that defines the attributes that will be enumerated. |
| pSink | is the callback interface that will be called when a file is found. |
Checks if a file exists.
| aszFile | is the path to check. |
| aAttribs | is a filter that defines the attributes that will be enumerated. |
|
pure virtual |
Open a file for a read and/or write operation.
|
pure virtual |
Open a file for a read and/or write operation.
Get the absolute path of the given file or directory.
|
pure virtual |
Create a file system enumerator.
1.8.7