Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_java_dynamic.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 
6 #ifndef xmog_java_dynamic_inc
7 #define xmog_java_dynamic_inc
8 
9 
10 struct xmog_base;
11 class xmog_localenv;
12 
13 
14 #include "xmog.h"
15 #include "xmog_java_value.h"
16 
17 
28 class XMOG_DECLSPEC xmog_java_dynamic
29 {
30 public:
31 
35  int handleException( int error_code, xmog_localenv * env = NULL );
36 
48  virtual bool get_bool( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
49 
50 
62  virtual jboolean get_jboolean( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
63 
64 
76  virtual jbyte get_byte( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
77 
78 
90  virtual jchar get_char( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
91 
92 
104  virtual jdouble get_double( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
105 
106 
118  virtual jfloat get_float( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
119 
120 
132  virtual jint get_int( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
133 
134 
146  virtual jlong get_long( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
147 
148 
160  virtual jshort get_short( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
161 
162 
174  virtual jobject get_jobject( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = xmog_base::GLOBAL ) = 0;
175 
176 
190  virtual void get_void( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) = 0;
191 
201  virtual void set_bool( xmog_base * obj, bool b, xmog_localenv * env = NULL ) = 0;
202 
212  virtual void set_jboolean( xmog_base * obj, jboolean b, xmog_localenv * env = NULL ) = 0;
213 
223  virtual void set_byte( xmog_base * obj, jbyte b, xmog_localenv * env = NULL ) = 0;
224 
234  virtual void set_char( xmog_base * obj, jchar ch, xmog_localenv * env = NULL ) = 0;
235 
245  virtual void set_double( xmog_base * obj, jdouble d, xmog_localenv * env = NULL ) = 0;
246 
256  virtual void set_float( xmog_base * obj, jfloat f, xmog_localenv * env = NULL ) = 0;
257 
267  virtual void set_int( xmog_base * obj, jint i, xmog_localenv * env = NULL ) = 0;
268 
278  virtual void set_long( xmog_base * obj, jlong l, xmog_localenv * env = NULL ) = 0;
279 
289  virtual void set_short( xmog_base * obj, jshort sh, xmog_localenv * env = NULL ) = 0;
290 
300  virtual void set_jobject( xmog_base * obj, jobject o, xmog_localenv * env = NULL ) = 0;
301 };
302 
303 
304 #endif /* xmog_java_dynamic_inc */
xmog_java_values
A helper type used to convey Java arguments around inside the framework.
Definition: xmog_java_value.h:105
xmog_java_dynamic
The baseclass for types that dynamically derive the value of Java proxy items.
Definition: xmog_java_dynamic.h:28
xmog_base
The baseclass for all proxy types in the framework.
Definition: xmog_base.h:29
xmog_localenv
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.