Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_analysis_compound_hyphenation_ByteVector_H
#define org_apache_lucene_analysis_compound_hyphenation_ByteVector_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace compound {
namespace hyphenation {
class ByteVector : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_0fce1b0b1e1dc066,
mid_init$_54889bef30791899,
mid_init$_01dedb47074c38c9,
mid_alloc_898568c95ed890a7,
mid_capacity_9135e6328d9d7dfd,
mid_get_60c0ff6ab9428e91,
mid_getArray_7e7da87ae816e9d4,
mid_length_9135e6328d9d7dfd,
mid_put_f8c31451642061a7,
mid_trimToSize_d7775b228e076e62,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ByteVector(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ByteVector(const ByteVector& obj) : ::java::lang::Object(obj) {}
ByteVector();
ByteVector(const JArray< jbyte > &);
ByteVector(jint);
ByteVector(const JArray< jbyte > &, jint);
jint alloc(jint) const;
jint capacity() const;
jbyte get(jint) const;
JArray< jbyte > getArray() const;
jint length() const;
void put(jint, jbyte) const;
void trimToSize() const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace compound {
namespace hyphenation {
extern PyType_Def PY_TYPE_DEF(ByteVector);
extern PyTypeObject *PY_TYPE(ByteVector);
class t_ByteVector {
public:
PyObject_HEAD
ByteVector object;
static PyObject *wrap_Object(const ByteVector&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif