|
Codemesh Runtime v3 C++ API Reference
3.9.205
|
The proxy type representing the length of an array. More...
#include <xmog_java_array.h>
Public Member Functions | |
| XMOG_EXPLICIT | xmog_java_array_size (xmog_java_array *owner, jint size=-1) |
| The constructor taking an optional array length as input. More... | |
| operator jint () const | |
A conversion operator to jint. More... | |
| jint | to_jint (xmog_localenv *env) const |
A higher performance alternative to the jint conversion operator. More... | |
Friends | |
| class | xmog_java_array |
The proxy type representing the length of an array.
This type is only used to represent length fields of proxy arrays.
| XMOG_EXPLICIT xmog_java_array_size::xmog_java_array_size | ( | xmog_java_array * | owner, |
| jint | size = -1 |
||
| ) |
The constructor taking an optional array length as input.
| owner | the array instance that owns the field. |
| size | the array length. The default value is -1, which means that we don't have a pre-cached value for the array length. |
| xmog_java_array_size::operator jint | ( | ) | const |
A conversion operator to jint.
This function allows the length field to be used anywhere where a jint is expected.
| jint xmog_java_array_size::to_jint | ( | xmog_localenv * | env | ) | const |
A higher performance alternative to the jint conversion operator.
This function is synonymous to operator jint(), but it takes a local call environment as an argument.
| env | the local environment used in this call. This value may be NULL. |