#include <jvm.hpp>
|
| jstring | string (const std::string &s) |
| |
| Constructor | findConstructor (const ConstructorFinder &finder) |
| |
| Method | findMethod (const MethodSignature &signature) |
| |
| Method | findStaticMethod (const MethodSignature &signature) |
| |
| Field | findField (const Class &clazz, const std::string &name, const std::string &signature) |
| |
| Field | findStaticField (const Class &clazz, const std::string &name, const std::string &signature) |
| |
| jobject | invoke (const Constructor ctor,...) |
| |
| template<typename T > |
| T | invoke (const jobject receiver, const Method method,...) |
| |
| template<typename T > |
| T | invokeStatic (const Method method,...) |
| |
| template<typename T > |
| void | setField (jobject receiver, const Field &field, T t) |
| |
| template<typename T > |
| T | getStaticField (const Field &field) |
| |
| void | check (JNIEnv *env) |
| |
| template<> |
| void | invoke (const jobject receiver, const Method method,...) |
| |
| template<> |
| void | invokeStatic (const Method method,...) |
| |
| void Jvm::check |
( |
JNIEnv * |
env | ) |
|
| static Try<Jvm*> Jvm::create |
( |
const std::vector< std::string > & |
options = std::vector< std::string >(), |
|
|
JNI::Version |
version = JNI::v_1_6, |
|
|
bool |
exceptions = false |
|
) |
| |
|
static |
| static bool Jvm::created |
( |
| ) |
|
|
static |
| Field Jvm::findField |
( |
const Class & |
clazz, |
|
|
const std::string & |
name, |
|
|
const std::string & |
signature |
|
) |
| |
| Field Jvm::findStaticField |
( |
const Class & |
clazz, |
|
|
const std::string & |
name, |
|
|
const std::string & |
signature |
|
) |
| |
template<typename T >
| T Jvm::getStaticField |
( |
const Field & |
field | ) |
|
template<typename T >
| T Jvm::invoke |
( |
const jobject |
receiver, |
|
|
const Method |
method, |
|
|
|
... |
|
) |
| |
template<>
| void Jvm::invoke |
( |
const jobject |
receiver, |
|
|
const Method |
method, |
|
|
|
... |
|
) |
| |
template<typename T >
| T Jvm::invokeStatic |
( |
const Method |
method, |
|
|
|
... |
|
) |
| |
template<>
| void Jvm::invokeStatic |
( |
const Method |
method, |
|
|
|
... |
|
) |
| |
template<typename T >
| void Jvm::setField |
( |
jobject |
receiver, |
|
|
const Field & |
field, |
|
|
T |
t |
|
) |
| |
| jstring Jvm::string |
( |
const std::string & |
s | ) |
|
| const Class Jvm::booleanClass |
| const Class Jvm::byteClass |
| const Class Jvm::charClass |
| const Class Jvm::doubleClass |
| const Class Jvm::floatClass |
| const Class Jvm::intClass |
| const Class Jvm::longClass |
| const Class Jvm::shortClass |
| const Class Jvm::stringClass |
| const Class Jvm::voidClass |
The documentation for this class was generated from the following file: