#include <dart_list.h>
Definition at line 15 of file dart_list.h.
◆ DartList()
tonic::DartList::DartList |
( |
DartList && |
other | ) |
|
Definition at line 25 of file dart_list.cc.
26 : dart_handle_(other.dart_handle_),
27 size_(other.size_),
28 is_valid_(other.is_valid_) {
29 other.dart_handle_ = nullptr;
30 other.size_ = 0;
31 other.is_valid_ = false;
32}
◆ dart_handle()
Definition at line 32 of file dart_list.h.
32{ return dart_handle_; }
◆ Get() [1/2]
◆ Get() [2/2]
T tonic::DartList::Get |
( |
size_t |
index | ) |
|
|
inline |
Definition at line 28 of file dart_list.h.
28 {
29 return DartConverter<T>::FromDart(
Get(index));
30 }
Dart_Handle Get(size_t index)
◆ is_valid()
bool tonic::DartList::is_valid |
( |
| ) |
const |
|
inline |
◆ operator bool()
tonic::DartList::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ Set() [1/2]
void tonic::DartList::Set |
( |
size_t |
index, |
|
|
Dart_Handle |
value |
|
) |
| |
Definition at line 34 of file dart_list.cc.
34 {
36}
DART_EXPORT Dart_Handle Dart_ListSetAt(Dart_Handle list, intptr_t index, Dart_Handle value)
bool CheckAndHandleError(Dart_Handle handle)
◆ Set() [2/2]
void tonic::DartList::Set |
( |
size_t |
index, |
|
|
T |
value |
|
) |
| |
|
inline |
Definition at line 23 of file dart_list.h.
23 {
25 }
void Set(size_t index, Dart_Handle value)
Dart_Handle ToDart(const T &object)
◆ size()
size_t tonic::DartList::size |
( |
| ) |
const |
|
inline |
◆ DartConverter< DartList >
The documentation for this class was generated from the following files: