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 / store / RAMInputStream.h
Size: Mime:
#ifndef org_apache_lucene_store_RAMInputStream_H
#define org_apache_lucene_store_RAMInputStream_H

#include "org/apache/lucene/store/IndexInput.h"

namespace java {
  namespace lang {
    class String;
    class Class;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class RAMFile;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {

        class RAMInputStream : public ::org::apache::lucene::store::IndexInput {
         public:
          enum {
            mid_init$_a27a56cc17715895,
            mid_close_d7775b228e076e62,
            mid_getFilePointer_062ad918b5794303,
            mid_length_062ad918b5794303,
            mid_readByte_e0bb1ed55719c754,
            mid_readBytes_572579157b228a11,
            mid_seek_ea21977c7b14e0c0,
            mid_slice_9d0963a64a5a173c,
            max_mid
          };

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

          explicit RAMInputStream(jobject obj) : ::org::apache::lucene::store::IndexInput(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          RAMInputStream(const RAMInputStream& obj) : ::org::apache::lucene::store::IndexInput(obj) {}

          RAMInputStream(const ::java::lang::String &, const ::org::apache::lucene::store::RAMFile &);

          void close() const;
          jlong getFilePointer() const;
          jlong length() const;
          jbyte readByte() const;
          void readBytes(const JArray< jbyte > &, jint, jint) const;
          void seek(jlong) const;
          ::org::apache::lucene::store::IndexInput slice(const ::java::lang::String &, jlong, jlong) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(RAMInputStream);
        extern PyTypeObject *PY_TYPE(RAMInputStream);

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

#endif