A base Class written in C++ as below.
// BaseCase.h
class BaseCase
{
public
BaseCase() {}
virtual ~BaseCase() {}
BaseCase(const BaseCase& rhs) {
m_caseName = rhs.m_caseName;
}
public:
string m_caseName;
};
I use swig to export this baseclass with swig.i:
// swig.i
%module(directors="1") baseCase
%{
#include "BaseCase.h"
%}
%include "std_string.i"
…
Top comments (0)