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


Public Member Functions | |
| jint | get_length (xmog_localenv *env) const |
| A higher performance alternative to querying the array length. | |
| void | xmog_invalidate (xmog_localenv *env=NULL) |
| Invalidates any cached values in the instance. | |
| xmog_java_array (xmog_java_ref *_ref, xmog_java_dynamic *_dynamic, xmog_flags _flags) | |
| The constructor that allows the dynamic resolution of instance-related information. | |
| xmog_java_array (xmog_base *_delegate, bool _owns_delegate=true) | |
| The constructor that allows the creation of an instance to handle all requests by delegating to another instance. | |
| xmog_java_array (xmog_java_class *_clazz, xmog_java_dynamic *_dynamic, xmog_flags _flags) | |
| The constructor that allows the dynamic resolution of class-related information. | |
| xmog_java_array (xmog_java_array *_arr, jint _index) | |
| The array element constructor. | |
| xmog_java_array (const xmog_java_array &_rhs, xmog_localenv *env=NULL) | |
| The copy constructor. | |
| xmog_java_array (const xmog_null &) | |
The from null constructor. | |
| xmog_java_array (jobject array, xmog_flags flags, jint size=-1, xmog_localenv *env=NULL) | |
| The constructor that creates an instance from an existing reference. | |
| xmog_java_array () | |
| A default constructor to satisfy virtual inheritance semantics. | |
| ~xmog_java_array () | |
| The destructor invalidates the length field. | |
Public Attributes | |
| xmog_java_array_size | length |
| The array length. | |
Protected Member Functions | |
| void | copy_ (const xmog_java_array &_rhs, xmog_localenv *env=NULL) |
| Updates this instance to reflect the given instance's state. | |
|
||||||||||||||||||||
|
The constructor that creates an instance from an existing reference.
|
|
|
The from This constructor is synonymous to the default constructor and creates an instance that does not refer to any Java instance. |
|
||||||||||||
|
The copy constructor.
|
|
||||||||||||
|
The array element constructor. This is really just a convenience constructor that helps improve the performance of accessing array elements. The same could be achieved by using the version of the constructor that takes an xmog_java_ref and xmog_java_dynamic as input.
|
|
||||||||||||||||
|
The constructor that allows the dynamic resolution of class-related information. This is the constructor that's used when we're creating support for static methods and fields.
|
|
||||||||||||
|
The constructor that allows the creation of an instance to handle all requests by delegating to another instance. This is the constructor that's used when we want to maintain a dynamically allocated instance inside another instance. This will for example allow us to have a more derived concrete instance maintained in a stack-based less concrete instance that is returned by a method call.
|
|
||||||||||||||||
|
The constructor that allows the dynamic resolution of instance-related information. This is the constructor that's used when we're creating support for instance methods and fields.
|
|
|
A higher performance alternative to querying the array length.
|
|
|
Invalidates any cached values in the instance.
Reimplemented from xmog_base. |
|
|
The array length.
This field can be used in every place where the compiler expects a |
1.4.1