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 / search / Explanation.h
Size: Mime:
#ifndef org_apache_lucene_search_Explanation_H
#define org_apache_lucene_search_Explanation_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace util {
    class Collection;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        class Explanation;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {

        class Explanation : public ::java::lang::Object {
         public:
          enum {
            mid_equals_ac708f0101821708,
            mid_getDescription_a6d454b6117bc1ba,
            mid_getDetails_c0ad65d8457ac12f,
            mid_getValue_2d3e9e78eeb8f24f,
            mid_hashCode_9135e6328d9d7dfd,
            mid_isMatch_c20c2fcd6b89d9a9,
            mid_match_437b3af6e86469d9,
            mid_match_2ee5adbc295a2408,
            mid_noMatch_132d49b4463d7a38,
            mid_noMatch_217985ca2ab1a888,
            mid_toString_a6d454b6117bc1ba,
            max_mid
          };

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

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

          jboolean equals(const ::java::lang::Object &) const;
          ::java::lang::String getDescription() const;
          JArray< Explanation > getDetails() const;
          jfloat getValue() const;
          jint hashCode() const;
          jboolean isMatch() const;
          static Explanation match(jfloat, const ::java::lang::String &, const JArray< Explanation > &);
          static Explanation match(jfloat, const ::java::lang::String &, const ::java::util::Collection &);
          static Explanation noMatch(const ::java::lang::String &, const JArray< Explanation > &);
          static Explanation noMatch(const ::java::lang::String &, const ::java::util::Collection &);
          ::java::lang::String toString() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        extern PyType_Def PY_TYPE_DEF(Explanation);
        extern PyTypeObject *PY_TYPE(Explanation);

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

#endif