File: swig.i

package info (click to toggle)
r-bioc-chemminer 3.40.0+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,152 kB
  • sloc: cpp: 2,729; sh: 14; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%{
#include "script.h"
#include <vector>
%}
class Descriptors{
public:
   Descriptors();
   int parse_sdf(const char* sdf);
   int parse_sdfile(const char* sdfile);
   int parse_smiles(const char* smile);
   unsigned int get_descriptor(unsigned int i);
   unsigned int get_len();
};

double similarity(Descriptors* d1, Descriptors* d2);