Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_ByteBuffersDataInput_H
#define org_apache_lucene_store_ByteBuffersDataInput_H
#include "org/apache/lucene/store/DataInput.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace util {
class List;
}
namespace io {
class EOFException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Accountable;
}
namespace store {
class ByteBuffersDataInput;
class RandomAccessInput;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class ByteBuffersDataInput : public ::org::apache::lucene::store::DataInput {
public:
enum {
mid_position_062ad918b5794303,
mid_ramBytesUsed_062ad918b5794303,
mid_readByte_e0bb1ed55719c754,
mid_readByte_28c5460027b89ec6,
mid_readBytes_572579157b228a11,
mid_readInt_e04c5c80cabeae0e,
mid_readLong_287a2baadd48f056,
mid_readShort_be41260587b1f1a3,
mid_seek_ea21977c7b14e0c0,
mid_size_062ad918b5794303,
mid_slice_26d347eae2dc589a,
mid_toString_a6d454b6117bc1ba,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ByteBuffersDataInput(jobject obj) : ::org::apache::lucene::store::DataInput(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ByteBuffersDataInput(const ByteBuffersDataInput& obj) : ::org::apache::lucene::store::DataInput(obj) {}
jlong position() const;
jlong ramBytesUsed() const;
jbyte readByte() const;
jbyte readByte(jlong) const;
void readBytes(const JArray< jbyte > &, jint, jint) const;
jint readInt(jlong) const;
jlong readLong(jlong) const;
jshort readShort(jlong) const;
void seek(jlong) const;
jlong size() const;
ByteBuffersDataInput slice(jlong, jlong) const;
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(ByteBuffersDataInput);
extern PyTypeObject *PY_TYPE(ByteBuffersDataInput);
class t_ByteBuffersDataInput {
public:
PyObject_HEAD
ByteBuffersDataInput object;
static PyObject *wrap_Object(const ByteBuffersDataInput&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif