Codemesh Runtime v3 C++ API Reference
3.9.205
|
6 #ifndef xmog_java_value_inc
7 #define xmog_java_value_inc
13 typedef jvalue xmog_java_value;
74 xmog_remote_java_exception( jobject exc, jclass type,
const char * typeName = NULL,
const char * msg = NULL,
const char * stack = NULL );
82 jobject get_jobject()
const {
return exc_; }
83 jclass get_type()
const {
return type_; }
84 const char * get_typeName()
const {
return typeName_; }
85 const char * get_super_typeName(
int i )
const;
86 const char * get_message()
const {
return msg_; }
87 const char * get_stack()
const {
return stack_; }
92 char * superTypeNames_;
jvalue * get_values(xmog_localenv *env=NULL) const
Returns the JNI jvalue structures that are used to invoke methods.
Definition: xmog_java_value.h:149
xmog_java_value * v
The array of xmog_java_value instances represented by this object.
Definition: xmog_java_value.h:117
jclass clazz
The type of the instance.
Definition: xmog_java_value.h:30
A helper type used to convey Java arguments around inside the framework.
Definition: xmog_java_value.h:105
xmog_java_values(jint _size, xmog_java_value *_v)
Creates an argument holder with the specified values.
Definition: xmog_java_value.h:135
xmog_java_values(jint _size, xmog_java_value *_v, const char *_type_codes)
Creates an argument holder with the specified values.
Definition: xmog_java_value.h:144
jint length
The length of the array.
Definition: xmog_java_value.h:35
xmog_java_values()
Creates an empty argument holder.
Definition: xmog_java_value.h:127
xmog_java_value val
The primitive data or the handle.
Definition: xmog_java_value.h:25
const char * type_codes
The typecodes used for remote operations.
Definition: xmog_java_value.h:122
A helper type used to convey remote Java arguments around.
Definition: xmog_java_value.h:20
void * data
The optional native data (string or array).
Definition: xmog_java_value.h:45
A utility class used to hold on to exceptions thrown on the other side.
Definition: xmog_java_value.h:68
const char *const get_type_codes() const
Returns the array of typecodes.
Definition: xmog_java_value.h:159
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
jint type
The data type.
Definition: xmog_java_value.h:40
~xmog_remote_java_value()
jint size
The number of xmog_java_value instances in v.
Definition: xmog_java_value.h:112
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.