Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_GrowableByteArrayDataOutput_H
#define org_apache_lucene_store_GrowableByteArrayDataOutput_H
#include "org/apache/lucene/store/DataOutput.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class GrowableByteArrayDataOutput : public ::org::apache::lucene::store::DataOutput {
public:
enum {
mid_init$_54889bef30791899,
mid_getBytes_7e7da87ae816e9d4,
mid_getPosition_9135e6328d9d7dfd,
mid_reset_d7775b228e076e62,
mid_writeByte_fb3f7572a3943c8b,
mid_writeBytes_572579157b228a11,
mid_writeString_d1402cb7ea6d4983,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit GrowableByteArrayDataOutput(jobject obj) : ::org::apache::lucene::store::DataOutput(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
GrowableByteArrayDataOutput(const GrowableByteArrayDataOutput& obj) : ::org::apache::lucene::store::DataOutput(obj) {}
GrowableByteArrayDataOutput(jint);
JArray< jbyte > getBytes() const;
jint getPosition() const;
void reset() const;
void writeByte(jbyte) const;
void writeBytes(const JArray< jbyte > &, jint, jint) const;
void writeString(const ::java::lang::String &) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(GrowableByteArrayDataOutput);
extern PyTypeObject *PY_TYPE(GrowableByteArrayDataOutput);
class t_GrowableByteArrayDataOutput {
public:
PyObject_HEAD
GrowableByteArrayDataOutput object;
static PyObject *wrap_Object(const GrowableByteArrayDataOutput&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif