BALL::PubChemDownloader Class Reference

#include <BALL/FORMAT/pubchemDownloader.h>

Inheritance diagram for BALL::PubChemDownloader:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 16 of file pubchemDownloader.h.


Constructor & Destructor Documentation

BALL::PubChemDownloader::PubChemDownloader (  ) 
virtual BALL::PubChemDownloader::~PubChemDownloader (  )  [inline, virtual]

Definition at line 23 of file pubchemDownloader.h.


Member Function Documentation

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]

Member Data Documentation

QDomElement BALL::PubChemDownloader::current_node_ [protected]

Definition at line 46 of file pubchemDownloader.h.

Definition at line 43 of file pubchemDownloader.h.

Definition at line 40 of file pubchemDownloader.h.

Definition at line 49 of file pubchemDownloader.h.

QDomElement BALL::PubChemDownloader::last_node_ [protected]

Definition at line 45 of file pubchemDownloader.h.

Definition at line 48 of file pubchemDownloader.h.

Definition at line 41 of file pubchemDownloader.h.

QDomDocument BALL::PubChemDownloader::request_ [protected]

Definition at line 44 of file pubchemDownloader.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3