Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_fst_FST_H
#define org_apache_lucene_util_fst_FST_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace nio {
namespace file {
class Path;
}
}
namespace io {
class IOException;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class Accountable;
namespace fst {
class FST$Arc;
class FST;
class FST$INPUT_TYPE;
class FST$BytesReader;
class Outputs;
}
}
namespace store {
class DataOutput;
class DataInput;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace fst {
class FST : public ::java::lang::Object {
public:
enum {
mid_init$_0d5d3418f2bade26,
mid_init$_eb88ac8a9474a17f,
mid_findTargetArc_06626716b536517b,
mid_getBytesReader_6ca1e6d5a0e92d96,
mid_getEmptyOutput_59eb473b04cd17bc,
mid_getFirstArc_59a87bd4f602214a,
mid_getInputType_3990fce4953d37a6,
mid_ramBytesUsed_062ad918b5794303,
mid_read_84637569c614aadf,
mid_readFirstRealTargetArc_b49146c21b267a00,
mid_readFirstTargetArc_f644d9810c55e518,
mid_readLabel_7d746b415cf39054,
mid_readLastTargetArc_f644d9810c55e518,
mid_readNextArc_311a586999d51af4,
mid_readNextArcLabel_3b1cb627ddd690e2,
mid_readNextRealArc_311a586999d51af4,
mid_save_16fa6ab1867eba67,
mid_save_d52a6c6e7cd0e6f1,
mid_targetHasArcs_9a66b6d4991f4687,
mid_toString_a6d454b6117bc1ba,
max_mid
};
enum {
fid_inputType,
fid_outputs,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit FST(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
FST(const FST& obj) : ::java::lang::Object(obj) {}
static jint BIT_ARC_HAS_OUTPUT;
static jint DEFAULT_MAX_BLOCK_BITS;
static jint END_LABEL;
::org::apache::lucene::util::fst::FST$INPUT_TYPE _get_inputType() const;
::org::apache::lucene::util::fst::Outputs _get_outputs() const;
FST(const ::org::apache::lucene::store::DataInput &, const ::org::apache::lucene::util::fst::Outputs &);
FST(const ::org::apache::lucene::store::DataInput &, const ::org::apache::lucene::util::fst::Outputs &, jint);
::org::apache::lucene::util::fst::FST$Arc findTargetArc(jint, const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
::org::apache::lucene::util::fst::FST$BytesReader getBytesReader() const;
::java::lang::Object getEmptyOutput() const;
::org::apache::lucene::util::fst::FST$Arc getFirstArc(const ::org::apache::lucene::util::fst::FST$Arc &) const;
::org::apache::lucene::util::fst::FST$INPUT_TYPE getInputType() const;
jlong ramBytesUsed() const;
static FST read(const ::java::nio::file::Path &, const ::org::apache::lucene::util::fst::Outputs &);
::org::apache::lucene::util::fst::FST$Arc readFirstRealTargetArc(jlong, const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
::org::apache::lucene::util::fst::FST$Arc readFirstTargetArc(const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
jint readLabel(const ::org::apache::lucene::store::DataInput &) const;
::org::apache::lucene::util::fst::FST$Arc readLastTargetArc(const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
::org::apache::lucene::util::fst::FST$Arc readNextArc(const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
jint readNextArcLabel(const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
::org::apache::lucene::util::fst::FST$Arc readNextRealArc(const ::org::apache::lucene::util::fst::FST$Arc &, const ::org::apache::lucene::util::fst::FST$BytesReader &) const;
void save(const ::java::nio::file::Path &) const;
void save(const ::org::apache::lucene::store::DataOutput &) const;
static jboolean targetHasArcs(const ::org::apache::lucene::util::fst::FST$Arc &);
::java::lang::String toString() const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
namespace fst {
extern PyType_Def PY_TYPE_DEF(FST);
extern PyTypeObject *PY_TYPE(FST);
class t_FST {
public:
PyObject_HEAD
FST object;
PyTypeObject *parameters[1];
static PyTypeObject **parameters_(t_FST *self)
{
return (PyTypeObject **) &(self->parameters);
}
static PyObject *wrap_Object(const FST&);
static PyObject *wrap_jobject(const jobject&);
static PyObject *wrap_Object(const FST&, PyTypeObject *);
static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif