#include <sysc/utils/sc_vector.h>
Public Types | |
typedef T | element_type |
typedef sc_vector_iter < element_type > | iterator |
typedef sc_vector_iter< const element_type > | const_iterator |
Public Member Functions | |
sc_vector () | |
sc_vector (const char *prefix) | |
sc_vector (const char *prefix, size_type n) | |
template<typename Creator > | |
sc_vector (const char *prefix, size_type n, Creator creator) | |
virtual | ~sc_vector () |
element_type & | operator[] (size_type i) |
element_type & | at (size_type i) |
const element_type & | operator[] (size_type i) const |
const element_type & | at (size_type i) const |
void | init (size_type n) |
template<typename Creator > | |
void | init (size_type n, Creator c) |
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) |
template<typename MT > | |
sc_vector_assembly< T, MT > | assemble (MT(T::*member_ptr)) |
Static Public Member Functions | |
static element_type * | create_element (const char *prefix, size_type index) |
Protected Member Functions | |
void | clear () |
virtual sc_object * | object_cast (void *p) const |
Definition at line 353 of file sc_vector.h.
typedef sc_vector_iter< const element_type > sc_core::sc_vector< T >::const_iterator |
Reimplemented from sc_core::sc_vector_base.
Definition at line 362 of file sc_vector.h.
typedef T sc_core::sc_vector< T >::element_type |
Definition at line 360 of file sc_vector.h.
typedef sc_vector_iter< element_type > sc_core::sc_vector< T >::iterator |
Reimplemented from sc_core::sc_vector_base.
Definition at line 361 of file sc_vector.h.
sc_core::sc_vector< T >::sc_vector | ( | ) | [inline] |
Definition at line 364 of file sc_vector.h.
sc_core::sc_vector< T >::sc_vector | ( | const char * | prefix | ) | [inline, explicit] |
Definition at line 366 of file sc_vector.h.
sc_core::sc_vector< T >::sc_vector | ( | const char * | prefix, | |
size_type | n | |||
) | [inline, explicit] |
Definition at line 370 of file sc_vector.h.
sc_core::sc_vector< T >::sc_vector | ( | const char * | prefix, | |
size_type | n, | |||
Creator | creator | |||
) | [inline] |
Definition at line 375 of file sc_vector.h.
sc_core::sc_vector< T >::~sc_vector | ( | ) | [inline, virtual] |
Definition at line 694 of file sc_vector.h.
sc_vector_assembly<T,MT> sc_core::sc_vector< T >::assemble | ( | MT T::* | member_ptr | ) | [inline] |
Definition at line 449 of file sc_vector.h.
const element_type& sc_core::sc_vector< T >::at | ( | size_type | i | ) | const [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 392 of file sc_vector.h.
element_type& sc_core::sc_vector< T >::at | ( | size_type | i | ) | [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 386 of file sc_vector.h.
const_iterator sc_core::sc_vector< T >::begin | ( | ) | const [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 406 of file sc_vector.h.
iterator sc_core::sc_vector< T >::begin | ( | ) | [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 403 of file sc_vector.h.
iterator sc_core::sc_vector< T >::bind | ( | BindableIterator | first, | |
BindableIterator | last, | |||
iterator | from | |||
) | [inline] |
Definition at line 425 of file sc_vector.h.
iterator sc_core::sc_vector< T >::bind | ( | BindableIterator | first, | |
BindableIterator | last | |||
) | [inline] |
Definition at line 421 of file sc_vector.h.
iterator sc_core::sc_vector< T >::bind | ( | BindableContainer & | c | ) | [inline] |
Definition at line 417 of file sc_vector.h.
iterator sc_core::sc_vector< T >::bind | ( | sc_vector_assembly< ContainerType, ArgumentType > | c | ) | [inline] |
Definition at line 413 of file sc_vector.h.
const_iterator sc_core::sc_vector< T >::cbegin | ( | ) | const [inline] |
Definition at line 409 of file sc_vector.h.
const_iterator sc_core::sc_vector< T >::cend | ( | ) | const [inline] |
Definition at line 410 of file sc_vector.h.
void sc_core::sc_vector< T >::clear | ( | ) | [inline, protected] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 648 of file sc_vector.h.
sc_vector< T >::element_type * sc_core::sc_vector< T >::create_element | ( | const char * | prefix, | |
size_type | index | |||
) | [inline, static] |
Definition at line 613 of file sc_vector.h.
const_iterator sc_core::sc_vector< T >::end | ( | ) | const [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 407 of file sc_vector.h.
iterator sc_core::sc_vector< T >::end | ( | ) | [inline] |
Reimplemented from sc_core::sc_vector_base.
Definition at line 404 of file sc_vector.h.
void sc_core::sc_vector< T >::init | ( | size_type | n, | |
Creator | c | |||
) | [inline] |
Definition at line 621 of file sc_vector.h.
void sc_core::sc_vector< T >::init | ( | size_type | n | ) | [inline] |
Definition at line 395 of file sc_vector.h.
virtual sc_object* sc_core::sc_vector< T >::object_cast | ( | void * | p | ) | const [inline, protected, virtual] |
Implements sc_core::sc_vector_base.
Definition at line 456 of file sc_vector.h.
iterator sc_core::sc_vector< T >::operator() | ( | ArgumentIterator | first, | |
ArgumentIterator | last, | |||
iterator | from | |||
) | [inline] |
Definition at line 442 of file sc_vector.h.
iterator sc_core::sc_vector< T >::operator() | ( | ArgumentIterator | first, | |
ArgumentIterator | last | |||
) | [inline] |
Definition at line 438 of file sc_vector.h.
iterator sc_core::sc_vector< T >::operator() | ( | ArgumentContainer & | c | ) | [inline] |
Definition at line 434 of file sc_vector.h.
iterator sc_core::sc_vector< T >::operator() | ( | sc_vector_assembly< ContainerType, ArgumentType > | c | ) | [inline] |
Definition at line 430 of file sc_vector.h.
const element_type& sc_core::sc_vector< T >::operator[] | ( | size_type | i | ) | const [inline] |
Definition at line 389 of file sc_vector.h.
element_type& sc_core::sc_vector< T >::operator[] | ( | size_type | i | ) | [inline] |
Definition at line 383 of file sc_vector.h.