Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_ByteBlockPool$DirectTrackingAllocator_H
#define org_apache_lucene_util_ByteBlockPool$DirectTrackingAllocator_H
#include "org/apache/lucene/util/ByteBlockPool$Allocator.h"
namespace java {
namespace lang {
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Counter;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
class ByteBlockPool$DirectTrackingAllocator : public ::org::apache::lucene::util::ByteBlockPool$Allocator {
public:
enum {
mid_init$_0d8777c4fcf653cc,
mid_init$_fcb51036200b1f20,
mid_getByteBlock_7e7da87ae816e9d4,
mid_recycleByteBlocks_02300cfdcaa4ce2f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ByteBlockPool$DirectTrackingAllocator(jobject obj) : ::org::apache::lucene::util::ByteBlockPool$Allocator(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ByteBlockPool$DirectTrackingAllocator(const ByteBlockPool$DirectTrackingAllocator& obj) : ::org::apache::lucene::util::ByteBlockPool$Allocator(obj) {}
ByteBlockPool$DirectTrackingAllocator(const ::org::apache::lucene::util::Counter &);
ByteBlockPool$DirectTrackingAllocator(jint, const ::org::apache::lucene::util::Counter &);
JArray< jbyte > getByteBlock() const;
void recycleByteBlocks(const JArray< JArray< jbyte > > &, jint, jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(ByteBlockPool$DirectTrackingAllocator);
extern PyTypeObject *PY_TYPE(ByteBlockPool$DirectTrackingAllocator);
class t_ByteBlockPool$DirectTrackingAllocator {
public:
PyObject_HEAD
ByteBlockPool$DirectTrackingAllocator object;
static PyObject *wrap_Object(const ByteBlockPool$DirectTrackingAllocator&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif