gem5 v24.0.0.0
|
#include <sc_vector.hh>
Public Types | |
typedef sc_vector_iter< T > | iterator |
typedef sc_vector_iter< const T > | const_iterator |
typedef size_t | size_type |
Public Types inherited from sc_core::sc_vector_base | |
typedef size_t | size_type |
Public Member Functions | |
sc_vector () | |
sc_vector (const char *_name) | |
sc_vector (const char *_name, size_type _size) | |
template<typename Creator > | |
sc_vector (const char *_name, size_type _size, Creator creator) | |
virtual | ~sc_vector () |
void | init (size_type _size) |
template<typename Creator > | |
void | init (size_type _size, Creator creator) |
T & | operator[] (size_type index) |
const T & | operator[] (size_type index) const |
T & | at (size_type index) |
const T & | at (size_type index) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
template<typename ContainerType , typename ArgumentType > | |
iterator | bind (sc_vector_assembly< ContainerType, ArgumentType > c) |
template<typename BindableContainer > | |
iterator | bind (BindableContainer &c) |
template<typename BindableIterator > | |
iterator | bind (BindableIterator first, BindableIterator last) |
template<typename BindableIterator > | |
iterator | bind (BindableIterator first, BindableIterator last, iterator from) |
template<typename ContainerType , typename ArgumentType > | |
iterator | operator() (sc_vector_assembly< ContainerType, ArgumentType > c) |
template<typename ArgumentContainer > | |
iterator | operator() (ArgumentContainer &c) |
template<typename ArgumentIterator > | |
iterator | operator() (ArgumentIterator first, ArgumentIterator last) |
template<typename ArgumentIterator > | |
iterator | operator() (ArgumentIterator first, ArgumentIterator last, iterator from) |
Public Member Functions inherited from sc_core::sc_vector_base | |
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_object * | get_parent_object () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &) |
sc_attr_base * | remove_attribute (const std::string &) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
sc_simcontext * | simcontext () const |
Static Public Member Functions | |
static T * | create_element (const char *_name, size_type index) |
Private Member Functions | |
sc_vector (const sc_vector &) | |
sc_vector & | operator= (const sc_vector &) |
void | clear () |
sc_object * | objectCast (void *ptr) const |
Friends | |
template<typename , typename > | |
class | sc_vector_assembly |
Additional Inherited Members | |
Protected Member Functions inherited from sc_core::sc_vector_base | |
sc_object * | implicitCast (sc_object *p) const |
sc_object * | implicitCast (...) const |
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_object & | operator= (const sc_object &) |
virtual | ~sc_object () |
Protected Attributes inherited from sc_core::sc_vector_base | |
std::vector< void * > | objs |
std::vector< sc_object * > | elements |
Definition at line 438 of file sc_vector.hh.
typedef sc_vector_iter<const T> sc_core::sc_vector< T >::const_iterator |
Definition at line 443 of file sc_vector.hh.
typedef sc_vector_iter<T> sc_core::sc_vector< T >::iterator |
Definition at line 442 of file sc_vector.hh.
typedef size_t sc_core::sc_vector_base::size_type |
Definition at line 167 of file sc_vector.hh.
|
inline |
Definition at line 445 of file sc_vector.hh.
|
inlineexplicit |
Definition at line 446 of file sc_vector.hh.
|
inline |
Definition at line 447 of file sc_vector.hh.
References sc_core::sc_vector< T >::init().
|
inline |
Definition at line 452 of file sc_vector.hh.
References sc_core::sc_vector< T >::init().
|
inlinevirtual |
Definition at line 457 of file sc_vector.hh.
References sc_core::sc_vector< T >::clear().
|
private |
|
inline |
Definition at line 498 of file sc_vector.hh.
References sc_core::sc_vector_base::checkIndex(), and sc_core::sc_vector_base::objs.
Referenced by gem5::fastmodel::SCGIC::Terminator::Terminator().
|
inline |
Definition at line 504 of file sc_vector.hh.
References sc_core::sc_vector_base::checkIndex(), and sc_core::sc_vector_base::objs.
|
inline |
Definition at line 510 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
Referenced by sc_core::sc_vector< T >::bind(), and sc_core::sc_vector< T >::operator()().
|
inline |
Definition at line 512 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
|
inline |
Definition at line 526 of file sc_vector.hh.
References sc_core::sc_vector< T >::bind(), and c.
|
inline |
Definition at line 533 of file sc_vector.hh.
References sc_core::sc_vector< T >::begin(), and sc_core::sc_vector< T >::bind().
|
inline |
Definition at line 540 of file sc_vector.hh.
References sc_core::sc_vector< T >::bind(), sc_core::sc_vector< T >::end(), sc_core::sc_vector_base::kind(), sc_core::sc_vector_base::reportEmpty(), and sc_core::sc_vector_base::size().
|
inline |
Definition at line 519 of file sc_vector.hh.
References sc_core::sc_vector< T >::bind(), and c.
Referenced by sc_core::sc_vector< T >::bind(), sc_core::sc_vector< T >::bind(), sc_core::sc_vector< T >::bind(), and sc_core::sc_vector< T >::bind().
|
inline |
Definition at line 514 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
|
inline |
Definition at line 515 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
|
inlineprivate |
Definition at line 589 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
Referenced by sc_core::sc_vector< T >::init(), and sc_core::sc_vector< T >::~sc_vector().
|
inlinestatic |
Definition at line 465 of file sc_vector.hh.
|
inline |
Definition at line 511 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
Referenced by sc_core::sc_vector< T >::bind(), and sc_core::sc_vector< T >::operator()().
|
inline |
Definition at line 513 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
|
inline |
Definition at line 460 of file sc_vector.hh.
References sc_core::sc_vector< T >::init().
Referenced by sc_core::sc_vector< T >::init(), sc_core::sc_vector< T >::sc_vector(), and sc_core::sc_vector< T >::sc_vector().
|
inline |
Definition at line 472 of file sc_vector.hh.
References sc_core::sc_object::basename(), sc_core::sc_vector< T >::clear(), sc_core::sc_vector_base::forceParent(), sc_core::sc_vector_base::objs, sc_core::sc_gen_unique_name(), and sc_core::sc_vector_base::unforceParent().
|
inlineprivatevirtual |
Implements sc_core::sc_vector_base.
Definition at line 599 of file sc_vector.hh.
References sc_core::sc_vector_base::implicitCast().
|
inline |
Definition at line 559 of file sc_vector.hh.
References c.
|
inline |
Definition at line 566 of file sc_vector.hh.
References sc_core::sc_vector< T >::begin().
|
inline |
Definition at line 573 of file sc_vector.hh.
References sc_core::sc_vector< T >::end(), sc_core::sc_vector_base::kind(), sc_core::sc_vector_base::reportEmpty(), and sc_core::sc_vector_base::size().
|
inline |
Definition at line 552 of file sc_vector.hh.
References c.
|
private |
|
inline |
Definition at line 490 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
|
inline |
Definition at line 492 of file sc_vector.hh.
References sc_core::sc_vector_base::objs.
Definition at line 596 of file sc_vector.hh.