BALL 1.5.0
Loading...
Searching...
No Matches
pubchemDownloader.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_FORMAT_PUBCHEMDOWNLOADER_H
6#define BALL_FORMAT_PUBCHEMDOWNLOADER_H
7
8#ifndef BALL_DATATYPE_STRING_H
10#endif
11
12namespace BALL
13{
21 {
22 public:
27
37 bool downloadSDFByName(const String& query, const String& filename);
38
48 bool downloadSDFByCID(int cid, const String& filename);
49
50 private:
52 const String pubchem_rest_url_;
53
63 bool downloadSDF_(const String& query, const String& type, const String& filename);
64 };
65}
66
67#endif // BALL_FORMAT_PUBCHEMDOWNLOADER_H
Downloads PubChem entries.
bool downloadSDFByCID(int cid, const String &filename)
bool downloadSDFByName(const String &query, const String &filename)
#define BALL_EXPORT