Provides common file directory operations for several directories in a single call.
More...
|
|
| IDirectoryService2 (void)=default |
| | Constructs an IDirectoryService2 instance.
|
| |
| virtual void | ExistsMany (ExistsManyPathsDelegate pathsDelegate, ExistsManyResultDelegate resultDelegate)=0 |
| | Checks if the specified directories exist. More...
|
| |
| virtual void | CreateMany (CreateManyPathsDelegate pathsDelegate, CreateManyResultDelegate resultDelegate)=0 |
| | Creates the specified directories. More...
|
| |
| virtual void | DeleteMany (DeleteManyPathsDelegate pathsDelegate, DeleteManyResultDelegate resultDelegate)=0 |
| | Deletes the specified directories. More...
|
| |
| virtual void | ClearMany (ClearManyPathsDelegate pathsDelegate, ClearManyResultDelegate resultDelegate)=0 |
| | Clears the specified directories. More...
|
| |
|
| IDirectoryService (void)=default |
| | Constructs an IDirectoryService instance.
|
| |
| virtual boolean | Exists (const RscString< 512 > &path)=0 |
| | Checks if the specified directory exists. More...
|
| |
| virtual FileSystemError | Create (const RscString< 512 > &path)=0 |
| | Creates the specified directory. More...
|
| |
| virtual FileSystemError | Delete (const RscString< 512 > &path)=0 |
| | Deletes the specified directory and its content. More...
|
| |
| virtual FileSystemError | Clear (const RscString< 512 > &path)=0 |
| | Removes the content of the specified directory, but does not delete the specified directory itself. More...
|
| |
| virtual FileSystemError | Move (const RscString< 512 > &sourcePath, const RscString< 512 > &destinationPath, boolean clear=false)=0 |
| | Moves the specified directory and its content to the given new location. More...
|
| |
| virtual FileSystemError | Copy (const RscString< 512 > &sourcePath, const RscString< 512 > &destinationPath, boolean clear=false)=0 |
| | Copies the specified directory and its content to the given new location. More...
|
| |
| virtual void | EnumerateFileSystemEntries (const RscString< 512 > &path, const RscString< 512 > &searchPattern, boolean recursive, EnumerateFileSystemEntriesResultDelegate resultDelegate)=0 |
| | Enumerates all files and subdirectories of the specified directory. More...
|
| |
| virtual void | EnumerateFileSystemTraitsEntries (const RscString< 512 > &path, const RscString< 512 > &searchPattern, Traits traits, boolean recursive, EnumerateFileSystemTraitsEntriesResultDelegate resultDelegate)=0 |
| | Enumerates all files and subdirectories of the specified directory. More...
|
| |
|
| IRscService (void)=default |
| | The default constructor.
|
| |
| | IRscService (const IRscService &arg)=delete |
| | The deleted copy constructor. More...
|
| |
| | IRscService (IRscService &&arg) noexcept=default |
| | The default move constructor. More...
|
| |
| IRscService & | operator= (const IRscService &arg)=delete |
| | The deleted assignment operator. More...
|
| |
| IRscService & | operator= (IRscService &&arg) noexcept=default |
| | The default move-assignment operator. More...
|
| |
|
virtual | ~IRscService (void)=default |
| | Destructs this instance and frees all resources.
|
| |
Provides common file directory operations for several directories in a single call.
The path separator is always '/'.
This service is defined in library Arp.System.Commons.Services.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
Consider the following common rule when using RSC services that provide arrays or enumerators as return values or out arguments: It is always required to completely read all items from these resulting lists or enumerators.