SystemC 3.0.0
Accellera SystemC proof-of-concept library
|
#include <sysc/utils/sc_vector.h>
Public Types | |
typedef sc_vector_element * | handle_type |
typedef std::vector< handle_type > | storage_type |
typedef storage_type::size_type | size_type |
typedef storage_type::difference_type | difference_type |
![]() | |
typedef unsigned int | stage_cb_mask |
Public Member Functions | |
const char * | kind () const |
std::vector< sc_object * > const & | get_elements () const |
size_type | size () const |
void | lock () |
bool | is_locked () const |
void | report_empty_bind (const char *kind_, bool dst_range_) const |
![]() | |
const char * | name () const |
const char * | basename () const |
virtual void | print (::std::ostream &os=::std::cout) const |
virtual void | dump (::std::ostream &os=::std::cout) const |
virtual void | trace (sc_trace_file *tf) const |
virtual const char * | kind () const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
virtual | ~sc_object () |
![]() | |
virtual | ~sc_stage_callback_if () |
virtual void | stage_callback (const sc_stage &stage)=0 |
Protected Types | |
typedef storage_type::iterator | iterator |
typedef storage_type::const_iterator | const_iterator |
Protected Member Functions | |
sc_vector_base () | |
sc_vector_base (const char *prefix) | |
~sc_vector_base () | |
void * | at (size_type i) |
void const * | at (size_type i) const |
void | reserve (size_type n) |
void | clear () |
void | push_back (void *item) |
bool | check_locked () const |
void | check_index (size_type i) const |
bool | check_init (size_type n) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
virtual sc_object * | object_cast (void *) const =0 |
sc_object * | implicit_cast (sc_object *p) const |
sc_object * | implicit_cast (...) const |
void | init_lock_cb () |
void | stage_callback (const sc_stage &stage) |
![]() | |
sc_object () | |
sc_object (const char *nm) | |
sc_object (const sc_object &) | |
sc_object & | operator= (const sc_object &) |
virtual hierarchy_scope | get_hierarchy_scope () |
Static Protected Member Functions | |
static std::string | make_name (const char *prefix, size_type index) |
Friends | |
template<typename , typename > | |
class | sc_vector_assembly |
template<typename , typename > | |
class | sc_vector_iter |
Definition at line 76 of file sc_vector.h.
|
protected |
Definition at line 107 of file sc_vector.h.
typedef storage_type::difference_type sc_core::sc_vector_base::difference_type |
Definition at line 89 of file sc_vector.h.
typedef sc_vector_element* sc_core::sc_vector_base::handle_type |
Definition at line 86 of file sc_vector.h.
|
protected |
Definition at line 106 of file sc_vector.h.
typedef storage_type::size_type sc_core::sc_vector_base::size_type |
Definition at line 88 of file sc_vector.h.
typedef std::vector< handle_type > sc_core::sc_vector_base::storage_type |
Definition at line 87 of file sc_vector.h.
|
protected |
|
inlineprotected |
Definition at line 111 of file sc_vector.h.
|
inlineprotected |
Definition at line 120 of file sc_vector.h.
|
inlineprotected |
Definition at line 123 of file sc_vector.h.
|
inlineprotected |
Definition at line 126 of file sc_vector.h.
|
inlineprotected |
Definition at line 144 of file sc_vector.h.
|
inlineprotected |
Definition at line 147 of file sc_vector.h.
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 132 of file sc_vector.h.
|
inlineprotected |
Definition at line 145 of file sc_vector.h.
|
inlineprotected |
Definition at line 148 of file sc_vector.h.
std::vector< sc_object * > const & sc_core::sc_vector_base::get_elements | ( | ) | const |
|
protected |
Definition at line 152 of file sc_vector.h.
|
protected |
|
inline |
Definition at line 100 of file sc_vector.h.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 91 of file sc_vector.h.
|
inline |
Definition at line 98 of file sc_vector.h.
|
staticprotected |
|
protectedpure virtual |
Implemented in sc_core::sc_vector< T >.
|
inlineprotected |
Definition at line 135 of file sc_vector.h.
void sc_core::sc_vector_base::report_empty_bind | ( | const char * | kind_, |
bool | dst_range_ | ||
) | const |
|
inlineprotected |
Definition at line 129 of file sc_vector.h.
|
inline |
Definition at line 95 of file sc_vector.h.
|
protectedvirtual |
Implements sc_core::sc_stage_callback_if.
|
friend |
Definition at line 81 of file sc_vector.h.
|
friend |
Definition at line 82 of file sc_vector.h.