Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_queries_function_valuesource_ConstNumberSource_H
#define org_apache_lucene_queries_function_valuesource_ConstNumberSource_H
#include "org/apache/lucene/queries/function/ValueSource.h"
namespace java {
namespace lang {
class Class;
class Number;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace queries {
namespace function {
namespace valuesource {
class ConstNumberSource : public ::org::apache::lucene::queries::function::ValueSource {
public:
enum {
mid_init$_d7775b228e076e62,
mid_getBool_c20c2fcd6b89d9a9,
mid_getDouble_ab5a92c6a29be348,
mid_getFloat_2d3e9e78eeb8f24f,
mid_getInt_9135e6328d9d7dfd,
mid_getLong_062ad918b5794303,
mid_getNumber_1bfed88e11cf6a79,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ConstNumberSource(jobject obj) : ::org::apache::lucene::queries::function::ValueSource(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ConstNumberSource(const ConstNumberSource& obj) : ::org::apache::lucene::queries::function::ValueSource(obj) {}
ConstNumberSource();
jboolean getBool() const;
jdouble getDouble() const;
jfloat getFloat() const;
jint getInt() const;
jlong getLong() const;
::java::lang::Number getNumber() const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace queries {
namespace function {
namespace valuesource {
extern PyType_Def PY_TYPE_DEF(ConstNumberSource);
extern PyTypeObject *PY_TYPE(ConstNumberSource);
class t_ConstNumberSource {
public:
PyObject_HEAD
ConstNumberSource object;
static PyObject *wrap_Object(const ConstNumberSource&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif