gem5 v25.0.0.1
Loading...
Searching...
No Matches
sc_core::sc_vector_base Class Referenceabstract

#include <sc_vector.hh>

Inheritance diagram for sc_core::sc_vector_base:
sc_core::sc_object sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_initiator_socket<> > sc_core::sc_vector< svp_gicv3_comms::gicv3_comms_target_socket<> > sc_core::sc_vector< PlainType > sc_core::sc_vector< T >

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_objectget_parent_object () const
bool add_attribute (sc_attr_base &)
sc_attr_baseget_attribute (const std::string &)
sc_attr_baseremove_attribute (const std::string &)
void remove_all_attributes ()
int num_attributes () const
sc_attr_cltnattr_cltn ()
const sc_attr_cltnattr_cltn () const
sc_simcontextsimcontext () const

Protected Member Functions

sc_objectimplicitCast (sc_object *p) const
sc_objectimplicitCast (...) const
virtual sc_objectobjectCast (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_objectoperator= (const sc_object &)
virtual ~sc_object ()

Protected Attributes

std::vector< void * > objs
std::vector< sc_object * > elements

Detailed Description

Definition at line 164 of file sc_vector.hh.

Member Typedef Documentation

◆ size_type

Definition at line 167 of file sc_vector.hh.

Constructor & Destructor Documentation

◆ sc_vector_base()

Member Function Documentation

◆ checkIndex()

◆ forceParent()

void sc_core::sc_vector_base::forceParent ( ) const
protected

◆ get_elements()

const std::vector< sc_object * > & sc_core::sc_vector_base::get_elements ( ) const

Definition at line 61 of file sc_vector.cc.

References elements, objectCast(), objs, and sc_core::sc_object::sc_object().

◆ implicitCast() [1/2]

sc_object * sc_core::sc_vector_base::implicitCast ( ...) const
inlineprotected

◆ implicitCast() [2/2]

sc_object * sc_core::sc_vector_base::implicitCast ( sc_object * p) const
inlineprotected

◆ kind()

virtual const char * sc_core::sc_vector_base::kind ( ) const
inlinevirtual

◆ objectCast()

◆ reportEmpty()

void sc_core::sc_vector_base::reportEmpty ( const char * kind_,
bool empty_dest ) const
protected

◆ size()

◆ unforceParent()

void sc_core::sc_vector_base::unforceParent ( ) const
protected

Member Data Documentation

◆ elements

std::vector<sc_object *> sc_core::sc_vector_base::elements
mutableprotected

Definition at line 180 of file sc_vector.hh.

Referenced by get_elements().

◆ objs


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

Generated on Sat Oct 18 2025 08:07:53 for gem5 by doxygen 1.14.0