Cloud::CloudReader Class Reference
#include <AppCloud.h>
Classes | |
struct | FileEntry |
Public Member Functions | |
void | addFile (struct Cloud::CloudReader::FileEntry *new_entry) |
void | checkElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *element) |
void | checkText (XERCES_CPP_NAMESPACE_QUALIFIER DOMText *text) |
void | checkXML (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node) |
CloudReader (const char *URL, const char *AccessKey, const char *SecretKey, const char *TCPPort, const char *Bucket) | |
void | DownloadFile (Cloud::CloudReader::FileEntry *entry) |
struct FileEntry * | GetEntry (std::string FileName) |
int | isTouched (std::string FileName) |
virtual | ~CloudReader () |
Public Attributes | |
int | continuation =0 |
int | file =0 |
int | truncated =0 |
Protected Attributes | |
const char * | Bucket |
std::list< Cloud::CloudReader::FileEntry * > | FileList |
char * | NextFileName |
const char * | TCPPort |
const char * | TokenAuth |
const char * | TokenSecret |
const char * | URL |
Constructor & Destructor Documentation
◆ CloudReader()
Cloud::CloudReader::CloudReader | ( | const char * | URL, |
const char * | AccessKey, | ||
const char * | SecretKey, | ||
const char * | TCPPort, | ||
const char * | Bucket | ||
) |
◆ ~CloudReader()
|
virtual |
Member Function Documentation
◆ addFile()
void Cloud::CloudReader::addFile | ( | struct Cloud::CloudReader::FileEntry * | new_entry | ) |
References FileList.
◆ checkElement()
void Cloud::CloudReader::checkElement | ( | XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | element | ) |
Referenced by checkXML().
◆ checkText()
void Cloud::CloudReader::checkText | ( | XERCES_CPP_NAMESPACE_QUALIFIER DOMText * | text | ) |
References continuation, file, FileList, Cloud::CloudReader::FileEntry::FileName, NextFileName, and truncated.
Referenced by checkXML().
◆ checkXML()
void Cloud::CloudReader::checkXML | ( | XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * | node | ) |
References checkElement(), and checkText().
◆ DownloadFile()
void Cloud::CloudReader::DownloadFile | ( | Cloud::CloudReader::FileEntry * | entry | ) |
◆ GetEntry()
struct Cloud::CloudReader::FileEntry * Cloud::CloudReader::GetEntry | ( | std::string | FileName | ) |
References DownloadFile(), FileList, Cloud::CloudReader::FileEntry::FileName, and Cloud::CloudReader::FileEntry::touch.
Referenced by Cloud::Module::cloudRestore().
◆ isTouched()
int Cloud::CloudReader::isTouched | ( | std::string | FileName | ) |
References FileList, and Cloud::CloudReader::FileEntry::FileName.
Member Data Documentation
◆ Bucket
|
protected |
◆ continuation
int Cloud::CloudReader::continuation =0 |
Referenced by checkText().
◆ file
int Cloud::CloudReader::file =0 |
Referenced by checkText(), and Cloud::CloudWriter::putNextEntry().
◆ FileList
|
protected |
Referenced by addFile(), checkText(), GetEntry(), and isTouched().
◆ NextFileName
|
protected |
Referenced by checkText(), and CloudReader().
◆ TCPPort
|
protected |
◆ TokenAuth
|
protected |
◆ TokenSecret
|
protected |
◆ truncated
int Cloud::CloudReader::truncated =0 |
Referenced by checkText().
◆ URL
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/Cloud/App/AppCloud.h
- src/Mod/Cloud/App/AppCloud.cpp