BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
9 # include <BALL/DATATYPE/string.h>
10 #endif
11 
12 namespace 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:
53 
63  bool downloadSDF_(const String& query, const String& type, const String& filename);
64  };
65 }
66 
67 #endif // BALL_FORMAT_PUBCHEMDOWNLOADER_H