Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_store_RAMOutputStream_H
#define org_apache_lucene_store_RAMOutputStream_H
#include "org/apache/lucene/store/IndexOutput.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
}
namespace util {
class Collection;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Accountable;
}
namespace store {
class DataOutput;
class RAMFile;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace store {
class RAMOutputStream : public ::org::apache::lucene::store::IndexOutput {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_dde941de58214c6a,
mid_init$_192235efa46f75b5,
mid_close_d7775b228e076e62,
mid_getChecksum_062ad918b5794303,
mid_getChildResources_928c43133c03833e,
mid_getFilePointer_062ad918b5794303,
mid_ramBytesUsed_062ad918b5794303,
mid_reset_d7775b228e076e62,
mid_writeByte_fb3f7572a3943c8b,
mid_writeBytes_572579157b228a11,
mid_writeTo_d52a6c6e7cd0e6f1,
mid_writeTo_01dedb47074c38c9,
mid_flush_d7775b228e076e62,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit RAMOutputStream(jobject obj) : ::org::apache::lucene::store::IndexOutput(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
RAMOutputStream(const RAMOutputStream& obj) : ::org::apache::lucene::store::IndexOutput(obj) {}
RAMOutputStream();
RAMOutputStream(const ::org::apache::lucene::store::RAMFile &, jboolean);
RAMOutputStream(const ::java::lang::String &, const ::org::apache::lucene::store::RAMFile &, jboolean);
void close() const;
jlong getChecksum() const;
::java::util::Collection getChildResources() const;
jlong getFilePointer() const;
jlong ramBytesUsed() const;
void reset() const;
void writeByte(jbyte) const;
void writeBytes(const JArray< jbyte > &, jint, jint) const;
void writeTo(const ::org::apache::lucene::store::DataOutput &) const;
void writeTo(const JArray< jbyte > &, jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace store {
extern PyType_Def PY_TYPE_DEF(RAMOutputStream);
extern PyTypeObject *PY_TYPE(RAMOutputStream);
class t_RAMOutputStream {
public:
PyObject_HEAD
RAMOutputStream object;
static PyObject *wrap_Object(const RAMOutputStream&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif