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 / suggest / BufferedInputIterator.h
Size: Mime:
#ifndef org_apache_lucene_search_suggest_BufferedInputIterator_H
#define org_apache_lucene_search_suggest_BufferedInputIterator_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace util {
    class Set;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace search {
        namespace suggest {
          class InputIterator;
        }
      }
      namespace util {
        class BytesRef;
      }
    }
  }
}
template<class T> class JArray;

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

          class BufferedInputIterator : public ::java::lang::Object {
           public:
            enum {
              mid_init$_7f4549a75d232414,
              mid_contexts_0f146b3deb900c94,
              mid_hasContexts_c20c2fcd6b89d9a9,
              mid_hasPayloads_c20c2fcd6b89d9a9,
              mid_next_0c5811435dd00c85,
              mid_payload_0c5811435dd00c85,
              mid_weight_062ad918b5794303,
              max_mid
            };

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

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

            BufferedInputIterator(const ::org::apache::lucene::search::suggest::InputIterator &);

            ::java::util::Set contexts() const;
            jboolean hasContexts() const;
            jboolean hasPayloads() const;
            ::org::apache::lucene::util::BytesRef next() const;
            ::org::apache::lucene::util::BytesRef payload() const;
            jlong weight() const;
          };
        }
      }
    }
  }
}

#include <Python.h>

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

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

#endif