Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / geo / GeoEncodingUtils.h
Size: Mime:
#ifndef org_apache_lucene_geo_GeoEncodingUtils_H
#define org_apache_lucene_geo_GeoEncodingUtils_H

#include "java/lang/Object.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace geo {
        class GeoEncodingUtils$PolygonPredicate;
        class Polygon2D;
        class Polygon;
        class GeoEncodingUtils$DistancePredicate;
      }
    }
  }
}
namespace java {
  namespace lang {
    class Class;
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace geo {

        class GeoEncodingUtils : public ::java::lang::Object {
         public:
          enum {
            mid_createDistancePredicate_f9cdf523b11f8772,
            mid_createPolygonPredicate_980899975da7f65f,
            mid_decodeLatitude_cdb19d58cf15e977,
            mid_decodeLatitude_8861f37e199655b8,
            mid_decodeLongitude_cdb19d58cf15e977,
            mid_decodeLongitude_8861f37e199655b8,
            mid_encodeLatitude_ae4ee5ca07d3b677,
            mid_encodeLatitudeCeil_ae4ee5ca07d3b677,
            mid_encodeLongitude_ae4ee5ca07d3b677,
            mid_encodeLongitudeCeil_ae4ee5ca07d3b677,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit GeoEncodingUtils(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          GeoEncodingUtils(const GeoEncodingUtils& obj) : ::java::lang::Object(obj) {}

          static jshort BITS;
          static jint MAX_LON_ENCODED;
          static jint MIN_LON_ENCODED;

          static ::org::apache::lucene::geo::GeoEncodingUtils$DistancePredicate createDistancePredicate(jdouble, jdouble, jdouble);
          static ::org::apache::lucene::geo::GeoEncodingUtils$PolygonPredicate createPolygonPredicate(const JArray< ::org::apache::lucene::geo::Polygon > &, const ::org::apache::lucene::geo::Polygon2D &);
          static jdouble decodeLatitude(jint);
          static jdouble decodeLatitude(const JArray< jbyte > &, jint);
          static jdouble decodeLongitude(jint);
          static jdouble decodeLongitude(const JArray< jbyte > &, jint);
          static jint encodeLatitude(jdouble);
          static jint encodeLatitudeCeil(jdouble);
          static jint encodeLongitude(jdouble);
          static jint encodeLongitudeCeil(jdouble);
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace geo {
        extern PyType_Def PY_TYPE_DEF(GeoEncodingUtils);
        extern PyTypeObject *PY_TYPE(GeoEncodingUtils);

        class t_GeoEncodingUtils {
        public:
          PyObject_HEAD
          GeoEncodingUtils object;
          static PyObject *wrap_Object(const GeoEncodingUtils&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif