gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_core::sc_attr_cltn Class Reference

#include <sc_attr.hh>

Public Types

typedef sc_attr_baseelem_type
 
typedef std::vector< elem_type >::iterator iterator
 
typedef std::vector< elem_type >::const_iterator const_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
 sc_attr_cltn ()
 
 sc_attr_cltn (const sc_attr_cltn &)
 
 ~sc_attr_cltn ()
 
bool push_back (sc_attr_base *)
 
sc_attr_baseoperator[] (const std::string &name)
 
const sc_attr_baseoperator[] (const std::string &name) const
 
sc_attr_baseremove (const std::string &name)
 
void remove_all ()
 
int size () const
 

Private Member Functions

sc_attr_cltnoperator= (const sc_attr_cltn &)
 

Private Attributes

std::vector< sc_attr_base * > cltn
 

Detailed Description

Definition at line 74 of file sc_attr.hh.

Member Typedef Documentation

◆ const_iterator

Definition at line 79 of file sc_attr.hh.

◆ elem_type

Definition at line 77 of file sc_attr.hh.

◆ iterator

Definition at line 78 of file sc_attr.hh.

Constructor & Destructor Documentation

◆ sc_attr_cltn() [1/2]

sc_core::sc_attr_cltn::sc_attr_cltn ( )

Definition at line 65 of file sc_attr.cc.

◆ sc_attr_cltn() [2/2]

sc_core::sc_attr_cltn::sc_attr_cltn ( const sc_attr_cltn & other)

Definition at line 66 of file sc_attr.cc.

◆ ~sc_attr_cltn()

sc_core::sc_attr_cltn::~sc_attr_cltn ( )

Definition at line 67 of file sc_attr.cc.

Member Function Documentation

◆ begin() [1/2]

sc_attr_cltn::iterator sc_core::sc_attr_cltn::begin ( )

Definition at line 42 of file sc_attr.cc.

References cltn.

◆ begin() [2/2]

sc_attr_cltn::const_iterator sc_core::sc_attr_cltn::begin ( ) const

Definition at line 48 of file sc_attr.cc.

References cltn.

◆ end() [1/2]

sc_attr_cltn::iterator sc_core::sc_attr_cltn::end ( )

Definition at line 54 of file sc_attr.cc.

References cltn.

◆ end() [2/2]

sc_attr_cltn::const_iterator sc_core::sc_attr_cltn::end ( ) const

Definition at line 60 of file sc_attr.cc.

References cltn.

◆ operator=()

sc_attr_cltn & sc_core::sc_attr_cltn::operator= ( const sc_attr_cltn & )
private

◆ operator[]() [1/2]

sc_attr_base * sc_core::sc_attr_cltn::operator[] ( const std::string & name)

Definition at line 80 of file sc_attr.cc.

References cltn, and name().

◆ operator[]() [2/2]

const sc_attr_base * sc_core::sc_attr_cltn::operator[] ( const std::string & name) const

Definition at line 89 of file sc_attr.cc.

References cltn, and name().

◆ push_back()

bool sc_core::sc_attr_cltn::push_back ( sc_attr_base * attr)

Definition at line 70 of file sc_attr.cc.

References cltn.

Referenced by sc_gem5::Object::add_attribute().

◆ remove()

sc_attr_base * sc_core::sc_attr_cltn::remove ( const std::string & name)

Definition at line 98 of file sc_attr.cc.

References cltn, and name().

Referenced by sc_gem5::Object::remove_attribute().

◆ remove_all()

void sc_core::sc_attr_cltn::remove_all ( )

Definition at line 111 of file sc_attr.cc.

References cltn.

Referenced by sc_gem5::Object::remove_all_attributes().

◆ size()

int sc_core::sc_attr_cltn::size ( ) const

Definition at line 113 of file sc_attr.cc.

References cltn.

Referenced by sc_gem5::Object::num_attributes().

Member Data Documentation

◆ cltn

std::vector<sc_attr_base *> sc_core::sc_attr_cltn::cltn
private

Definition at line 110 of file sc_attr.hh.

Referenced by begin(), begin(), end(), end(), operator[](), operator[](), push_back(), remove(), remove_all(), and size().


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0