SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_attr_cltn Class Reference

Attribute collection class. More...

#include <sysc/kernel/sc_attribute.h>

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

 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
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Detailed Description

Attribute collection class.

Stores pointers to attributes Note: iterate over the collection by using iterators.

Definition at line 89 of file sc_attribute.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 96 of file sc_attribute.h.

◆ elem_type

Definition at line 94 of file sc_attribute.h.

◆ iterator

Definition at line 95 of file sc_attribute.h.

Constructor & Destructor Documentation

◆ sc_attr_cltn() [1/2]

sc_core::sc_attr_cltn::sc_attr_cltn ( )

◆ sc_attr_cltn() [2/2]

sc_core::sc_attr_cltn::sc_attr_cltn ( const sc_attr_cltn )

◆ ~sc_attr_cltn()

sc_core::sc_attr_cltn::~sc_attr_cltn ( )

Member Function Documentation

◆ begin() [1/2]

iterator sc_core::sc_attr_cltn::begin ( )
inline

Definition at line 127 of file sc_attribute.h.

◆ begin() [2/2]

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

Definition at line 129 of file sc_attribute.h.

◆ end() [1/2]

iterator sc_core::sc_attr_cltn::end ( )
inline

Definition at line 133 of file sc_attribute.h.

◆ end() [2/2]

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

Definition at line 135 of file sc_attribute.h.

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ push_back()

bool sc_core::sc_attr_cltn::push_back ( sc_attr_base )

◆ remove()

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

◆ remove_all()

void sc_core::sc_attr_cltn::remove_all ( )

◆ size()

int sc_core::sc_attr_cltn::size ( ) const
inline

Definition at line 123 of file sc_attribute.h.


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