ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Cloud::Id::IdStorage Class Reference

#include <idstorage.h>

Inheritance diagram for Cloud::Id::IdStorage:
Collaboration diagram for Cloud::Id::IdStorage:

List of all members.

Public Member Functions

virtual ~IdStorage ()
virtual Networking::RequestresolveFileId (Common::String path, UploadCallback callback, Networking::ErrorCallback errorCallback)
 Public Cloud API comes down there.
virtual Networking::RequestlistDirectory (Common::String path, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback, bool recursive=false)
 Returns ListDirectoryStatus struct with list of files.
virtual Networking::RequestlistDirectoryById (Common::String id, ListDirectoryCallback callback, Networking::ErrorCallback errorCallback)=0
virtual Networking::RequestcreateDirectory (Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback)
 Calls the callback when finished.
virtual Networking::RequestcreateDirectoryWithParentId (Common::String parentId, Common::String name, BoolCallback callback, Networking::ErrorCallback errorCallback)=0
virtual Networking::RequeststreamFile (Common::String path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback)
 Returns pointer to Networking::NetworkReadStream.
virtual Networking::RequeststreamFileById (Common::String id, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback)=0
virtual Networking::Requestdownload (Common::String remotePath, Common::String localPath, BoolCallback callback, Networking::ErrorCallback errorCallback)
 Calls the callback when finished.
virtual Common::String getRootDirectoryId ()=0

Protected Member Functions

void printFiles (FileArrayResponse response)
void printBool (BoolResponse response)
void printFile (UploadResponse response)
ListDirectoryCallback getPrintFilesCallback ()

Detailed Description

Definition at line 46 of file idstorage.h.


Constructor & Destructor Documentation

Cloud::Id::IdStorage::~IdStorage (  )  [virtual]

Definition at line 36 of file idstorage.cpp.


Member Function Documentation

Networking::Request * Cloud::Id::IdStorage::createDirectory ( Common::String  path,
BoolCallback  callback,
Networking::ErrorCallback  errorCallback 
) [virtual]

Calls the callback when finished.

Implements Cloud::Storage.

Definition at line 81 of file idstorage.cpp.

virtual Networking::Request* Cloud::Id::IdStorage::createDirectoryWithParentId ( Common::String  parentId,
Common::String  name,
BoolCallback  callback,
Networking::ErrorCallback  errorCallback 
) [pure virtual]
Networking::Request * Cloud::Id::IdStorage::download ( Common::String  remotePath,
Common::String  localPath,
BoolCallback  callback,
Networking::ErrorCallback  errorCallback 
) [virtual]

Calls the callback when finished.

Reimplemented from Cloud::Storage.

Definition at line 105 of file idstorage.cpp.

Storage::ListDirectoryCallback Cloud::Id::IdStorage::getPrintFilesCallback (  )  [protected]

Definition at line 61 of file idstorage.cpp.

virtual Common::String Cloud::Id::IdStorage::getRootDirectoryId (  )  [pure virtual]
Networking::Request * Cloud::Id::IdStorage::listDirectory ( Common::String  path,
ListDirectoryCallback  callback,
Networking::ErrorCallback  errorCallback,
bool  recursive = false 
) [virtual]

Returns ListDirectoryStatus struct with list of files.

Implements Cloud::Storage.

Definition at line 73 of file idstorage.cpp.

virtual Networking::Request* Cloud::Id::IdStorage::listDirectoryById ( Common::String  id,
ListDirectoryCallback  callback,
Networking::ErrorCallback  errorCallback 
) [pure virtual]
void Cloud::Id::IdStorage::printBool ( BoolResponse  response  )  [protected]

Definition at line 49 of file idstorage.cpp.

void Cloud::Id::IdStorage::printFile ( UploadResponse  response  )  [protected]

Definition at line 53 of file idstorage.cpp.

void Cloud::Id::IdStorage::printFiles ( FileArrayResponse  response  )  [protected]

Definition at line 38 of file idstorage.cpp.

Networking::Request * Cloud::Id::IdStorage::resolveFileId ( Common::String  path,
UploadCallback  callback,
Networking::ErrorCallback  errorCallback 
) [virtual]

Public Cloud API comes down there.

Returns StorageFile with the resolved file's id.

Definition at line 65 of file idstorage.cpp.

Networking::Request * Cloud::Id::IdStorage::streamFile ( Common::String  path,
Networking::NetworkReadStreamCallback  callback,
Networking::ErrorCallback  errorCallback 
) [virtual]

Returns pointer to Networking::NetworkReadStream.

Reimplemented from Cloud::Storage.

Definition at line 101 of file idstorage.cpp.

virtual Networking::Request* Cloud::Id::IdStorage::streamFileById ( Common::String  id,
Networking::NetworkReadStreamCallback  callback,
Networking::ErrorCallback  errorCallback 
) [pure virtual]

The documentation for this class was generated from the following files:


Generated on Sat Jul 20 2019 05:02:37 for ResidualVM by doxygen 1.7.1
curved edge   curved edge