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    
Size: Mime:
#ifndef org_apache_lucene_queryparser_classic_Token_H
#define org_apache_lucene_queryparser_classic_Token_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class Serializable;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace queryparser {
        namespace classic {
          class Token;
        }
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace queryparser {
        namespace classic {

          class Token : public ::java::lang::Object {
           public:
            enum {
              mid_init$_d7775b228e076e62,
              mid_init$_54889bef30791899,
              mid_init$_7f0e65394cfbd651,
              mid_getValue_59eb473b04cd17bc,
              mid_newToken_46212f038f62443d,
              mid_newToken_45297c2c1411bea0,
              mid_toString_a6d454b6117bc1ba,
              max_mid
            };

            enum {
              fid_beginColumn,
              fid_beginLine,
              fid_endColumn,
              fid_endLine,
              fid_image,
              fid_kind,
              fid_next,
              fid_specialToken,
              max_fid
            };

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

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

            jint _get_beginColumn() const;
            void _set_beginColumn(jint) const;
            jint _get_beginLine() const;
            void _set_beginLine(jint) const;
            jint _get_endColumn() const;
            void _set_endColumn(jint) const;
            jint _get_endLine() const;
            void _set_endLine(jint) const;
            ::java::lang::String _get_image() const;
            void _set_image(const ::java::lang::String &) const;
            jint _get_kind() const;
            void _set_kind(jint) const;
            Token _get_next() const;
            void _set_next(const Token &) const;
            Token _get_specialToken() const;
            void _set_specialToken(const Token &) const;

            Token();
            Token(jint);
            Token(jint, const ::java::lang::String &);

            ::java::lang::Object getValue() const;
            static Token newToken(jint);
            static Token newToken(jint, const ::java::lang::String &);
            ::java::lang::String toString() const;
          };
        }
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace queryparser {
        namespace classic {
          extern PyType_Def PY_TYPE_DEF(Token);
          extern PyTypeObject *PY_TYPE(Token);

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

#endif