#include "Storage.hpp"
Inheritance diagram for ansys::Project::Storage:

Public Types
Public Member Functions
Static Public Member Functions
Detailed Description
Base class for file storage management module. The Project framework only access files on disk through the Storage interface, StorageFilesystem is used to access local files ( URL with no type, or of type file:// ). Additional storage frameworks can be defined, and bound to URL types. See registerInterface()Member Enumeration Documentation
EraseOptions
Constructor & Destructor Documentation
Storage()
~Storage()
virtual
Destructor.
Member Function Documentation
compressFiles()
pure virtual
Compress a list of files into a new zipped archive.
Implemented in ansys::Project::StorageFilesystem.
copyFile()
pure virtual
Copy file from source to location, can be two different URL types.
Implemented in ansys::Project::StorageFilesystem.
createFolder()
pure virtual
Create a folder in the specified URL, using the specified name.
Implemented in ansys::Project::StorageFilesystem.
eraseFile()
pure virtual
Erase the file at the specified location.
Implemented in ansys::Project::StorageFilesystem.
eraseFolder()
pure virtual
Erase the folder and content at the specified location.
Parameters
Implemented in ansys::Project::StorageFilesystem.
extractFile()
pure virtual
Extract a zipped archive to the specified location.
Implemented in ansys::Project::StorageFilesystem.
getFileChecksum()
pure virtual
Compute a checksum for the specified file.
Implemented in ansys::Project::StorageFilesystem.
getFileCompressionSuffix()
pure virtual
Returns the required file suffix for compressFile API.
Implemented in ansys::Project::StorageFilesystem.
getFileTimestamp()
pure virtual
Compute a timestamp for the specified file.
Implemented in ansys::Project::StorageFilesystem.
getInterface()
static
Retrieve the Storage object to use with a specific URL type.
isFile()
pure virtual
Indicates if a file exists at the specified URL.
Implemented in ansys::Project::StorageFilesystem.
isFolder()
pure virtual
Indicates if a folder exists at the specified URL.
Implemented in ansys::Project::StorageFilesystem.
matchFiles()
pure virtual
File query by wildcard pattern in the specified URL.
Implemented in ansys::Project::StorageFilesystem.
moveFile()
pure virtual
Rename the file or folder.
Implemented in ansys::Project::StorageFilesystem.
registerInterface()
static
Register a Storage object to work with a specific URL type.
This function takes ownership of the provided Storage pointer. The registered Storage object will be automatically deleted when it is replaced, unregistered, or when the program terminates. The caller must not delete the pointer after passing it to this function.
Parameters