#include <xmog_java_field.h>
Inheritance diagram for xmog_jboolean:


Public Member Functions | |
| jboolean | get (xmog_localenv *env=NULL, bool readThrough=false) const |
Returns the value of a bool proxy instance. | |
| jboolean | operator * () const |
The dereference operator converts to the jboolean type. | |
| operator jboolean () const | |
A conversion operator to the JNI jboolean type. | |
| xmog_jboolean & | operator= (jboolean) |
An assignment operator from the JNI jboolean type. | |
| void | set (jboolean b, xmog_localenv *env=NULL, bool writeThrough=false) |
Sets the value of a bool proxy. | |
| xmog_jboolean (xmog_java_ref *_clazz_ref_array, xmog_java_dynamic *_dynamic, xmog_flags _flags=0) | |
| Creates an instance that acts as a proxy for an indirect element of boolean type. | |
| xmog_jboolean (xmog_java_array *_ref, jint _index) | |
| Creates an instance that acts as a proxy for an element of a boolean array. | |
This type wraps the Java boolean type in a proxy type that uses the JNI type jboolean to represent the Java type. Conversion operators allow convenient usage while the get/set methods take an optional xmog_localenv argument for better performance (by saving at least a threadlocal memory access). The set(jboolean,xmog_localenv*,bool) method also takes an optional bool argument that governs whether the change should be written through to the Java side unconditionally, ignoring a possibly set CACHE_LAZY_WRITE flag.
Primitive proxy types only exist in two flavors: as array elements and as fields (static and instance). There are two contructors to support those two flavors.
|
||||||||||||
|
Creates an instance that acts as a proxy for an element of a boolean array.
|
|
||||||||||||||||
|
Creates an instance that acts as a proxy for an indirect element of boolean type.
|
|
||||||||||||
|
Returns the value of a This method takes two optional arguments that can be used to improve overall performance or force a read from the Java side even if a cached value is available.
|
|
|
The dereference operator converts to the This operator is declared to support array iterators. |
|
|
A conversion operator to the JNI
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
|
An assignment operator from the JNI
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
||||||||||||||||
|
Sets the value of a
This method takes two optional arguments that can be used to improve overall performance or force a write to the Java side even if the
|
1.4.1