sc_core::sc_vector_base Class Reference

#include <sysc/utils/sc_vector.h>

Inheritance diagram for sc_core::sc_vector_base:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_vector_base:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< void * > storage_type
typedef storage_type::size_type size_type
typedef
storage_type::difference_type 
difference_type

Public Member Functions

const char * kind () const
std::vector< sc_object * > const & get_elements () const
size_type size () const
void report_empty_bind (const char *kind_, bool dst_range_) const

Protected Types

typedef storage_type::iterator iterator
typedef
storage_type::const_iterator 
const_iterator

Protected Member Functions

 sc_vector_base ()
 sc_vector_base (const char *prefix)
 ~sc_vector_base ()
void *& at (size_type i)
void const * at (size_type i) const
void reserve (size_type n)
void clear ()
void push_back (void *item)
void check_index (size_type i) const
bool check_init (size_type n) const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
virtual sc_objectobject_cast (void *) const =0
sc_objectimplicit_cast (sc_object *p) const
sc_objectimplicit_cast (...) const

Static Protected Member Functions

static std::string make_name (const char *prefix, size_type index)

Friends

class sc_vector_assembly
class sc_vector_iter

Detailed Description

Definition at line 106 of file sc_vector.h.


Member Typedef Documentation

typedef storage_type::const_iterator sc_core::sc_vector_base::const_iterator [protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 131 of file sc_vector.h.

typedef storage_type::difference_type sc_core::sc_vector_base::difference_type

Definition at line 117 of file sc_vector.h.

typedef storage_type::iterator sc_core::sc_vector_base::iterator [protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 130 of file sc_vector.h.

typedef storage_type::size_type sc_core::sc_vector_base::size_type

Definition at line 116 of file sc_vector.h.

typedef std::vector< void* > sc_core::sc_vector_base::storage_type

Definition at line 115 of file sc_vector.h.


Constructor & Destructor Documentation

sc_core::sc_vector_base::sc_vector_base (  )  [protected]
sc_core::sc_vector_base::sc_vector_base ( const char *  prefix  )  [inline, protected]

Definition at line 135 of file sc_vector.h.

sc_core::sc_vector_base::~sc_vector_base (  )  [inline, protected]

Definition at line 141 of file sc_vector.h.


Member Function Documentation

void const* sc_core::sc_vector_base::at ( size_type  i  )  const [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 147 of file sc_vector.h.

void* & sc_core::sc_vector_base::at ( size_type  i  )  [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 144 of file sc_vector.h.

const_iterator sc_core::sc_vector_base::begin (  )  const [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 167 of file sc_vector.h.

iterator sc_core::sc_vector_base::begin (  )  [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 164 of file sc_vector.h.

void sc_core::sc_vector_base::check_index ( size_type  i  )  const [protected]
bool sc_core::sc_vector_base::check_init ( size_type  n  )  const [protected]
void sc_core::sc_vector_base::clear (  )  [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 153 of file sc_vector.h.

const_iterator sc_core::sc_vector_base::end (  )  const [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 168 of file sc_vector.h.

iterator sc_core::sc_vector_base::end (  )  [inline, protected]

Reimplemented in sc_core::sc_vector< T >.

Definition at line 165 of file sc_vector.h.

std::vector<sc_object*> const& sc_core::sc_vector_base::get_elements (  )  const
sc_object* sc_core::sc_vector_base::implicit_cast (   ...  )  const [protected]
sc_object* sc_core::sc_vector_base::implicit_cast ( sc_object p  )  const [inline, protected]

Definition at line 172 of file sc_vector.h.

const char* sc_core::sc_vector_base::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

Definition at line 119 of file sc_vector.h.

static std::string sc_core::sc_vector_base::make_name ( const char *  prefix,
size_type  index 
) [static, protected]
virtual sc_object* sc_core::sc_vector_base::object_cast ( void *   )  const [protected, pure virtual]

Implemented in sc_core::sc_vector< T >.

void sc_core::sc_vector_base::push_back ( void *  item  )  [inline, protected]

Definition at line 156 of file sc_vector.h.

void sc_core::sc_vector_base::report_empty_bind ( const char *  kind_,
bool  dst_range_ 
) const
void sc_core::sc_vector_base::reserve ( size_type  n  )  [inline, protected]

Definition at line 150 of file sc_vector.h.

size_type sc_core::sc_vector_base::size (  )  const [inline]

Definition at line 123 of file sc_vector.h.


Friends And Related Function Documentation

friend class sc_vector_assembly [friend]

Definition at line 110 of file sc_vector.h.

friend class sc_vector_iter [friend]

Definition at line 111 of file sc_vector.h.


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

Generated on 30 Sep 2016 for SystemC by  doxygen 1.6.1