|
SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
#include <sysc/utils/sc_vector.h>


Public Types | |
| typedef T | element_type |
| typedef sc_vector_iter< element_type > | iterator |
| typedef sc_vector_iter< const element_type > | const_iterator |
| 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 | phase_cb_mask |
Public Member Functions | |
| sc_vector () | |
| sc_vector (const char *prefix) | |
| sc_vector (const char *prefix, size_type n) | |
| template<typename Creator > | |
| sc_vector (const char *prefix, size_type n, Creator creator) | |
| virtual | ~sc_vector () |
| element_type & | operator[] (size_type i) |
| element_type & | at (size_type i) |
| const element_type & | operator[] (size_type i) const |
| const element_type & | at (size_type i) const |
| void | init (size_type n) |
| template<typename Creator > | |
| void | init (size_type n, Creator c) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| template<typename ContainerType , typename ArgumentType > | |
| iterator | bind (sc_vector_assembly< ContainerType, ArgumentType > c) |
| template<typename BindableContainer > | |
| iterator | bind (BindableContainer &c) |
| template<typename BindableIterator > | |
| iterator | bind (BindableIterator first, BindableIterator last) |
| template<typename BindableIterator > | |
| iterator | bind (BindableIterator first, BindableIterator last, iterator from) |
| template<typename ContainerType , typename ArgumentType > | |
| iterator | operator() (sc_vector_assembly< ContainerType, ArgumentType > c) |
| template<typename ArgumentContainer > | |
| iterator | operator() (ArgumentContainer &c) |
| template<typename ArgumentIterator > | |
| iterator | operator() (ArgumentIterator first, ArgumentIterator last) |
| template<typename ArgumentIterator > | |
| iterator | operator() (ArgumentIterator first, ArgumentIterator last, iterator from) |
| template<typename MT > | |
| sc_vector_assembly< T, MT > | assemble (MT(T::*member_ptr)) |
| const char * | kind () const |
| std::vector< sc_object * > const & | get_elements () const |
| size_type | size () 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 |
| 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 |
Static Public Member Functions | |
| static element_type * | create_element (const char *prefix, size_type index) |
Protected Member Functions | |
| void | clear () |
| virtual sc_object * | object_cast (void *p) const |
| void | reserve (size_type n) |
| void | push_back (void *item) |
| void | check_index (size_type i) const |
| bool | check_init (size_type n) const |
| sc_object * | implicit_cast (sc_object *p) const |
| sc_object * | implicit_cast (...) const |
| virtual void | add_child_event (sc_event *event_p) |
| virtual void | add_child_object (sc_object *object_p) |
| virtual bool | remove_child_event (sc_event *event_p) |
| virtual bool | remove_child_object (sc_object *object_p) |
| phase_cb_mask | register_simulation_phase_callback (phase_cb_mask) |
| phase_cb_mask | unregister_simulation_phase_callback (phase_cb_mask) |
Static Protected Member Functions | |
| static std::string | make_name (const char *prefix, size_type index) |
Definition at line 114 of file sc_vector.h.
| typedef sc_vector_iter< const element_type > sc_core::sc_vector< T >::const_iterator |
Definition at line 417 of file sc_vector.h.
|
inherited |
Definition at line 148 of file sc_vector.h.
| typedef T sc_core::sc_vector< T >::element_type |
Definition at line 415 of file sc_vector.h.
|
inherited |
Definition at line 145 of file sc_vector.h.
| typedef sc_vector_iter< element_type > sc_core::sc_vector< T >::iterator |
Definition at line 416 of file sc_vector.h.
|
inherited |
Definition at line 75 of file sc_object.h.
|
inherited |
Definition at line 147 of file sc_vector.h.
|
inherited |
Definition at line 146 of file sc_vector.h.
|
inline |
Definition at line 419 of file sc_vector.h.
|
inlineexplicit |
Definition at line 421 of file sc_vector.h.
|
inlineexplicit |
Definition at line 425 of file sc_vector.h.
|
inline |
Definition at line 430 of file sc_vector.h.
|
virtual |
Definition at line 751 of file sc_vector.h.
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
inline |
Definition at line 504 of file sc_vector.h.
|
inline |
Definition at line 441 of file sc_vector.h.
|
inline |
Definition at line 447 of file sc_vector.h.
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 458 of file sc_vector.h.
|
inline |
Definition at line 461 of file sc_vector.h.
|
inline |
Definition at line 468 of file sc_vector.h.
|
inline |
Definition at line 472 of file sc_vector.h.
|
inline |
Definition at line 476 of file sc_vector.h.
|
inline |
Definition at line 480 of file sc_vector.h.
|
inline |
Definition at line 464 of file sc_vector.h.
|
inline |
Definition at line 465 of file sc_vector.h.
|
protectedinherited |
|
protectedinherited |
|
protected |
Definition at line 706 of file sc_vector.h.
|
static |
Definition at line 668 of file sc_vector.h.
|
virtualinherited |
|
inline |
Definition at line 459 of file sc_vector.h.
|
inline |
Definition at line 462 of file sc_vector.h.
|
inherited |
|
inherited |
|
inlinevirtualinherited |
Definition at line 114 of file sc_object.h.
|
inlinevirtualinherited |
Reimplemented in sc_core::sc_process_b, and sc_core::sc_module.
Definition at line 117 of file sc_object.h.
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 121 of file sc_object.h.
Definition at line 203 of file sc_vector.h.
|
protectedinherited |
|
inline |
Definition at line 450 of file sc_vector.h.
| void sc_core::sc_vector< T >::init | ( | size_type | n, |
| Creator | c | ||
| ) |
Definition at line 676 of file sc_vector.h.
|
inlinevirtualinherited |
Reimplemented from sc_core::sc_object.
Definition at line 150 of file sc_vector.h.
|
staticprotectedinherited |
|
inlineinherited |
Definition at line 77 of file sc_object.h.
|
inherited |
|
inlineprotectedvirtual |
Implements sc_core::sc_vector_base.
Definition at line 511 of file sc_vector.h.
|
inline |
Definition at line 485 of file sc_vector.h.
|
inline |
Definition at line 489 of file sc_vector.h.
|
inline |
Definition at line 493 of file sc_vector.h.
|
inline |
Definition at line 497 of file sc_vector.h.
|
inline |
Definition at line 438 of file sc_vector.h.
|
inline |
Definition at line 444 of file sc_vector.h.
|
virtualinherited |
|
inlineprotectedinherited |
Definition at line 187 of file sc_vector.h.
|
protectedinherited |
|
inherited |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented in sc_core::sc_process_b.
|
inherited |
|
inlineprotectedinherited |
Definition at line 181 of file sc_vector.h.
|
inlineinherited |
Definition at line 91 of file sc_object.h.
|
inlineinherited |
Definition at line 154 of file sc_vector.h.
|
virtualinherited |
|
protectedinherited |