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

#include <sc_vector.hh>

Inheritance diagram for 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()

sc_core::sc_vector_base::sc_vector_base ( const char * _name)
inline

Definition at line 169 of file sc_vector.hh.

Member Function Documentation

◆ checkIndex()

void sc_core::sc_vector_base::checkIndex ( size_type index) const
protected

Definition at line 73 of file sc_vector.cc.

◆ forceParent()

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

Definition at line 84 of file sc_vector.cc.

◆ get_elements()

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

Definition at line 61 of file sc_vector.cc.

◆ implicitCast() [1/2]

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

Definition at line 183 of file sc_vector.hh.

◆ implicitCast() [2/2]

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

Definition at line 182 of file sc_vector.hh.

◆ kind()

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

Reimplemented from sc_core::sc_object.

Definition at line 171 of file sc_vector.hh.

◆ objectCast()

virtual sc_object * sc_core::sc_vector_base::objectCast ( void * ) const
protectedpure virtual

◆ reportEmpty()

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

Definition at line 96 of file sc_vector.cc.

◆ size()

sc_vector_base::size_type sc_core::sc_vector_base::size ( ) const

Definition at line 58 of file sc_vector.cc.

◆ unforceParent()

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

Definition at line 90 of file sc_vector.cc.

Member Data Documentation

◆ elements

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

Definition at line 180 of file sc_vector.hh.

◆ objs

std::vector<void *> sc_core::sc_vector_base::objs
protected

Definition at line 176 of file sc_vector.hh.


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

Generated on Sat Oct 18 2025 08:06:48 for gem5 by doxygen 1.14.0