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 / util / fst / Builder.h
Size: Mime:
#ifndef org_apache_lucene_util_fst_Builder_H
#define org_apache_lucene_util_fst_Builder_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        namespace fst {
          class FST;
          class Outputs;
          class FST$INPUT_TYPE;
        }
        class IntsRef;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        namespace fst {

          class Builder : public ::java::lang::Object {
           public:
            enum {
              mid_init$_dff0b8ca20a2fabe,
              mid_init$_1cc48839bf76b3cb,
              mid_add_2c3237018bea4d72,
              mid_finish_04bb6e098d002580,
              mid_fstRamBytesUsed_062ad918b5794303,
              mid_getArcCount_062ad918b5794303,
              mid_getMappedStateCount_062ad918b5794303,
              mid_getNodeCount_062ad918b5794303,
              mid_getTermCount_062ad918b5794303,
              max_mid
            };

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

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

            Builder(const ::org::apache::lucene::util::fst::FST$INPUT_TYPE &, const ::org::apache::lucene::util::fst::Outputs &);
            Builder(const ::org::apache::lucene::util::fst::FST$INPUT_TYPE &, jint, jint, jboolean, jboolean, jint, const ::org::apache::lucene::util::fst::Outputs &, jboolean, jint);

            void add(const ::org::apache::lucene::util::IntsRef &, const ::java::lang::Object &) const;
            ::org::apache::lucene::util::fst::FST finish() const;
            jlong fstRamBytesUsed() const;
            jlong getArcCount() const;
            jlong getMappedStateCount() const;
            jlong getNodeCount() const;
            jlong getTermCount() const;
          };
        }
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        namespace fst {
          extern PyType_Def PY_TYPE_DEF(Builder);
          extern PyTypeObject *PY_TYPE(Builder);

          class t_Builder {
          public:
            PyObject_HEAD
            Builder object;
            PyTypeObject *parameters[1];
            static PyTypeObject **parameters_(t_Builder *self)
            {
              return (PyTypeObject **) &(self->parameters);
            }
            static PyObject *wrap_Object(const Builder&);
            static PyObject *wrap_jobject(const jobject&);
            static PyObject *wrap_Object(const Builder&, PyTypeObject *);
            static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
            static void install(PyObject *module);
            static void initialize(PyObject *module);
          };
        }
      }
    }
  }
}

#endif