AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::jni::ArrayView< T > Class Template Reference

Java array view. More...

#include <AUI/JNI/ArrayView.h>

Public Member Functions

std::size_t size () const noexcept
 
template<aui::invocable< std::span< const T > > Callback>
void view (Callback &&callback) const
 
template<aui::invocable< std::span< T > > Callback>
void modify (Callback &&callback) const
 
void set (std::span< const T > data, std::size_t at=0)
 
 GlobalRef ()
 
 GlobalRef (jobject object)
 
 GlobalRef (const GlobalRef &object)
 
- Public Member Functions inherited from aui::jni::GlobalRef
 GlobalRef (jobject object)
 
 GlobalRef (const GlobalRef &object)
 
bool operator! () const
 
 operator bool () const
 
jobject asObject () const noexcept
 
jclass asClass () const noexcept
 

Static Public Member Functions

static ArrayView allocate (std::size_t size)
 
- Static Public Member Functions inherited from aui::jni::GlobalRef
static void assignLocalRef (GlobalRef &target, jobject value)
 

Detailed Description

template<convertible T>
class aui::jni::ArrayView< T >

Java array view.


The documentation for this class was generated from the following file:
Inheritance diagram for aui::jni::ArrayView< T >:
Collaboration diagram for aui::jni::ArrayView< T >: