scc
2022.4.0
SystemC components library
|
#include <sc_variable.h>
Public Member Functions | |
sc_variable_vector (std::string const &name, size_t size) | |
sc_variable_vector (std::string const &name, size_t size, T const &def_val) | |
sc_variable_vector (std::string const &name, size_t size, std::function< sc_variable< T > *(char const *, size_t)> creator) | |
size_t | size () |
void | resize (size_t sz) |
void | resize (size_t sz, T def_val) |
bool | is_valid (size_t idx) const |
sc_variable< T > & | operator[] (size_t idx) |
sc_variable< T > const & | operator[] (size_t idx) const |
a vector holding sc_variable. It can be used as a sparse array by providing a creator function or as a normal vector when providing a default value upon creating or resizing
T |
Definition at line 344 of file sc_variable.h.