Help wrapping C++ class [n00b]
2006-06-01 05:14:22 GMT
Hello everyone, As you might have seen I am complete n00b using SWIG and I am having some problems. I've gone rapidly over the documentation but is just a lot to bear in mind and I feel dizzy already. My intent is to wrap a C++ to make it accessible in Python. But, I think this class does not have the best interfaces to pass data between the C++ code and Python (I use vectors, vectors of strings and multidimensional vectors). I would appreciate if anybody could give me pointers on how to properly interface this class with Python. Below I am including the declaration of the class, I think it should be enough but if you need any other information, please let me know. I've tested the class, so it seems that all the C++ code works (marginally at least). Thanks, Pepe #ifndef PYSASK_H_ #define PYSASK_H_ #include <string> #include <vector> #include <iostream> #include "kernelmatrix.h" #include "StringKernel.h"(Continue reading)
RSS Feed