Utility class implementing the IFileInterface class.
More...
#include <murl_util_tools_file_interface.h>
Utility class implementing the IFileInterface class.
The tools file interface class is intend for tools development and supports the file category IEnums::FILE_CATEGORY_CURRENT and IEnums::FILE_CATEGORY_ROOT only.
|
| ToolsFileInterface () |
| The default constructor.
|
|
virtual | ~ToolsFileInterface () |
| The destructor.
|
|
virtual Bool | FileExists (const String &name, IEnums::FileCategory category) |
| Implementation of IFileInterface::FileExists(). More...
|
|
virtual Bool | FolderExists (const String &name, IEnums::FileCategory category) |
| Implementation of IFileInterface::FolderExists(). More...
|
|
| FileInterface () |
| The constructor.
|
|
virtual | ~FileInterface () |
| The destructor.
|
|
virtual Bool | GetAbsoluteName (const String &relativeName, IEnums::FileCategory category, String &absoluteName) |
| Implementation of IFileInterface::GetAbsoluteName(). More...
|
|
virtual Bool | GetAllFileNames (const String &relativePath, IEnums::FileCategory category, StringArray &names) |
| Implementation of IFileInterface::GetAllFileNames(). More...
|
|
virtual Bool | GetAllFolderNames (const String &relativePath, IEnums::FileCategory category, StringArray &names) |
| Implementation of IFileInterface::GetAllFolderNames(). More...
|
|
virtual IFile * | OpenFile (const String &name, IEnums::FileCategory category, IEnums::FileAccessMode mode, Bool createFolders) |
| Implementation of IFileInterface::OpenFile(). More...
|
|
virtual Bool | CloseFile (IFile *&handle) |
| Implementation of IFileInterface::CloseFile(). More...
|
|
virtual Bool | MapFileData (const String &name, IEnums::FileCategory category, ConstData &data) |
| Implementation of IFileInterface::MapFileData(). More...
|
|
virtual Bool | UnmapFileData (ConstData &data) |
| Implementation of IFileInterface::UnmapFileData(). More...
|
|
◆ FileExists()
◆ FolderExists()
◆ MapFile()
Implementation of FileInterface::MapFile().
- Parameters
-
name | The name of the file. |
category | The category where the file reside. |
data | The file data pointer return value. |
byteSize | The byte size return value. |
- Returns
- true if successful, if false the return values stay unchanged.
Implements Murl::Util::FileInterface.
◆ UnmapFile()
virtual Bool Murl::Util::ToolsFileInterface::UnmapFile |
( |
const UInt8 * |
data | ) |
|
|
protectedvirtual |
◆ CreateFolder()
virtual Bool Murl::Util::ToolsFileInterface::CreateFolder |
( |
const String & |
absolutePath | ) |
|
|
protectedvirtual |
◆ GetAbsolutePath()
◆ mMappedFiles
Index<const UInt8*> Murl::Util::ToolsFileInterface::mMappedFiles |
|
protected |
The mapped files memory pointer storage.
The documentation for this class was generated from the following file:
- murl_util_tools_file_interface.h