spla
|
Array interface implementation with type information bound. More...
#include <tarray.hpp>
Public Member Functions | |
TArray (uint n_values) | |
~TArray () override=default | |
uint | get_n_values () override |
ref_ptr< Type > | get_type () override |
Status | set_int (uint i, T_INT value) override |
Status | set_uint (uint i, T_UINT value) override |
Status | set_float (uint i, T_FLOAT value) override |
Status | get_int (uint i, T_INT &value) override |
Status | get_uint (uint i, T_UINT &value) override |
Status | get_float (uint i, T_FLOAT &value) override |
Status | resize (uint n_values) override |
Status | build (const ref_ptr< MemView > &view) override |
Status | read (ref_ptr< MemView > &view) override |
Status | clear () override |
void | set_label (std::string label) override |
const std::string & | get_label () const override |
const std::vector< T > & | data () const |
std::vector< T > & | data () |
![]() | |
~Array () override=default | |
![]() | |
~Object () override=default | |
![]() | |
virtual | ~RefCnt () |
bool | is_unique () const |
std::int32_t | get_refs () const |
std::int32_t | add_ref () const |
std::int32_t | rel_ref () const |
Additional Inherited Members | |
![]() | |
static ref_ptr< Array > | make (uint n_values, const ref_ptr< Type > &type) |
Array interface implementation with type information bound.
T | Type of stored elements |
|
overridedefault |
|
inline |
|
inline |