11 #ifndef SWIG_gnuradio_core_general_WRAP_H_
12 #define SWIG_gnuradio_core_general_WRAP_H_
18 class SwigDirector_feval_dd :
public gr_py_feval_dd,
public Swig::Director {
21 SwigDirector_feval_dd(PyObject *
self);
22 virtual double eval(
double x);
23 virtual double evalSwigPublic(
double x) {
26 virtual ~SwigDirector_feval_dd();
31 bool swig_get_inner(
const char* swig_protected_method_name)
const {
32 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
33 return (iv != swig_inner.end() ? iv->second :
false);
36 void swig_set_inner(
const char* swig_protected_method_name,
bool val)
const
37 { swig_inner[swig_protected_method_name] = val;}
40 mutable std::map<std::string, bool> swig_inner;
43 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
45 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
46 PyObject *method = vtable[method_index];
48 swig::SwigVar_PyObject
name = SWIG_Python_str_FromChar(method_name);
49 method = PyObject_GetAttr(swig_get_self(), name);
51 std::string msg =
"Method in class feval_dd doesn't exist, undefined ";
53 Swig::DirectorMethodException::raise(msg.c_str());
55 vtable[method_index] = method;
60 mutable swig::SwigVar_PyObject vtable[1];
66 class SwigDirector_feval_cc :
public gr_py_feval_cc,
public Swig::Director {
69 SwigDirector_feval_cc(PyObject *
self);
74 virtual ~SwigDirector_feval_cc();
79 bool swig_get_inner(
const char* swig_protected_method_name)
const {
80 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
81 return (iv != swig_inner.end() ? iv->second :
false);
84 void swig_set_inner(
const char* swig_protected_method_name,
bool val)
const
85 { swig_inner[swig_protected_method_name] = val;}
88 mutable std::map<std::string, bool> swig_inner;
91 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
93 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
94 PyObject *method = vtable[method_index];
96 swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
97 method = PyObject_GetAttr(swig_get_self(), name);
99 std::string msg =
"Method in class feval_cc doesn't exist, undefined ";
101 Swig::DirectorMethodException::raise(msg.c_str());
103 vtable[method_index] = method;
108 mutable swig::SwigVar_PyObject vtable[1];
114 class SwigDirector_feval_ll :
public gr_py_feval_ll,
public Swig::Director {
117 SwigDirector_feval_ll(PyObject *
self);
118 virtual long eval(
long x);
119 virtual long evalSwigPublic(
long x) {
122 virtual ~SwigDirector_feval_ll();
127 bool swig_get_inner(
const char* swig_protected_method_name)
const {
128 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
129 return (iv != swig_inner.end() ? iv->second :
false);
132 void swig_set_inner(
const char* swig_protected_method_name,
bool val)
const
133 { swig_inner[swig_protected_method_name] = val;}
136 mutable std::map<std::string, bool> swig_inner;
139 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
141 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
142 PyObject *method = vtable[method_index];
144 swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
145 method = PyObject_GetAttr(swig_get_self(), name);
147 std::string msg =
"Method in class feval_ll doesn't exist, undefined ";
149 Swig::DirectorMethodException::raise(msg.c_str());
151 vtable[method_index] = method;
156 mutable swig::SwigVar_PyObject vtable[1];
162 class SwigDirector_feval :
public gr_py_feval,
public Swig::Director {
165 SwigDirector_feval(PyObject *
self);
167 virtual void evalSwigPublic() {
170 virtual ~SwigDirector_feval();
175 bool swig_get_inner(
const char* swig_protected_method_name)
const {
176 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
177 return (iv != swig_inner.end() ? iv->second :
false);
180 void swig_set_inner(
const char* swig_protected_method_name,
bool val)
const
181 { swig_inner[swig_protected_method_name] = val;}
184 mutable std::map<std::string, bool> swig_inner;
187 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
189 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
190 PyObject *method = vtable[method_index];
192 swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
193 method = PyObject_GetAttr(swig_get_self(), name);
195 std::string msg =
"Method in class feval doesn't exist, undefined ";
197 Swig::DirectorMethodException::raise(msg.c_str());
199 vtable[method_index] = method;
204 mutable swig::SwigVar_PyObject vtable[1];
210 class SwigDirector_feval_p :
public gr_py_feval_p,
public Swig::Director {
213 SwigDirector_feval_p(PyObject *
self);
218 virtual ~SwigDirector_feval_p();
223 bool swig_get_inner(
const char* swig_protected_method_name)
const {
224 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
225 return (iv != swig_inner.end() ? iv->second :
false);
228 void swig_set_inner(
const char* swig_protected_method_name,
bool val)
const
229 { swig_inner[swig_protected_method_name] = val;}
232 mutable std::map<std::string, bool> swig_inner;
235 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
237 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
238 PyObject *method = vtable[method_index];
240 swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
241 method = PyObject_GetAttr(swig_get_self(), name);
243 std::string msg =
"Method in class feval_p doesn't exist, undefined ";
245 Swig::DirectorMethodException::raise(msg.c_str());
247 vtable[method_index] = method;
252 mutable swig::SwigVar_PyObject vtable[1];