|
JNIpp 1.0
JNI meets C++
|
Wrapper for primitive arrays (like int[]).
More...
Public Member Functions | |
| PrimitiveArray (jsize length) | |
| Creates primitive array of the specified length and wraps it. | |
| PrimitiveArray (const jni::LObject &array) | |
Wraps array. | |
| jsize | GetLength () const |
| Returns length of the array. | |
| JType | GetAt (jsize index) const |
| Returns value at the specified index. | |
| void | SetAt (jsize index, JType value) |
| Sets value at the specified index. | |
| void | GetRegion (jsize start, jsize length, JType *buffer) const |
| Copies specified region to the buffer. | |
| void | SetRegion (jsize start, jsize length, const JType *elements) |
| Updates specifies region in the array. | |
Wrapper for primitive arrays (like int[]).
You don't need to use this class, use typedefs like java::PIntArray instead.