Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_InputStreamDataInput_H
#define org_apache_lucene_store_InputStreamDataInput_H
#include "org/apache/lucene/store/DataInput.h"
namespace java {
namespace io {
class InputStream;
class IOException;
class Closeable;
}
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class InputStreamDataInput : public ::org::apache::lucene::store::DataInput {
public:
enum {
mid_init$_6473edfd7a49713d,
mid_close_d7775b228e076e62,
mid_readByte_e0bb1ed55719c754,
mid_readBytes_572579157b228a11,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit InputStreamDataInput(jobject obj) : ::org::apache::lucene::store::DataInput(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
InputStreamDataInput(const InputStreamDataInput& obj) : ::org::apache::lucene::store::DataInput(obj) {}
InputStreamDataInput(const ::java::io::InputStream &);
void close() const;
jbyte readByte() const;
void readBytes(const JArray< jbyte > &, jint, jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(InputStreamDataInput);
extern PyTypeObject *PY_TYPE(InputStreamDataInput);
class t_InputStreamDataInput {
public:
PyObject_HEAD
InputStreamDataInput object;
static PyObject *wrap_Object(const InputStreamDataInput&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif