float proxies. This type wraps the Java float type in a proxy type that uses the JNI jfloat type to repesent 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).
More...
#include <xmog_java_field.h>
Inheritance diagram for xmog_float:


Public Member Functions | |
| xmog_float (xmog_java_array *_ref, jint _index) | |
Creates an instance that acts as a proxy for an element of a float array. | |
| xmog_float (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 float type. | |
| operator jfloat () const | |
A conversion operator to the float type. | |
| jfloat | operator * () const |
The dereference operator converts to the jfloat type. | |
| xmog_float & | operator= (jfloat) |
An assignment operator from the jfloat type. | |
| xmog_float & | operator+= (jfloat) |
The additive assignment operator from the jfloat type. | |
| xmog_float & | operator-= (jfloat) |
The subtractive assignment operator from the jfloat type. | |
| xmog_float & | operator *= (jfloat) |
The multiplicative assignment operator from the jfloat type. | |
| xmog_float & | operator/= (jfloat) |
The divisive assignment operator from the jfloat type. | |
| jfloat | get (xmog_localenv *env=NULL, bool readThrough=false) const |
Returns the value of a float proxy instance. | |
| void | set (jfloat f, xmog_localenv *env=NULL, bool writeThrough=false) |
Sets the value of a float proxy. | |
float proxies. This type wraps the Java float type in a proxy type that uses the JNI jfloat type to repesent 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).
|
||||||||||||
|
Creates an instance that acts as a proxy for an element of a
|
|
||||||||||||||||
|
Creates an instance that acts as a proxy for an indirect element of
|
|
||||||||||||
|
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. |
|
|
The multiplicative assignment operator from the
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
|
A conversion operator to the
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
|
The additive assignment operator from the
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
|
The subtractive assignment operator from the
This operator allows the use of proxy instances of this type in any place where the compiler expects a primitive |
|
|
The divisive assignment operator from the
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
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