double[] type.
More...
#include <xmog_java_array.h>
Inheritance diagram for xmog_java_double_array:


Public Types | |
| typedef ptrdiff_t | difference_type |
| The type used to represent pointer differences. | |
|
typedef xmog_array_iterator< xmog_java_double_array > | iterator |
| The iterator type for arrays of double type. | |
| typedef xmog_double | value_type |
| The type returned by the dereference operations. | |
Public Member Functions | |
| iterator | begin () |
| Returns an iterator pointing to the first array element. | |
| iterator | end () |
| Returns an iterator pointing to after the last array element. | |
| void | from_native (jdouble *src_arr, jint dest_start, jsize length, xmog_localenv *env=NULL) |
| Copies elements from a native array into the Java array. | |
| jdouble | get (jint index, xmog_localenv *env) const |
| Returns the value of an array element. | |
| xmog_java_double_array & | operator= (const xmog_java_double_array &) |
| Sets the given instance's array reference into this instance. | |
| jdouble | operator[] (jint index) const |
| Returns the value of an array element. | |
| xmog_double | operator[] (jint index) |
Returns a proxy to a double array element, usable as a lhs-value. | |
| void | set (jint index, jdouble v, xmog_localenv *env=NULL) |
| Sets a value into the array's specified element. | |
| void | to_native (jdouble *dest_arr, jint src_start, jsize length, xmog_localenv *env=NULL) |
| Copies elements from the Java array into a native array. | |
| xmog_java_double_array (jdouble *arr, jsize size, xmog_localenv *env=NULL, xmog_flags=xmog_base::GLOBAL) | |
Creates a new array instance from a native double[]. | |
| xmog_java_double_array (jint size, xmog_localenv *env=NULL, xmog_flags=xmog_base::GLOBAL) | |
| Creates a new array instance of a given size. | |
| xmog_java_double_array (jobject _local, xmog_flags _flags) | |
| Creates an array instance that represents a pre-existing JNI reference. | |
| xmog_java_double_array (xmog_base *_delegate, bool _owns_delegate=true) | |
| Creates an array instance that delegates to another instance. | |
| xmog_java_double_array (xmog_java_ref *_clazz_ref_array, xmog_java_dynamic *_dynamic, xmog_flags _flags=xmog_base::GLOBAL) | |
| Creates an indirect array instance. | |
| xmog_java_double_array (xmog_java_array *_ref, jint _index) | |
| Creates an array instance that represents an array element itself. | |
| xmog_java_double_array (const xmog_java_double_array &, xmog_localenv *env=NULL) | |
| Creates an array instance that refers to the same Java instance as the given array. | |
| xmog_java_double_array (const xmog_null &) | |
| Creates an array instance that does not refer to any Java object. | |
| xmog_java_double_array () | |
| Creates an array instance that does not refer to any Java object. | |
Static Public Member Functions | |
| static xmog_java_double_array | dyna_cast (const xmog_java_ref &_rhs, xmog_localenv *p_lxenv=NULL, xmog_flags flags=xmog_base::GLOBAL) |
| A framework method which allows a "cast" of the given object to this array type. | |
| static xmog_java_class * | get_class () |
| Returns the proxy wrapper instance for this array type. | |
| static xmog_java_dynamic * | get_dynamic () |
| Returns an xmog_java_dynamic instance that can be used to access the array elements of this type. | |
| static xmog_java_class * | get_element_java_class () |
| Returns the proxy wrapper instance for this array's element type. | |
double[] type.
|
||||||||||||||||
|
Creates a new array instance of a given size.
|
|
||||||||||||||||||||
|
Creates a new array instance from a native
|
|
||||||||||||||||
|
A framework method which allows a "cast" of the given object to this array type.
You use this method in all places where you would use an explicit class cast in Java. It creates a new instance of the correct type and sets the peer object into it if the peer instance is type compatible. If the peer instance is not type compatible, the newly created object will refer to
|
|
||||||||||||||||||||
|
Copies elements from a native array into the Java array.
|
|
||||||||||||
|
Returns the value of an array element. This method provides the same functionality as the subscript operator, but coupled with the ability to pass in a local call environment for a slight edge in performance.
|
|
|
Returns the value of an array element.
|
|
|
Returns a proxy to a
|
|
||||||||||||||||
|
Sets a value into the array's specified element. This method allows direct assignment into an array element while optionally using a provided local call environment. Consequently it will be higher performing than the subscript operator which provides similar functionality in combination with an assignment operation.
|
|
||||||||||||||||||||
|
Copies elements from the Java array into a native array.
|
1.4.1