CACAO
Public Member Functions
LongArray Class Reference
Inheritance diagram for LongArray:
ArrayTemplate< int64_t > Array

Public Member Functions

 LongArray (java_handle_longarray_t *h)
 
 LongArray (int32_t length)
 
int64_t * get_raw_data_ptr ()
 
- Public Member Functions inherited from ArrayTemplate< int64_t >
 ArrayTemplate (java_handle_array_t *h)
 
int64_t get_element (int32_t index)
 
void set_element (int32_t index, int64_tvalue)
 
void get_region (int32_t offset, int32_t count, int64_t *buffer)
 
void set_region (int32_t offset, int32_t count, const int64_t *buffer)
 
- Public Member Functions inherited from Array
 Array (java_handle_t *h)
 Constructor checks if passed handle really is a Java array. More...
 
 Array (int32_t length, classinfo *arrayclass)
 Creates an array of the given array type on the heap. More...
 
virtual ~Array ()
 
virtual java_handle_array_tget_handle () const
 
int32_t get_length () const
 
bool is_null () const
 
bool is_non_null () const
 
imm_union get_primitive_element (int32_t index)
 Returns a primitive element of the given Java array. More...
 
void set_primitive_element (int32_t index, imm_union value)
 Sets a primitive element in the given Java array. More...
 
java_handle_tget_boxed_element (int32_t index)
 Returns a boxed element of the given Java array. More...
 
void set_boxed_element (int32_t index, java_handle_t *o)
 Sets a boxed element in the given Java array. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayTemplate< int64_t >
 ArrayTemplate (int32_t length, classinfo *arrayclass)
 
- Protected Attributes inherited from Array
java_handle_array_t_handle
 

Detailed Description

Definition at line 357 of file array.hpp.

Constructor & Destructor Documentation

LongArray::LongArray ( java_handle_longarray_t h)
inline

Definition at line 359 of file array.hpp.

LongArray::LongArray ( int32_t  length)
inline

Definition at line 360 of file array.hpp.

Member Function Documentation

int64_t* LongArray::get_raw_data_ptr ( )
inlinevirtual

Implements ArrayTemplate< int64_t >.

Definition at line 361 of file array.hpp.


The documentation for this class was generated from the following file: