Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_queryparser_surround_parser_FastCharStream_H
#define org_apache_lucene_queryparser_surround_parser_FastCharStream_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
namespace io {
class IOException;
class Reader;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace surround {
namespace parser {
class CharStream;
}
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace surround {
namespace parser {
class FastCharStream : public ::java::lang::Object {
public:
enum {
mid_init$_c3aeabaf9036060d,
mid_BeginToken_a34ab3aca30b9450,
mid_Done_d7775b228e076e62,
mid_GetImage_a6d454b6117bc1ba,
mid_GetSuffix_d56bec9eab672ba6,
mid_backup_54889bef30791899,
mid_getBeginColumn_9135e6328d9d7dfd,
mid_getBeginLine_9135e6328d9d7dfd,
mid_getColumn_9135e6328d9d7dfd,
mid_getEndColumn_9135e6328d9d7dfd,
mid_getEndLine_9135e6328d9d7dfd,
mid_getLine_9135e6328d9d7dfd,
mid_readChar_a34ab3aca30b9450,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit FastCharStream(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
FastCharStream(const FastCharStream& obj) : ::java::lang::Object(obj) {}
FastCharStream(const ::java::io::Reader &);
jchar BeginToken() const;
void Done() const;
::java::lang::String GetImage() const;
JArray< jchar > GetSuffix(jint) const;
void backup(jint) const;
jint getBeginColumn() const;
jint getBeginLine() const;
jint getColumn() const;
jint getEndColumn() const;
jint getEndLine() const;
jint getLine() const;
jchar readChar() const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace surround {
namespace parser {
extern PyType_Def PY_TYPE_DEF(FastCharStream);
extern PyTypeObject *PY_TYPE(FastCharStream);
class t_FastCharStream {
public:
PyObject_HEAD
FastCharStream object;
static PyObject *wrap_Object(const FastCharStream&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif