gem5  v20.1.0.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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::const_iterator sc_core::sc_attr_cltn::begin ( )

Definition at line 42 of file sc_attr.cc.

References cltn.

◆ begin() [2/2]

const_iterator sc_core::sc_attr_cltn::begin ( ) const

◆ end() [1/2]

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

Definition at line 54 of file sc_attr.cc.

References cltn.

◆ end() [2/2]

const_iterator sc_core::sc_attr_cltn::end ( ) const

◆ 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 ArmISA::attr, 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 ArmISA::attr, 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 ArmISA::attr, and 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 ArmISA::attr, 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(), end(), operator[](), push_back(), remove(), remove_all(), and size().


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

Generated on Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17