#include <BALL/FORMAT/pubchemDownloader.h>
Public Slots | |
void | downloadFinished (bool error) |
void | dataTransferProgress (qint64 done, qint64 total) |
Signals | |
void | downloadProgress (qint64 done, qint64 total) |
void | downloadFinished (const QString &filename) |
Public Member Functions | |
PubChemDownloader () | |
virtual | ~PubChemDownloader () |
bool | downloadSDF (const String &query, const String &filename, bool blocking=true) |
Protected Member Functions | |
QDomDocument | pollPubChem_ (const QString &request_id) |
void | buildSimpleTree_ (const String &names) |
void | addTextNode_ (const String &value) |
Protected Attributes | |
String | esearch_base_url_ |
String | pug_base_url_ |
SimpleDownloader | dl_ |
QDomDocument | request_ |
QDomElement | last_node_ |
QDomElement | current_node_ |
QFile | outfile_ |
QFtp | ftp_ |
Definition at line 16 of file pubchemDownloader.h.
BALL::PubChemDownloader::PubChemDownloader | ( | ) |
virtual BALL::PubChemDownloader::~PubChemDownloader | ( | ) | [inline, virtual] |
Definition at line 23 of file pubchemDownloader.h.
void BALL::PubChemDownloader::addTextNode_ | ( | const String & | value | ) | [protected] |
void BALL::PubChemDownloader::buildSimpleTree_ | ( | const String & | names | ) | [protected] |
void BALL::PubChemDownloader::dataTransferProgress | ( | qint64 | done, | |
qint64 | total | |||
) | [slot] |
void BALL::PubChemDownloader::downloadFinished | ( | const QString & | filename | ) | [signal] |
void BALL::PubChemDownloader::downloadFinished | ( | bool | error | ) | [slot] |
void BALL::PubChemDownloader::downloadProgress | ( | qint64 | done, | |
qint64 | total | |||
) | [signal] |
bool BALL::PubChemDownloader::downloadSDF | ( | const String & | query, | |
const String & | filename, | |||
bool | blocking = true | |||
) |
QDomDocument BALL::PubChemDownloader::pollPubChem_ | ( | const QString & | request_id | ) | [protected] |
QDomElement BALL::PubChemDownloader::current_node_ [protected] |
Definition at line 46 of file pubchemDownloader.h.
SimpleDownloader BALL::PubChemDownloader::dl_ [protected] |
Definition at line 43 of file pubchemDownloader.h.
String BALL::PubChemDownloader::esearch_base_url_ [protected] |
Definition at line 40 of file pubchemDownloader.h.
QFtp BALL::PubChemDownloader::ftp_ [protected] |
Definition at line 49 of file pubchemDownloader.h.
QDomElement BALL::PubChemDownloader::last_node_ [protected] |
Definition at line 45 of file pubchemDownloader.h.
QFile BALL::PubChemDownloader::outfile_ [protected] |
Definition at line 48 of file pubchemDownloader.h.
String BALL::PubChemDownloader::pug_base_url_ [protected] |
Definition at line 41 of file pubchemDownloader.h.
QDomDocument BALL::PubChemDownloader::request_ [protected] |
Definition at line 44 of file pubchemDownloader.h.