SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_vector_assembly< T, MT > Class Template Reference

#include <sysc/utils/sc_vector.h>

Public Types

typedef sc_vector< T > base_type
 
typedef sc_vector_iter< T, sc_member_access< T, MT > > iterator
 
typedef sc_vector_iter< const T, sc_member_access< const T, const MT > > const_iterator
 
typedef T element_type
 
typedef MT access_type
 
typedef base_type::size_type size_type
 
typedef base_type::difference_type difference_type
 
typedef iterator::reference reference
 
typedef iterator::pointer pointer
 
typedef const_iterator::reference const_reference
 
typedef const_iterator::pointer const_pointer
 
typedef access_typeT::* member_type
 

Public Member Functions

const char * name () const
 
const char * kind () const
 
iterator begin ()
 
iterator end ()
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
const std::vector< sc_object *> & get_elements () const
 
reference operator[] (size_type idx)
 
reference at (size_type idx)
 
const_reference operator[] (size_type idx) const
 
const_reference at (size_type idx) 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 BindableIterator >
iterator bind (BindableIterator first, BindableIterator last, typename base_type::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 ArgumentIterator >
iterator operator() (ArgumentIterator first, ArgumentIterator last, typename base_type::iterator from)
 
 sc_vector_assembly (const sc_vector_assembly &other)
 
sc_vector_assemblyoperator= (sc_vector_assembly other_copy)
 
void swap (sc_vector_assembly &that)
 
void report_empty_bind (const char *kind_, bool dst_empty_) const
 
 ~sc_vector_assembly ()
 

Friends

template<typename U >
class sc_vector
 

Detailed Description

template<typename T, typename MT>
class sc_core::sc_vector_assembly< T, MT >

Definition at line 115 of file sc_vector.h.

Member Typedef Documentation

◆ access_type

template<typename T, typename MT>
typedef MT sc_core::sc_vector_assembly< T, MT >::access_type

Definition at line 530 of file sc_vector.h.

◆ base_type

template<typename T, typename MT>
typedef sc_vector<T> sc_core::sc_vector_assembly< T, MT >::base_type

Definition at line 523 of file sc_vector.h.

◆ const_iterator

template<typename T, typename MT>
typedef sc_vector_iter< const T , sc_member_access<const T, const MT> > sc_core::sc_vector_assembly< T, MT >::const_iterator

Definition at line 527 of file sc_vector.h.

◆ const_pointer

template<typename T, typename MT>
typedef const_iterator::pointer sc_core::sc_vector_assembly< T, MT >::const_pointer

Definition at line 537 of file sc_vector.h.

◆ const_reference

template<typename T, typename MT>
typedef const_iterator::reference sc_core::sc_vector_assembly< T, MT >::const_reference

Definition at line 536 of file sc_vector.h.

◆ difference_type

template<typename T, typename MT>
typedef base_type::difference_type sc_core::sc_vector_assembly< T, MT >::difference_type

Definition at line 533 of file sc_vector.h.

◆ element_type

template<typename T, typename MT>
typedef T sc_core::sc_vector_assembly< T, MT >::element_type

Definition at line 529 of file sc_vector.h.

◆ iterator

template<typename T, typename MT>
typedef sc_vector_iter< T, sc_member_access<T, MT> > sc_core::sc_vector_assembly< T, MT >::iterator

Definition at line 525 of file sc_vector.h.

◆ member_type

template<typename T, typename MT>
typedef access_typeT::* sc_core::sc_vector_assembly< T, MT >::member_type

Definition at line 540 of file sc_vector.h.

◆ pointer

template<typename T, typename MT>
typedef iterator::pointer sc_core::sc_vector_assembly< T, MT >::pointer

Definition at line 535 of file sc_vector.h.

◆ reference

template<typename T, typename MT>
typedef iterator::reference sc_core::sc_vector_assembly< T, MT >::reference

Definition at line 534 of file sc_vector.h.

◆ size_type

template<typename T, typename MT>
typedef base_type::size_type sc_core::sc_vector_assembly< T, MT >::size_type

Definition at line 532 of file sc_vector.h.

Constructor & Destructor Documentation

◆ sc_vector_assembly()

template<typename T, typename MT>
sc_core::sc_vector_assembly< T, MT >::sc_vector_assembly ( const sc_vector_assembly< T, MT > &  other)
inline

Definition at line 616 of file sc_vector.h.

◆ ~sc_vector_assembly()

template<typename T, typename MT>
sc_core::sc_vector_assembly< T, MT >::~sc_vector_assembly ( )
inline

Definition at line 639 of file sc_vector.h.

Member Function Documentation

◆ at() [1/2]

template<typename T, typename MT>
reference sc_core::sc_vector_assembly< T, MT >::at ( size_type  idx)
inline

Definition at line 565 of file sc_vector.h.

◆ at() [2/2]

template<typename T, typename MT>
const_reference sc_core::sc_vector_assembly< T, MT >::at ( size_type  idx) const
inline

Definition at line 569 of file sc_vector.h.

◆ begin() [1/2]

template<typename T, typename MT>
iterator sc_core::sc_vector_assembly< T, MT >::begin ( )
inline

Definition at line 545 of file sc_vector.h.

◆ begin() [2/2]

template<typename T, typename MT>
const_iterator sc_core::sc_vector_assembly< T, MT >::begin ( ) const
inline

Definition at line 555 of file sc_vector.h.

◆ bind() [1/5]

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

Definition at line 573 of file sc_vector.h.

◆ bind() [2/5]

template<typename T, typename MT>
template<typename BindableContainer >
iterator sc_core::sc_vector_assembly< T, MT >::bind ( BindableContainer &  c)
inline

Definition at line 577 of file sc_vector.h.

◆ bind() [3/5]

template<typename T, typename MT>
template<typename BindableIterator >
iterator sc_core::sc_vector_assembly< T, MT >::bind ( BindableIterator  first,
BindableIterator  last 
)
inline

Definition at line 581 of file sc_vector.h.

◆ bind() [4/5]

template<typename T, typename MT>
template<typename BindableIterator >
iterator sc_core::sc_vector_assembly< T, MT >::bind ( BindableIterator  first,
BindableIterator  last,
iterator  from 
)
inline

Definition at line 585 of file sc_vector.h.

◆ bind() [5/5]

template<typename T, typename MT>
template<typename BindableIterator >
iterator sc_core::sc_vector_assembly< T, MT >::bind ( BindableIterator  first,
BindableIterator  last,
typename base_type::iterator  from 
)
inline

Definition at line 590 of file sc_vector.h.

◆ cbegin()

template<typename T, typename MT>
const_iterator sc_core::sc_vector_assembly< T, MT >::cbegin ( ) const
inline

Definition at line 550 of file sc_vector.h.

◆ cend()

template<typename T, typename MT>
const_iterator sc_core::sc_vector_assembly< T, MT >::cend ( ) const
inline

Definition at line 552 of file sc_vector.h.

◆ end() [1/2]

template<typename T, typename MT>
iterator sc_core::sc_vector_assembly< T, MT >::end ( )
inline

Definition at line 547 of file sc_vector.h.

◆ end() [2/2]

template<typename T, typename MT>
const_iterator sc_core::sc_vector_assembly< T, MT >::end ( ) const
inline

Definition at line 557 of file sc_vector.h.

◆ get_elements()

template<typename T , typename MT >
std::vector< sc_object *> const & sc_core::sc_vector_assembly< T, MT >::get_elements ( ) const

Definition at line 758 of file sc_vector.h.

◆ kind()

template<typename T, typename MT>
const char* sc_core::sc_vector_assembly< T, MT >::kind ( ) const
inline

Definition at line 543 of file sc_vector.h.

◆ name()

template<typename T, typename MT>
const char* sc_core::sc_vector_assembly< T, MT >::name ( ) const
inline

Definition at line 542 of file sc_vector.h.

◆ operator()() [1/5]

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

Definition at line 595 of file sc_vector.h.

◆ operator()() [2/5]

template<typename T, typename MT>
template<typename ArgumentContainer >
iterator sc_core::sc_vector_assembly< T, MT >::operator() ( ArgumentContainer &  c)
inline

Definition at line 599 of file sc_vector.h.

◆ operator()() [3/5]

template<typename T, typename MT>
template<typename ArgumentIterator >
iterator sc_core::sc_vector_assembly< T, MT >::operator() ( ArgumentIterator  first,
ArgumentIterator  last 
)
inline

Definition at line 603 of file sc_vector.h.

◆ operator()() [4/5]

template<typename T, typename MT>
template<typename ArgumentIterator >
iterator sc_core::sc_vector_assembly< T, MT >::operator() ( ArgumentIterator  first,
ArgumentIterator  last,
iterator  from 
)
inline

Definition at line 607 of file sc_vector.h.

◆ operator()() [5/5]

template<typename T, typename MT>
template<typename ArgumentIterator >
iterator sc_core::sc_vector_assembly< T, MT >::operator() ( ArgumentIterator  first,
ArgumentIterator  last,
typename base_type::iterator  from 
)
inline

Definition at line 612 of file sc_vector.h.

◆ operator=()

template<typename T, typename MT>
sc_vector_assembly& sc_core::sc_vector_assembly< T, MT >::operator= ( sc_vector_assembly< T, MT >  other_copy)
inline

Definition at line 622 of file sc_vector.h.

◆ operator[]() [1/2]

template<typename T, typename MT>
reference sc_core::sc_vector_assembly< T, MT >::operator[] ( size_type  idx)
inline

Definition at line 563 of file sc_vector.h.

◆ operator[]() [2/2]

template<typename T, typename MT>
const_reference sc_core::sc_vector_assembly< T, MT >::operator[] ( size_type  idx) const
inline

Definition at line 567 of file sc_vector.h.

◆ report_empty_bind()

template<typename T, typename MT>
void sc_core::sc_vector_assembly< T, MT >::report_empty_bind ( const char *  kind_,
bool  dst_empty_ 
) const
inline

Definition at line 636 of file sc_vector.h.

◆ size()

template<typename T, typename MT>
size_type sc_core::sc_vector_assembly< T, MT >::size ( ) const
inline

Definition at line 560 of file sc_vector.h.

◆ swap()

template<typename T, typename MT>
void sc_core::sc_vector_assembly< T, MT >::swap ( sc_vector_assembly< T, MT > &  that)
inline

Definition at line 628 of file sc_vector.h.

Friends And Related Function Documentation

◆ sc_vector

template<typename T, typename MT>
template<typename U >
friend class sc_vector
friend

Definition at line 519 of file sc_vector.h.


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