#include <xmog_java_array.h>
Inheritance diagram for xmog_java_object_array:


Public Member Functions | |
| xmog_java_object_array () | |
| Creates an array instance that does not refer to any Java object. | |
| xmog_java_object_array (const xmog_null &) | |
| Creates an array instance that does not refer to any Java object. | |
| xmog_java_object_array (const xmog_java_object_array &, xmog_localenv *env=NULL) | |
| Creates an array instance that references the same Java object as the given object. | |
| xmog_java_object_array (xmog_java_array *_ref, jint _index) | |
| Creates an array instance that represents an array element itself. | |
| xmog_java_object_array (xmog_java_ref *_clazz_ref_array, xmog_java_dynamic *_dynamic, xmog_flags _flags=xmog_base::GLOBAL) | |
| Creates an indirect array instance. | |
| xmog_java_object_array (xmog_base *_delegate, bool _owns_delegate=true) | |
| Creates an array instance that delegates to another instance. | |
| xmog_java_object_array (jobject _local, xmog_flags _flags) | |
| Creates an array instance that represents a pre-existing JNI reference. | |
| xmog_java_object_array (jint size, xmog_java_class *clazz, xmog_localenv *env=NULL, xmog_flags flags=xmog_base::GLOBAL) | |
| Creates a new object array instance of a given length. | |
| xmog_java_ref | operator[] (jint index) |
Returns a proxy to a long array element, usable as a lhs-value. | |
| void | set (jint index, jobject v, xmog_localenv *env=NULL) |
| Sets a value into the array's specified element. | |
| jobject | operator[] (jint index) const |
| Returns the value of an array element. | |
| jobject | get (jint index, xmog_localenv *env) const |
| Returns the value of an array element. | |
| xmog_java_object_array & | operator= (const xmog_java_object_array &) |
| Sets the given instance's array reference into this instance. | |
Static Public Member Functions | |
| 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_class () |
| Returns the proxy wrapper instance for this array type. | |
| static xmog_java_class * | get_element_java_class () |
| Returns the proxy wrapper instance for this array's element type. | |
Protected Member Functions | |
| jarray | create (jint size, xmog_java_class *clazz, xmog_flags flags, xmog_localenv *env) |
| Creates an array instance of a certain element type and a certain size. | |
This is the super type for all object array types. In order to provide strongly typed access to arbitrary array types, we provide a template array type that takes a proxy type as a template argument. This type extends the xmog_java_object_array type and takes advantage of its basic features.
|
||||||||||||||||||||
|
Creates a new object array instance of a given length.
|
|
||||||||||||||||||||
|
Creates an array instance of a certain element type and a certain size.
|
|
||||||||||||
|
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.
Reimplemented in xmog_java_array_template< ElementType >. |
|
|
Returns a proxy to a
Reimplemented in xmog_java_array_template< ElementType >. |
|
||||||||||||||||
|
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.
|
1.4.1