Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_java_field.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 
6 #ifndef xmog_java_field_inc
7 #define xmog_java_field_inc
8 
9 
10 class xmog_java_class;
11 
12 
13 #include "xmog_java_dynamic.h"
14 #include "xmog_java_string.h"
15 
16 
36 class XMOG_DECLSPEC xmog_java_field : public xmog_java_dynamic
37 {
38 private:
39 
46  jfieldID fid_;
47 
51  xmog_java_class * clazz_;
52 
58  xmog_java_field * next_;
59 
63  char * name_;
64 
68  char * type_;
69 
73  bool bStatic_;
74 
75 public:
76 
77  friend class xmog_java_class;
78 
89  xmog_java_field( xmog_java_class * clazz, jfieldID fid, bool bStatic = false );
90 
101  xmog_java_field( xmog_java_class * clazz, const char * name, const char * type, bool bStatic = false );
102 
106  ~xmog_java_field();
107 
112  void * operator new ( size_t );
113 
118  void operator delete( void * );
119 
123  xmog_java_field * next();
124 
128  xmog_java_class * clazz();
129 
133  const char * name();
134 
138  const char * type();
139 
143  bool is_static() const;
144 
151  void set_fieldID( jfieldID fid );
152 
156  jfieldID get_fieldID();
157 
164  int initializeFieldID( xmog_localenv * env );
165 
174  virtual bool get_bool( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
175 
184  virtual jboolean get_jboolean( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
185 
194  virtual jbyte get_byte( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
195 
204  virtual jchar get_char( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
205 
214  virtual jdouble get_double( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
215 
224  virtual jfloat get_float( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
225 
234  virtual jint get_int( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
235 
244  virtual jlong get_long( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
245 
254  virtual jshort get_short( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
255 
264  virtual jobject get_jobject( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = xmog_base::GLOBAL ) ;
265 
276  virtual void get_void( xmog_base * obj, xmog_java_values * args = NULL, xmog_localenv * env = NULL, xmog_flags flags = 0 ) ;
277 
285  virtual void set_bool( xmog_base * obj, bool b, xmog_localenv * env = NULL ) ;
286 
294  virtual void set_jboolean( xmog_base * obj, jboolean b, xmog_localenv * env = NULL ) ;
295 
303  virtual void set_byte( xmog_base * obj, jbyte b, xmog_localenv * env = NULL ) ;
304 
312  virtual void set_char( xmog_base * obj, jchar ch, xmog_localenv * env = NULL ) ;
313 
321  virtual void set_double( xmog_base * obj, jdouble d, xmog_localenv * env = NULL ) ;
322 
330  virtual void set_float( xmog_base * obj, jfloat f, xmog_localenv * env = NULL ) ;
331 
339  virtual void set_int( xmog_base * obj, jint i, xmog_localenv * env = NULL ) ;
340 
348  virtual void set_long( xmog_base * obj, jlong l, xmog_localenv * env = NULL ) ;
349 
357  virtual void set_short( xmog_base * obj, jshort sh, xmog_localenv * env = NULL ) ;
358 
366  virtual void set_jobject( xmog_base * obj, jobject o, xmog_localenv * env = NULL ) ;
367 };
368 
369 
386 class XMOG_DECLSPEC xmog_bool : public xmog_base
387 {
388 private:
389 
396  bool theValue_;
397 
398 public:
399 
406  xmog_bool( xmog_java_array * _ref, jint _index );
407 
415  xmog_bool( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
416 
425  operator bool() const;
426 
432  bool operator * () const;
433 
442  xmog_bool & operator = ( bool );
443 
457  bool get( xmog_localenv * env = NULL, bool readThrough = false ) const;
458 
472  void set( bool b, xmog_localenv * env = NULL, bool writeThrough = false );
473 };
474 
475 
492 class XMOG_DECLSPEC xmog_jboolean : public xmog_base
493 {
494 private:
495 
502  jboolean theValue_;
503 
504 public:
505 
512  xmog_jboolean( xmog_java_array * _ref, jint _index );
513 
521  xmog_jboolean( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
522 
531  operator jboolean() const;
532 
538  jboolean operator * () const;
539 
548  xmog_jboolean & operator = ( jboolean );
549 
563  jboolean get( xmog_localenv * env = NULL, bool readThrough = false ) const;
564 
578  void set( jboolean b, xmog_localenv * env = NULL, bool writeThrough = false );
579 };
580 
581 
598 class XMOG_DECLSPEC xmog_byte : public xmog_base
599 {
600 private:
601 
608  jbyte theValue_;
609 
610 public:
611 
618  xmog_byte( xmog_java_array * _ref, jint _index );
619 
627  xmog_byte( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
628 
637  operator jbyte() const;
638 
644  jbyte operator * () const;
645 
654  xmog_byte & operator = ( jbyte );
655 
664  xmog_byte & operator |= ( jbyte );
665 
674  xmog_byte & operator &= ( jbyte );
675 
684  xmog_byte & operator ^= ( jbyte );
685 
690  xmog_byte & operator ++ ();
691 
696  xmog_byte & operator -- ();
697 
702  jbyte operator ++ (int);
703 
708  jbyte operator -- (int);
709 
718  xmog_byte & operator += ( jbyte );
719 
728  xmog_byte & operator -= ( jbyte );
729 
738  xmog_byte & operator *= ( int );
739 
748  xmog_byte & operator /= ( int );
749 
758  xmog_byte & operator %= ( int );
759 
768  xmog_byte & operator <<= ( int );
769 
778  xmog_byte & operator >>= ( int );
779 
793  jbyte get( xmog_localenv * env = NULL, bool readThrough = false ) const;
794 
808  void set( jbyte b, xmog_localenv * env = NULL, bool writeThrough = false );
809 };
810 
811 
820 class XMOG_DECLSPEC xmog_char : public xmog_base
821 {
822 private:
823 
830  jchar theValue_;
831 
832 public:
833 
840  xmog_char( xmog_java_array * _ref, jint _index );
841 
849  xmog_char( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
850 
862  operator int() const;
863 
869  int operator * () const;
870 
879  xmog_char & operator = ( int );
880 
889  xmog_char & operator |= ( int );
890 
899  xmog_char & operator &= ( int );
900 
909  xmog_char & operator ^= ( int );
910 
915  xmog_char & operator ++ ();
916 
921  xmog_char & operator -- ();
922 
927  jchar operator ++ (int);
928 
933  jchar operator -- (int);
934 
943  xmog_char & operator += ( int );
944 
953  xmog_char & operator -= ( int );
954 
963  xmog_char & operator *= ( int );
964 
973  xmog_char & operator /= ( int );
974 
983  xmog_char & operator %= ( int );
984 
993  xmog_char & operator <<= ( int );
994 
1003  xmog_char & operator >>= ( int );
1004 
1018  int get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1019 
1033  void set( int c, xmog_localenv * env = NULL, bool writeThrough = false );
1034 };
1035 
1036 
1045 class XMOG_DECLSPEC xmog_double : public xmog_base
1046 {
1047 private:
1048 
1055  jdouble theValue_;
1056 
1057 public:
1058 
1065  xmog_double( xmog_java_array * _ref, jint _index );
1066 
1074  xmog_double( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
1075 
1084  operator jdouble() const;
1085 
1091  jdouble operator * () const;
1092 
1101  xmog_double & operator = ( jdouble );
1102 
1111  xmog_double & operator += ( jdouble );
1112 
1121  xmog_double & operator -= ( jdouble );
1122 
1131  xmog_double & operator *= ( jdouble );
1132 
1141  xmog_double & operator /= ( jdouble );
1142 
1156  jdouble get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1157 
1171  void set( jdouble d, xmog_localenv * env = NULL, bool writeThrough = false );
1172 };
1173 
1174 
1183 class XMOG_DECLSPEC xmog_float : public xmog_base
1184 {
1185 private:
1186 
1193  jfloat theValue_;
1194 
1195 public:
1196 
1203  xmog_float( xmog_java_array * _ref, jint _index );
1204 
1212  xmog_float( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
1213 
1222  operator jfloat() const;
1223 
1229  jfloat operator * () const;
1230 
1239  xmog_float & operator = ( jfloat );
1240 
1249  xmog_float & operator += ( jfloat );
1250 
1259  xmog_float & operator -= ( jfloat );
1260 
1269  xmog_float & operator *= ( jfloat );
1270 
1279  xmog_float & operator /= ( jfloat );
1280 
1294  jfloat get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1295 
1309  void set( jfloat f, xmog_localenv * env = NULL, bool writeThrough = false );
1310 };
1311 
1312 
1321 class XMOG_DECLSPEC xmog_int : public xmog_base
1322 {
1323 private:
1324 
1331  jint theValue_;
1332 
1333 public:
1334 
1341  xmog_int( xmog_java_array * _ref, jint _index );
1342 
1350  xmog_int( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
1351 
1360  operator jint() const;
1361 
1367  jint operator * () const;
1368 
1377  xmog_int & operator = ( jint );
1378 
1387  xmog_int & operator &= ( jint );
1388 
1397  xmog_int & operator |= ( jint );
1398 
1407  xmog_int & operator ^= ( jint );
1408 
1417  xmog_int & operator %= ( jint );
1418 
1427  xmog_int & operator >>= ( int );
1428 
1437  xmog_int & operator <<= ( int );
1438 
1443  xmog_int & operator ++ ();
1444 
1449  xmog_int & operator -- ();
1450 
1455  jint operator ++ (int);
1456 
1461  jint operator -- (int);
1462 
1471  xmog_int & operator += ( jint );
1472 
1481  xmog_int & operator -= ( jint );
1482 
1491  xmog_int & operator *= ( jint );
1492 
1501  xmog_int & operator /= ( jint );
1502 
1516  jint get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1517 
1531  void set( jint i, xmog_localenv * env = NULL, bool writeThrough = false );
1532 };
1533 
1534 
1543 class XMOG_DECLSPEC xmog_long : public xmog_base
1544 {
1545 private:
1546 
1553  jlong theValue_;
1554 
1555 public:
1556 
1563  xmog_long( xmog_java_array * _ref, jint _index );
1564 
1572  xmog_long( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
1573 
1582  operator jlong() const;
1583 
1589  jlong operator * () const;
1590 
1599  xmog_long & operator = ( jlong );
1600 
1609  xmog_long & operator &= ( jlong );
1610 
1619  xmog_long & operator |= ( jlong );
1620 
1629  xmog_long & operator ^= ( jlong );
1630 
1639  xmog_long & operator %= ( jlong );
1640 
1649  xmog_long & operator >>= ( int );
1650 
1659  xmog_long & operator <<= ( int );
1660 
1665  xmog_long & operator ++ ();
1666 
1671  xmog_long & operator -- ();
1672 
1677  jlong operator ++ (int);
1678 
1683  jlong operator -- (int);
1684 
1693  xmog_long & operator += ( jlong );
1694 
1703  xmog_long & operator -= ( jlong );
1704 
1713  xmog_long & operator *= ( jlong );
1714 
1723  xmog_long & operator /= ( jlong );
1724 
1738  jlong get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1739 
1753  void set( jlong l, xmog_localenv * env = NULL, bool writeThrough = false );
1754 };
1755 
1756 
1765 class XMOG_DECLSPEC xmog_short : public xmog_base
1766 {
1767 private:
1768 
1775  jshort theValue_;
1776 
1777 public:
1778 
1785  xmog_short( xmog_java_array * _ref, jint _index );
1786 
1794  xmog_short( xmog_java_ref * _clazz_ref_array, xmog_java_dynamic * _dynamic, xmog_flags _flags = 0 );
1795 
1804  operator jshort() const;
1805 
1811  jshort operator * () const;
1812 
1821  xmog_short & operator = ( jshort );
1822 
1831  xmog_short & operator &= ( jshort );
1832 
1841  xmog_short & operator |= ( jshort );
1842 
1851  xmog_short & operator ^= ( jshort );
1852 
1861  xmog_short & operator %= ( jshort );
1862 
1871  xmog_short & operator >>= ( int );
1872 
1881  xmog_short & operator <<= ( int );
1882 
1887  xmog_short & operator ++ ();
1888 
1893  xmog_short & operator -- ();
1894 
1899  jshort operator ++ (int);
1900 
1905  jshort operator -- (int);
1906 
1915  xmog_short & operator += ( jshort );
1916 
1925  xmog_short & operator -= ( jshort );
1926 
1935  xmog_short & operator *= ( jshort );
1936 
1945  xmog_short & operator /= ( jshort );
1946 
1960  jshort get( xmog_localenv * env = NULL, bool readThrough = false ) const;
1961 
1975  void set( jshort s, xmog_localenv * env = NULL, bool writeThrough = false );
1976 };
1977 
1978 
1988 template < class FieldType > class xmog_field_t : public xmog_java_ref
1989 {
1990 public:
1991 
1999  xmog_field_t( xmog_java_ref * _inst, xmog_java_dynamic * _dynamic, xmog_flags _flags = xmog_base::GLOBAL ) :
2000  xmog_java_ref( _inst, _dynamic, _flags )
2001  {
2002  }
2003 
2009  FieldType operator = ( const FieldType & _inst )
2010  {
2011  this->copy_jobject_( &_inst );
2012  }
2013 
2019  FieldType operator = ( const xmog_null & _null_inst )
2020  {
2021  xmog_base temp;
2022 
2023  this->set_jobject_( &temp );
2024  }
2025 
2029  operator FieldType() const
2030  {
2031  return FieldType( (xmog_java_ref*)XMOG_JOBJECT_VALUE(owner_), dynamic_, flags_ );
2032  }
2033 
2039  FieldType operator * () const
2040  {
2041  return FieldType( (xmog_java_ref*)XMOG_JOBJECT_VALUE(owner_), dynamic_, flags_ );
2042  }
2043 
2047  operator FieldType()
2048  {
2049  return FieldType( (xmog_java_ref*)XMOG_JOBJECT_VALUE(owner_), dynamic_, flags_ );
2050  }
2051 
2052 };
2053 
2054 
2064 template < class FieldType > class xmog_string_field_t : public xmog_field_t< FieldType >
2065 {
2066 public:
2067 
2068  xmog_string_field_t( xmog_java_ref * _inst, xmog_java_dynamic * _dynamic, xmog_flags _flags = xmog_base::GLOBAL ) :
2069  xmog_field_t< FieldType>( _inst, _dynamic, _flags )
2070  {
2071  }
2072 
2073  FieldType operator = ( const char * _str )
2074  {
2075  xmog_java_string::from_char( (xmog_base*)this, xmog_base::GLOBAL, _str, -1, NULL );
2076  return this->operator FieldType();
2077  }
2078 
2079 # if (XMOG_SUPPORTS_WCHAR_T==1)
2080  FieldType operator = ( const XMOG_WCHAR * _wstr )
2081  {
2082  xmog_java_string::from_wchar( (xmog_base*)this, xmog_base::GLOBAL, _wstr, -1, NULL );
2083  return this->operator FieldType();
2084  }
2085 # endif
2086 
2087 # if (XMOG_REQUIRES_UNSIGNED_SHORT_OVERLOAD==1)
2088  FieldType operator = ( const unsigned short * _wstr )
2089  {
2090  xmog_java_string::from_wchar( (xmog_base*)this, xmog_base::GLOBAL, (XMOG_WCHAR*)_wstr, -1, NULL );
2091  return this->operator FieldType();
2092  }
2093 # endif
2094 
2095 };
2096 
2097 #endif /* xmog_java_field_inc */
xmog_byte
A wrapper type for byte proxies.
Definition: xmog_java_field.h:598
xmog_java_dynamic::get_bool
virtual bool get_bool(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the bool value of a dynamic proxy.
xmog_base::flags
flags
The possible flag values.
Definition: xmog_base.h:383
xmog_long
A wrapper type for long proxies. This type wraps the Java long type in a proxy type that uses the JNI...
Definition: xmog_java_field.h:1543
xmog_base::flags_
xmog_flags flags_
The flags governing the type and other housekeeping information.
Definition: xmog_base.h:370
xmog_java_values
A helper type used to convey Java arguments around inside the framework.
Definition: xmog_java_value.h:105
xmog_java_dynamic::set_jboolean
virtual void set_jboolean(xmog_base *obj, jboolean b, xmog_localenv *env=NULL)=0
Sets a jboolean value of a dynamic instance.
xmog_int
A wrapper type for int proxies. This type wraps the Java int type in a proxy type that uses the JNI j...
Definition: xmog_java_field.h:1321
xmog_java_dynamic::get_double
virtual jdouble get_double(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the double value of a dynamic proxy.
xmog_java_dynamic::get_void
virtual void get_void(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Dynamically resolves a reference that evaluates to a void value.
xmog_string_field_t
A template type that is used by field instances that might be initialized with string literals.
Definition: xmog_java_field.h:2064
xmog_field_t
A template type that is used to represent instance fields in generated proxy classes.
Definition: xmog_java_field.h:1988
xmog_field_t::operator=
FieldType operator=(const FieldType &_inst)
The assignment operator.
Definition: xmog_java_field.h:2009
xmog_field_t::xmog_field_t
xmog_field_t(xmog_java_ref *_inst, xmog_java_dynamic *_dynamic, xmog_flags _flags=xmog_base::GLOBAL)
The constructor of a field template instance.
Definition: xmog_java_field.h:1999
xmog_java_dynamic::set_long
virtual void set_long(xmog_base *obj, jlong l, xmog_localenv *env=NULL)=0
Sets a long value of a dynamic instance.
xmog_java_dynamic::set_bool
virtual void set_bool(xmog_base *obj, bool b, xmog_localenv *env=NULL)=0
Sets a bool value of a dynamic instance.
xmog_java_dynamic
The baseclass for types that dynamically derive the value of Java proxy items.
Definition: xmog_java_dynamic.h:28
xmog_base::set_jobject_
virtual void set_jobject_(xmog_base *_rhs, xmog_localenv *env=NULL)
Sets this instance's object reference to the given object's reference.
xmog_java_dynamic::get_byte
virtual jbyte get_byte(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the jbyte value of a dynamic proxy.
xmog_java_dynamic::get_long
virtual jlong get_long(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the long value of a dynamic proxy.
xmog_java_field
A class implementing the xmog_java_dynamic interface for accessing Java fields via JNI or Codemesh's ...
Definition: xmog_java_field.h:36
xmog_java_string::from_char
static jstring from_char(const char *_str, jint _len=-1, xmog_base *_enc=NULL, xmog_localenv *env=NULL, xmog_base *pStr=NULL, char **pCache=NULL)
Returns a jstring for the given character string.
xmog_java_dynamic::get_jboolean
virtual jboolean get_jboolean(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the jboolean value of a dynamic proxy.
xmog_base::owner_
XMOG_JOBJECT_HOLDER owner_
The owner or identity of the object.
Definition: xmog_base.h:337
xmog_base::dynamic_
xmog_java_dynamic * dynamic_
A pointer to an object that can access indirectly specified information.
Definition: xmog_base.h:359
xmog_field_t::operator*
FieldType operator*() const
The dereference operator converts to the FieldType type.
Definition: xmog_java_field.h:2039
xmog_java_dynamic::get_short
virtual jshort get_short(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the short value of a dynamic proxy.
xmog_java_dynamic::set_int
virtual void set_int(xmog_base *obj, jint i, xmog_localenv *env=NULL)=0
Sets an int value of a dynamic instance.
xmog_base
The baseclass for all proxy types in the framework.
Definition: xmog_base.h:29
xmog_float
A wrapper type for float proxies. This type wraps the Java float type in a proxy type that uses the J...
Definition: xmog_java_field.h:1183
xmog_java_dynamic::set_jobject
virtual void set_jobject(xmog_base *obj, jobject o, xmog_localenv *env=NULL)=0
Sets an object reference into a dynamic instance.
xmog_short
A wrapper type for short proxies. This type wraps the Java short type in a proxy type that uses the J...
Definition: xmog_java_field.h:1765
xmog_java_dynamic::get_char
virtual jchar get_char(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the jchar value of a dynamic proxy.
xmog_localenv
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
xmog_java_dynamic::get_int
virtual jint get_int(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the int value of a dynamic proxy.
xmog_java_dynamic::set_float
virtual void set_float(xmog_base *obj, jfloat f, xmog_localenv *env=NULL)=0
Sets a float value of a dynamic instance.
xmog_java_ref
The wrapper base type representing C++ proxy instances for Java objects.
Definition: xmog_java_ref.h:19
xmog_jboolean
A wrapper type for boolean proxies.
Definition: xmog_java_field.h:492
xmog_java_dynamic::set_short
virtual void set_short(xmog_base *obj, jshort sh, xmog_localenv *env=NULL)=0
Sets a short value of a dynamic instance.
xmog_java_dynamic::get_jobject
virtual jobject get_jobject(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=xmog_base::GLOBAL)=0
Returns the jobject value of a dynamic proxy.
xmog_base::copy_jobject_
virtual void copy_jobject_(xmog_base *_rhs, xmog_localenv *env=NULL)
Sets this instance's object reference to a duplicate of the given object's reference.
xmog_char
A wrapper type for character proxies. This type wraps the Java char type in a proxy type that uses th...
Definition: xmog_java_field.h:820
xmog_java_array
The baseclass for all Java proxy array types.
Definition: xmog_java_array.h:456
xmog_java_dynamic::set_byte
virtual void set_byte(xmog_base *obj, jbyte b, xmog_localenv *env=NULL)=0
Sets a jbyte value of a dynamic instance.
xmog_java_dynamic::set_double
virtual void set_double(xmog_base *obj, jdouble d, xmog_localenv *env=NULL)=0
Sets a double value of a dynamic instance.
xmog_java_class
A C++ wrapper for Java types.
Definition: xmog_java_class.h:31
xmog_double
A wrapper type for double proxies. This type wraps the Java double type in a proxy type that uses the...
Definition: xmog_java_field.h:1045
xmog_bool
A wrapper type for boolean proxies.
Definition: xmog_java_field.h:386
xmog_null
A type representing null references.
Definition: xmog_null.h:53
xmog_java_dynamic::set_char
virtual void set_char(xmog_base *obj, jchar ch, xmog_localenv *env=NULL)=0
Sets a jchar value of a dynamic instance.
xmog_java_dynamic::get_float
virtual jfloat get_float(xmog_base *obj, xmog_java_values *args=NULL, xmog_localenv *env=NULL, xmog_flags flags=0)=0
Returns the float value of a dynamic proxy.

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