Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_spatial_util_MortonEncoder_H
#define org_apache_lucene_spatial_util_MortonEncoder_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace spatial {
namespace util {
class MortonEncoder : public ::java::lang::Object {
public:
enum {
mid_decodeLatitude_15c047a21abf3adf,
mid_decodeLongitude_15c047a21abf3adf,
mid_encode_e2cfff16e131784c,
mid_encodeCeil_e2cfff16e131784c,
mid_geoTermToString_1769d094cd645c9c,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit MortonEncoder(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
MortonEncoder(const MortonEncoder& obj) : ::java::lang::Object(obj) {}
static jdouble decodeLatitude(jlong);
static jdouble decodeLongitude(jlong);
static jlong encode(jdouble, jdouble);
static jlong encodeCeil(jdouble, jdouble);
static ::java::lang::String geoTermToString(jlong);
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace spatial {
namespace util {
extern PyType_Def PY_TYPE_DEF(MortonEncoder);
extern PyTypeObject *PY_TYPE(MortonEncoder);
class t_MortonEncoder {
public:
PyObject_HEAD
MortonEncoder object;
static PyObject *wrap_Object(const MortonEncoder&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif