sc_core::sc_vector< T > Class Template Reference

#include <sysc/utils/sc_vector.h>

Inheritance diagram for sc_core::sc_vector< T >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_vector< T >:
Collaboration graph
[legend]

List of all members.

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_typeoperator[] (size_type i)
element_typeat (size_type i)
const element_typeoperator[] (size_type i) const
const element_typeat (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_typecreate_element (const char *prefix, size_type index)

Protected Member Functions

void clear ()
virtual sc_objectobject_cast (void *p) const

Detailed Description

template<typename T>
class sc_core::sc_vector< T >

Definition at line 353 of file sc_vector.h.


Member Typedef Documentation

template<typename T>
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.

template<typename T>
typedef T sc_core::sc_vector< T >::element_type

Definition at line 360 of file sc_vector.h.

template<typename T>
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.


Constructor & Destructor Documentation

template<typename T>
sc_core::sc_vector< T >::sc_vector (  )  [inline]

Definition at line 364 of file sc_vector.h.

template<typename T>
sc_core::sc_vector< T >::sc_vector ( const char *  prefix  )  [inline, explicit]

Definition at line 366 of file sc_vector.h.

template<typename T>
sc_core::sc_vector< T >::sc_vector ( const char *  prefix,
size_type  n 
) [inline, explicit]

Definition at line 370 of file sc_vector.h.

template<typename T>
template<typename Creator >
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.

template<typename T >
sc_core::sc_vector< T >::~sc_vector (  )  [inline, virtual]

Definition at line 694 of file sc_vector.h.


Member Function Documentation

template<typename T>
template<typename MT >
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
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.

template<typename T>
iterator sc_core::sc_vector< T >::begin (  )  [inline]

Reimplemented from sc_core::sc_vector_base.

Definition at line 403 of file sc_vector.h.

template<typename T>
template<typename BindableIterator >
iterator sc_core::sc_vector< T >::bind ( BindableIterator  first,
BindableIterator  last,
iterator  from 
) [inline]

Definition at line 425 of file sc_vector.h.

template<typename T>
template<typename BindableIterator >
iterator sc_core::sc_vector< T >::bind ( BindableIterator  first,
BindableIterator  last 
) [inline]

Definition at line 421 of file sc_vector.h.

template<typename T>
template<typename BindableContainer >
iterator sc_core::sc_vector< T >::bind ( BindableContainer &  c  )  [inline]

Definition at line 417 of file sc_vector.h.

template<typename T>
template<typename ContainerType , typename ArgumentType >
iterator sc_core::sc_vector< T >::bind ( sc_vector_assembly< ContainerType, ArgumentType >  c  )  [inline]

Definition at line 413 of file sc_vector.h.

template<typename T>
const_iterator sc_core::sc_vector< T >::cbegin (  )  const [inline]

Definition at line 409 of file sc_vector.h.

template<typename T>
const_iterator sc_core::sc_vector< T >::cend (  )  const [inline]

Definition at line 410 of file sc_vector.h.

template<typename T >
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.

template<typename T >
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.

template<typename T>
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.

template<typename T>
iterator sc_core::sc_vector< T >::end (  )  [inline]

Reimplemented from sc_core::sc_vector_base.

Definition at line 404 of file sc_vector.h.

template<typename T >
template<typename Creator >
void sc_core::sc_vector< T >::init ( size_type  n,
Creator  c 
) [inline]

Definition at line 621 of file sc_vector.h.

template<typename T>
void sc_core::sc_vector< T >::init ( size_type  n  )  [inline]

Definition at line 395 of file sc_vector.h.

template<typename T>
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.

template<typename T>
template<typename ArgumentIterator >
iterator sc_core::sc_vector< T >::operator() ( ArgumentIterator  first,
ArgumentIterator  last,
iterator  from 
) [inline]

Definition at line 442 of file sc_vector.h.

template<typename T>
template<typename ArgumentIterator >
iterator sc_core::sc_vector< T >::operator() ( ArgumentIterator  first,
ArgumentIterator  last 
) [inline]

Definition at line 438 of file sc_vector.h.

template<typename T>
template<typename ArgumentContainer >
iterator sc_core::sc_vector< T >::operator() ( ArgumentContainer &  c  )  [inline]

Definition at line 434 of file sc_vector.h.

template<typename T>
template<typename ContainerType , typename ArgumentType >
iterator sc_core::sc_vector< T >::operator() ( sc_vector_assembly< ContainerType, ArgumentType >  c  )  [inline]

Definition at line 430 of file sc_vector.h.

template<typename T>
const element_type& sc_core::sc_vector< T >::operator[] ( size_type  i  )  const [inline]

Definition at line 389 of file sc_vector.h.

template<typename T>
element_type& sc_core::sc_vector< T >::operator[] ( size_type  i  )  [inline]

Definition at line 383 of file sc_vector.h.


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

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1