File: openbabel.i

package info (click to toggle)
openbabel 2.0.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 15,652 kB
  • ctags: 15,998
  • sloc: cpp: 128,176; ansic: 86,170; sh: 8,920; perl: 1,847; python: 1,369; pascal: 793; makefile: 381; xml: 97
file content (61 lines) | stat: -rw-r--r-- 1,238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// needed to work around bug in SWIG -- can't completely override module from command-line
#ifdef SWIGPERL
%module "Chemistry::OpenBabel"
#else
%module openbabel
#endif

%{
// used to set import/export for Cygwin DLLs
#ifdef WIN32
#define USING_OBDLL
#endif


#include "obutil.h"
#include "math/vector3.h"

#include "mol.h"
#include "generic.h"
#include "ring.h"
#include "obconversion.h"

#include "data.h"
#include "parsmart.h"
%}

%include "std_list.i"
%include "std_map.i"
%include "std_vector.i"
%include "std_string.i"

namespace std {
%template (vectorInt)		vector<int>;
%template (vvInt)		vector< vector<int> >;
%template (vectorDouble) 	vector<double>;
%template (vVector3)		vector<OpenBabel::vector3>;

%template (vectorMol)		vector<OpenBabel::OBMol>;
%template (vectorBond)		vector<OpenBabel::OBBond>;
%template (vectorResidue)	vector<OpenBabel::OBResidue>;
%template (vectorRing)		vector<OpenBabel::OBRing>;
}

%import "babelconfig.h"

%include "data.h"
%include "obutil.h"
%include "math/vector3.h"

%import "base.h"
%import "chains.h"
// %import "math/vector3.h"
%import "bitvec.h"
%import "generic.h"
%import "typer.h"
%import "oberror.h"

%include "obconversion.h"
%include "mol.h"
%include "ring.h"
%include "parsmart.h"