cdi.i 593 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
9
%module CdiObj
%{
#define SWIG_FILE_WITH_INIT
#include "cdi.hpp"
%}
%include "stl.i"
namespace std {
   %template(IntVector)    vector<int>;
   %template(DoubleVector) vector<double>;
10
   %template(DoubleDoubleVector) vector< vector<double> >;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
11
12
13
   %template(StringVector) vector<string>;
   %template(VarsVector)   vector<CdiVariable>;
   %template(VarsMap)      map<string,CdiVariable>;
14
   %template(VarsByCode)   map<int,CdiVariable>;
Uwe Schulzweida's avatar
Uwe Schulzweida committed
15
16
17
18
19
   %template(TaxesMap)     map<int,CdiTaxis>;
   %template(ZaxesMap)     map<int,CdiZaxis>;
   %template(GridsMap)     map<int,CdiGrid>;
}
%include "cdi.hpp"