gem5
v20.1.0.0
|
#include <sc_vector.hh>
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
sc_vector_base (const char *_name) | |
virtual const char * | kind () const |
size_type | size () const |
const std::vector< sc_object * > & | get_elements () const |
Public Member Functions inherited from sc_core::sc_object | |
const char * | name () const |
const char * | basename () const |
virtual void | print (std::ostream &=std::cout) const |
virtual void | dump (std::ostream &=std::cout) const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
sc_object * | get_parent_object () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &) |
sc_attr_base * | remove_attribute (const std::string &) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
sc_simcontext * | simcontext () const |
Protected Member Functions | |
sc_object * | implicitCast (sc_object *p) const |
sc_object * | implicitCast (...) const |
virtual sc_object * | objectCast (void *) const =0 |
void | checkIndex (size_type index) const |
void | forceParent () const |
void | unforceParent () const |
void | reportEmpty (const char *kind_, bool empty_dest) const |
Protected Member Functions inherited from sc_core::sc_object | |
sc_object () | |
sc_object (const char *) | |
sc_object (const sc_object &) | |
sc_object & | operator= (const sc_object &) |
virtual | ~sc_object () |
Protected Attributes | |
std::vector< void * > | objs |
std::vector< sc_object * > | elements |
Definition at line 163 of file sc_vector.hh.
typedef size_t sc_core::sc_vector_base::size_type |
Definition at line 166 of file sc_vector.hh.
|
inline |
Definition at line 168 of file sc_vector.hh.
|
protected |
Definition at line 90 of file sc_vector.cc.
References sc_gem5::popParentObj().
|
protected |
Definition at line 101 of file sc_vector.cc.
const std::vector< sc_object * > & sc_core::sc_vector_base::get_elements | ( | ) | const |
Definition at line 78 of file sc_vector.cc.
|
inlineprotected |
Definition at line 182 of file sc_vector.hh.
References sc_core::sc_object::name(), sc_core::SC_ID_VECTOR_NONOBJECT_ELEMENTS_, and SC_REPORT_ERROR.
Definition at line 181 of file sc_vector.hh.
References MipsISA::p.
|
inlinevirtual |
Reimplemented from sc_core::sc_object.
Definition at line 170 of file sc_vector.hh.
|
protectedpure virtual |
|
protected |
Definition at line 113 of file sc_vector.cc.
sc_vector_base::size_type sc_core::sc_vector_base::size | ( | ) | const |
Definition at line 75 of file sc_vector.cc.
References ccprintf(), MipsISA::index, sc_core::sc_object::name(), and ArmISA::ss.
|
protected |
Definition at line 107 of file sc_vector.cc.
|
mutableprotected |
Definition at line 179 of file sc_vector.hh.
|
protected |
Definition at line 175 of file sc_vector.hh.