Loading...
Searching...
No Matches
pubchemDownloader.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_FORMAT_PUBCHEMDOWNLOADER_H
#define BALL_FORMAT_PUBCHEMDOWNLOADER_H
#ifndef BALL_DATATYPE_STRING_H
# include <BALL/DATATYPE/string.h>
#endif
namespace BALL
{
class BALL_EXPORT PubChemDownloader
{
public:
PubChemDownloader();
bool downloadSDFByName(const String& query, const String& filename);
bool downloadSDFByCID(int cid, const String& filename);
private:
const String pubchem_rest_url_;
bool downloadSDF_(const String& query, const String& type, const String& filename);
};
}
#endif // BALL_FORMAT_PUBCHEMDOWNLOADER_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::PubChemDownloader::PubChemDownloader
PubChemDownloader()
BALL::PubChemDownloader::downloadSDFByCID
bool downloadSDFByCID(int cid, const String &filename)
BALL::PubChemDownloader::downloadSDFByName
bool downloadSDFByName(const String &query, const String &filename)
BALL::String
Definition string.h:57
BALL
Definition constants.h:13
string.h