PLCnext API Documentation
21.0.0.35466
|
A generic service to retrieve file system infos. More...
#include <IFileSystemInfoService.hpp>
Public Types | |
typedef std::shared_ptr< IFileSystemInfoService > | Ptr |
typedef delegate< void(IRscReadEnumerator< RscString< 512 >> &)> | GetRootDirectoriesResultDelegate |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IFileSystemInfoService (void) | |
Constructs an IFileSystemInfoService instance. More... | |
virtual | ~IFileSystemInfoService (void) |
Destructs this instance and frees all resouces. More... | |
virtual Traits | GetSupportedTraits ()=0 |
Gets the supported traits. More... | |
virtual FileSystemError | GetPermissions (const RscString< 512 > &path, Permissions &permissions)=0 |
Gets the permissions of the specified path. More... | |
virtual FileSystemError | AddPermissions (const RscString< 512 > &path, Permissions permissions)=0 |
Adds the permissions to the specified path. More... | |
virtual FileSystemError | RemovePermissions (const RscString< 512 > &path, Permissions permissions)=0 |
Removes the permissions of the specified path. More... | |
virtual FileSystemError | GetFileSystemTraitsEntry (Traits traits, const RscString< 512 > &path, FileSystemTraitsEntry &fileSystemTraitsEntry)=0 |
Gets the file system traits entry of the specified path. More... | |
virtual FileSystemError | GetSpaceInfo (const RscString< 512 > &path, SpaceInfo &spaceInfo)=0 |
Gets the space information of the specified path. More... | |
virtual void | GetRootDirectories (GetRootDirectoriesResultDelegate resultDelegate)=0 |
Gets a list of all root directories supported by the target. More... | |
![]() | |
IRscService (void)=default | |
Constructs an IRscService instance. More... | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. More... | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
A generic service to retrieve file system infos.
The path separator is always '/'.
|
inline |
Constructs an IFileSystemInfoService instance.
|
inlinevirtual |
Destructs this instance and frees all resouces.
|
pure virtual |
Adds the permissions to the specified path.
path | The path to add the permissions from. |
permissions | The permissions to add. |
|
pure virtual |
Gets the file system traits entry of the specified path.
traits | The selection of traits to get. |
path | The path to get the file system traits entry from. |
fileSystemTraitsEntry | The file system traits entry of the specified path |
|
pure virtual |
Gets the permissions of the specified path.
path | The path to get the permissions from. |
permissions | The permissions of the specified path. |
|
pure virtual |
Gets a list of all root directories supported by the target.
|
pure virtual |
Gets the space information of the specified path.
path | The path to get the space information from. |
spaceInfo | The space information of the specified path. |
|
pure virtual |
Gets the supported traits.
|
pure virtual |
Removes the permissions of the specified path.
path | The path to remove the permissions from. |
permissions | The permissions to remove. |