#include <xmog_java_array.h>
Inheritance diagram for xmog_java_array_template< ElementType >:


Public Types | |
| typedef ptrdiff_t | difference_type |
| The type used to represent pointer differences. | |
|
typedef xmog_array_iterator< xmog_java_array_template< ElementType > > | iterator |
| The iterator type for arrays of object type. | |
|
typedef xmog_holder_template< ElementType > | 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. | |
|
xmog_java_array_template< ElementType > & | operator= (const xmog_java_array_template< ElementType > &_rhs) |
| Sets the given Java array reference into this instance. | |
| xmog_holder_template< ElementType > | operator[] (jint index) const |
| Returns the array element of the given index. | |
| xmog_holder_template< ElementType > | operator[] (jint index) |
| Returns the array element of the given index. | |
| XMOG_EXPLICIT | xmog_java_array_template (jint size, xmog_localenv *env=NULL, xmog_flags flags=xmog_base::GLOBAL) |
| Creates a new object array instance of a given length. | |
| XMOG_EXPLICIT | xmog_java_array_template (jobject _local, xmog_flags _flags) |
| Creates an array instance that represents a pre-existing JNI reference. | |
| XMOG_EXPLICIT | xmog_java_array_template (xmog_base *_delegate, bool bOwnsDelegate) |
| Creates an array instance that delegates to another instance. | |
| XMOG_EXPLICIT | xmog_java_array_template (xmog_java_ref *_clazz_ref_array, xmog_java_dynamic *_dynamic, xmog_flags _flags=xmog_base::GLOBAL) |
| Creates an indirect array instance. | |
| XMOG_EXPLICIT | xmog_java_array_template (xmog_java_array *_ref, jint _index) |
| Creates an array instance that represents an array element itself. | |
| xmog_java_array_template (const xmog_java_array_template< ElementType > &_rhs, xmog_localenv *_env=NULL) | |
| Creates an array instance that does represents the same Java instance as the given array instance. | |
| xmog_java_array_template (const xmog_null &) | |
| Creates an array instance that does not represent a Java instance. | |
| xmog_java_array_template () | |
| Creates an array instance that does not represent a Java instance. | |
Static Public Member Functions | |
| static xmog_java_array_template< ElementType > | 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. | |
|
||||||||||||||||
|
Creates an array instance that delegates to another instance.
|
|
||||||||||||||||||||
|
Creates a new object array instance of a given length.
|
|
||||||||||||||||||||
|
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
|
|
||||||||||
|
Returns the array element of the given index.
Reimplemented from xmog_java_object_array. |
1.4.1