spla
Public Member Functions | Static Public Member Functions | List of all members
spla::TVector< T > Class Template Referencefinal

Vector interface implementation with type information bound. More...

#include <tvector.hpp>

Inheritance diagram for spla::TVector< T >:
Inheritance graph
[legend]
Collaboration diagram for spla::TVector< T >:
Collaboration graph
[legend]

Public Member Functions

 TVector (uint n_rows)
 
 ~TVector () override=default
 
uint get_n_rows () override
 
ref_ptr< Typeget_type () override
 
void set_label (std::string label) override
 
const std::string & get_label () const override
 
Status set_format (FormatVector format) override
 
Status set_fill_value (const ref_ptr< Scalar > &value) override
 
Status set_reduce (ref_ptr< OpBinary > resolve_duplicates) override
 
Status set_int (uint row_id, std::int32_t value) override
 
Status set_uint (uint row_id, std::uint32_t value) override
 
Status set_float (uint row_id, float value) override
 
Status get_int (uint row_id, int32_t &value) override
 
Status get_uint (uint row_id, uint32_t &value) override
 
Status get_float (uint row_id, float &value) override
 
Status fill_noize (uint seed) override
 
Status fill_with (const ref_ptr< Scalar > &value) override
 
Status build (const ref_ptr< MemView > &keys, const ref_ptr< MemView > &values) override
 
Status read (ref_ptr< MemView > &keys, ref_ptr< MemView > &values) override
 
Status clear () override
 
template<typename Decorator >
Decorator * get ()
 
void validate_rw (FormatVector format)
 
void validate_rwd (FormatVector format)
 
void validate_wd (FormatVector format)
 
void validate_ctor (FormatVector format)
 
bool is_valid (FormatVector format) const
 
get_fill_value () const
 
- Public Member Functions inherited from spla::Vector
 ~Vector () override=default
 
virtual Status get_int (uint row_id, T_INT &value)=0
 
virtual Status get_uint (uint row_id, T_UINT &value)=0
 
- Public Member Functions inherited from spla::Object
 ~Object () override=default
 
- Public Member Functions inherited from spla::RefCnt
virtual ~RefCnt ()
 
bool is_unique () const
 
std::int32_t get_refs () const
 
std::int32_t add_ref () const
 
std::int32_t rel_ref () const
 

Static Public Member Functions

static StorageManagerVector< T > * get_storage_manager ()
 
- Static Public Member Functions inherited from spla::Vector
static ref_ptr< Vectormake (uint n_rows, const ref_ptr< Type > &type)
 Make new vector instance with specified dim and values type. More...
 

Detailed Description

template<typename T>
class spla::TVector< T >

Vector interface implementation with type information bound.

Template Parameters
TType of stored elements

Constructor & Destructor Documentation

◆ ~TVector()

template<typename T >
spla::TVector< T >::~TVector ( )
overridedefault

Member Function Documentation

◆ get()

template<typename T >
template<typename Decorator >
Decorator* spla::TVector< T >::get ( )
inline

◆ get_fill_value()

template<typename T >
T spla::TVector< T >::get_fill_value ( ) const
inline

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