Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_Counter_H
#define org_apache_lucene_util_Counter_H
#include "java/lang/Object.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 Counter : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_addAndGet_287a2baadd48f056,
mid_get_062ad918b5794303,
mid_newCounter_9ef704b8af668fde,
mid_newCounter_ce1973c119f1b874,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit Counter(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
Counter(const Counter& obj) : ::java::lang::Object(obj) {}
Counter();
jlong addAndGet(jlong) const;
jlong get() const;
static Counter newCounter();
static Counter newCounter(jboolean);
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(Counter);
extern PyTypeObject *PY_TYPE(Counter);
class t_Counter {
public:
PyObject_HEAD
Counter object;
static PyObject *wrap_Object(const Counter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif