nx_storage_sdk
1.0
Storage SDK
|
Public Member Functions | |
FtpStorage (const std::string &url) | |
int | getAvail () const |
virtual int STORAGE_METHOD_CALL | isAvailable () const override |
virtual IODevice *STORAGE_METHOD_CALL | open (const char *uri, int flags, int *ecode) const override |
virtual uint64_t STORAGE_METHOD_CALL | getFreeSpace (int *ecode) const override |
virtual uint64_t STORAGE_METHOD_CALL | getTotalSpace (int *ecode) const override |
virtual int STORAGE_METHOD_CALL | getCapabilities () const override |
virtual void STORAGE_METHOD_CALL | removeFile (const char *url, int *ecode) override |
virtual void STORAGE_METHOD_CALL | removeDir (const char *url, int *ecode) override |
virtual void STORAGE_METHOD_CALL | renameFile (const char *oldUrl, const char *newUrl, int *ecode) override |
virtual FileInfoIterator *STORAGE_METHOD_CALL | getFileIterator (const char *dirUrl, int *ecode) const override |
virtual int STORAGE_METHOD_CALL | fileExists (const char *url, int *ecode) const override |
virtual int STORAGE_METHOD_CALL | dirExists (const char *url, int *ecode) const override |
virtual uint64_t STORAGE_METHOD_CALL | fileSize (const char *url, int *ecode) const override |
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID) override |
Cast to type, specified by interfaceID. More... | |
virtual int | addRef () const override |
Increment reference counter. More... | |
virtual int | releaseRef () const override |
Decrement reference counter. More... | |
Friends | |
class | aux::PluginRefCounter< FtpStorage > |
|
overridevirtual |
Increment reference counter.
Implements nxpl::PluginInterface.
|
overridevirtual |
url | Directory URL. This should be NULL terminated utf8 encoded C string |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
url | File URL. This should be NULL terminated utf8 encoded C string |
ecode | Pointer error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
url | File URL. This should be NULL terminated utf8 encoded C string |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
Implements nx_spl::Storage.
|
overridevirtual |
dirUrl | Directory URL. This should be NULL terminated utf8 encoded C string. |
ecode | Pointer error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
Implements nx_spl::Storage.
|
overridevirtual |
url | File URL. If file doesn't exists, it is created. This should be NULL terminated utf8 encoded C string. |
flags | io flag(s) |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
Cast to type, specified by interfaceID.
If pointer cannot be cast, NULL MUST be returned
Implements nxpl::PluginInterface.
|
overridevirtual |
Decrement reference counter.
When zero, object MUST be removed
Implements nxpl::PluginInterface.
|
overridevirtual |
url | Dir targeted to delete URL. This should be NULL terminated utf8 encoded C string |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
url | File targeted to delete URL. This should be NULL terminated utf8 encoded C string |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.
|
overridevirtual |
oldUrl | File targeted to rename URL. This should be NULL terminated utf8 encoded C string. |
newUrl | File targeted to rename new URL. This should be NULL terminated C string. |
ecode | Pointer to error code. Pass NULL if you are not interested in error information. |
Implements nx_spl::Storage.