spla
Public Member Functions | List of all members
spla::TDecorationStorage< T, F, capacity > Class Template Reference

Storage for decorators with data of a particular vector or matrix object. More...

#include <tdecoration.hpp>

Public Member Functions

ref_ptr< TDecoration< T > > & get_ref_i (int index)
 
TDecoration< T > * get_ptr_i (int index)
 
ref_ptr< TDecoration< T > > & get_ref (F format)
 
TDecoration< T > * get_ptr (F format)
 
template<class DecorationClass >
DecorationClass * get ()
 
bool is_valid_any () const
 
bool is_valid_i (int index) const
 
bool is_valid (F format) const
 
void validate (F format)
 
void invalidate ()
 
void set_fill_value (T value)
 
get_fill_value () const
 
uint get_n_rows () const
 
uint get_n_cols () const
 
void set_dims (uint n_rows, uint n_cols)
 

Detailed Description

template<typename T, typename F, int capacity>
class spla::TDecorationStorage< T, F, capacity >

Storage for decorators with data of a particular vector or matrix object.

Template Parameters
TType of elements stored in decorators
FFormat of stored data
capacityStatic storage capacity to allocate decorators

Member Function Documentation

◆ get()

template<typename T , typename F , int capacity>
template<class DecorationClass >
DecorationClass* spla::TDecorationStorage< T, F, capacity >::get ( )
inline

◆ get_fill_value()

template<typename T , typename F , int capacity>
T spla::TDecorationStorage< T, F, capacity >::get_fill_value ( ) const
inline

◆ get_n_cols()

template<typename T , typename F , int capacity>
uint spla::TDecorationStorage< T, F, capacity >::get_n_cols ( ) const
inline

◆ get_n_rows()

template<typename T , typename F , int capacity>
uint spla::TDecorationStorage< T, F, capacity >::get_n_rows ( ) const
inline

◆ get_ptr()

template<typename T , typename F , int capacity>
TDecoration<T>* spla::TDecorationStorage< T, F, capacity >::get_ptr ( format)
inline

◆ get_ptr_i()

template<typename T , typename F , int capacity>
TDecoration<T>* spla::TDecorationStorage< T, F, capacity >::get_ptr_i ( int  index)
inline

◆ get_ref()

template<typename T , typename F , int capacity>
ref_ptr<TDecoration<T> >& spla::TDecorationStorage< T, F, capacity >::get_ref ( format)
inline

◆ get_ref_i()

template<typename T , typename F , int capacity>
ref_ptr<TDecoration<T> >& spla::TDecorationStorage< T, F, capacity >::get_ref_i ( int  index)
inline

◆ invalidate()

template<typename T , typename F , int capacity>
void spla::TDecorationStorage< T, F, capacity >::invalidate ( )
inline

◆ is_valid()

template<typename T , typename F , int capacity>
bool spla::TDecorationStorage< T, F, capacity >::is_valid ( format) const
inline

◆ is_valid_any()

template<typename T , typename F , int capacity>
bool spla::TDecorationStorage< T, F, capacity >::is_valid_any ( ) const
inline

◆ is_valid_i()

template<typename T , typename F , int capacity>
bool spla::TDecorationStorage< T, F, capacity >::is_valid_i ( int  index) const
inline

◆ set_dims()

template<typename T , typename F , int capacity>
void spla::TDecorationStorage< T, F, capacity >::set_dims ( uint  n_rows,
uint  n_cols 
)
inline

◆ set_fill_value()

template<typename T , typename F , int capacity>
void spla::TDecorationStorage< T, F, capacity >::set_fill_value ( value)
inline

◆ validate()

template<typename T , typename F , int capacity>
void spla::TDecorationStorage< T, F, capacity >::validate ( format)
inline

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