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 / AttributeSource.h
Size: Mime:
#ifndef org_apache_lucene_util_AttributeSource_H
#define org_apache_lucene_util_AttributeSource_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace util {
    class Iterator;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class AttributeImpl;
        class AttributeSource$State;
        class Attribute;
        class AttributeReflector;
        class AttributeSource;
        class AttributeFactory;
      }
    }
  }
}
template<class T> class JArray;

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

        class AttributeSource : public ::java::lang::Object {
         public:
          enum {
            mid_init$_d7775b228e076e62,
            mid_init$_c4a65ca936129e58,
            mid_addAttribute_68c67fef59bfcd56,
            mid_addAttributeImpl_07a9e1ed19108670,
            mid_captureState_443e99d476cc3081,
            mid_clearAttributes_d7775b228e076e62,
            mid_cloneAttributes_0e60372cf260889e,
            mid_copyTo_80a556b423b161c0,
            mid_endAttributes_d7775b228e076e62,
            mid_equals_ac708f0101821708,
            mid_getAttribute_68c67fef59bfcd56,
            mid_getAttributeClassesIterator_1b087b0cc2db38d4,
            mid_getAttributeFactory_3666d8b8af83c735,
            mid_getAttributeImplsIterator_1b087b0cc2db38d4,
            mid_hasAttribute_70f73c0635b3abcb,
            mid_hasAttributes_c20c2fcd6b89d9a9,
            mid_hashCode_9135e6328d9d7dfd,
            mid_reflectAsString_8fbbd7b315ff9437,
            mid_reflectWith_612775e8cf974e91,
            mid_removeAllAttributes_d7775b228e076e62,
            mid_restoreState_836b9760e6f7f664,
            mid_toString_a6d454b6117bc1ba,
            max_mid
          };

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

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

          AttributeSource();
          AttributeSource(const ::org::apache::lucene::util::AttributeFactory &);

          ::org::apache::lucene::util::Attribute addAttribute(const ::java::lang::Class &) const;
          void addAttributeImpl(const ::org::apache::lucene::util::AttributeImpl &) const;
          ::org::apache::lucene::util::AttributeSource$State captureState() const;
          void clearAttributes() const;
          AttributeSource cloneAttributes() const;
          void copyTo(const AttributeSource &) const;
          void endAttributes() const;
          jboolean equals(const ::java::lang::Object &) const;
          ::org::apache::lucene::util::Attribute getAttribute(const ::java::lang::Class &) const;
          ::java::util::Iterator getAttributeClassesIterator() const;
          ::org::apache::lucene::util::AttributeFactory getAttributeFactory() const;
          ::java::util::Iterator getAttributeImplsIterator() const;
          jboolean hasAttribute(const ::java::lang::Class &) const;
          jboolean hasAttributes() const;
          jint hashCode() const;
          ::java::lang::String reflectAsString(jboolean) const;
          void reflectWith(const ::org::apache::lucene::util::AttributeReflector &) const;
          void removeAllAttributes() const;
          void restoreState(const ::org::apache::lucene::util::AttributeSource$State &) const;
          ::java::lang::String toString() const;
        };
      }
    }
  }
}

#include <Python.h>

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

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

#endif