Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_pylucene_util_PythonIterator_H
#define org_apache_pylucene_util_PythonIterator_H
#include "java/lang/Object.h"
namespace java {
namespace util {
class Iterator;
}
namespace lang {
class Class;
class Throwable;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace pylucene {
namespace util {
class PythonIterator : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_finalize_d7775b228e076e62,
mid_hasNext_c20c2fcd6b89d9a9,
mid_next_59eb473b04cd17bc,
mid_pythonDecRef_d7775b228e076e62,
mid_pythonExtension_062ad918b5794303,
mid_pythonExtension_ea21977c7b14e0c0,
mid_remove_d7775b228e076e62,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit PythonIterator(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
PythonIterator(const PythonIterator& obj) : ::java::lang::Object(obj) {}
PythonIterator();
void finalize() const;
jboolean hasNext() const;
::java::lang::Object next() const;
void pythonDecRef() const;
jlong pythonExtension() const;
void pythonExtension(jlong) const;
void remove() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace pylucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(PythonIterator);
extern PyTypeObject *PY_TYPE(PythonIterator);
class t_PythonIterator {
public:
PyObject_HEAD
PythonIterator object;
static PyObject *wrap_Object(const PythonIterator&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif