Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_pvector_base Class Reference

#include <sc_vector.h>

Inheritance diagram for sc_pvector_base:

Inheritance graph
[legend]
List of all members.

Public Types

enum  { default_alloc = 4, max_alloc = (1 << 20) }

Protected Types

typedef void * item_type
typedef item_typeiterator
typedef const item_typeconst_iterator

Protected Methods

 sc_pvector_base (int alloc=default_alloc)
 sc_pvector_base (const sc_pvector_base &)
 ~sc_pvector_base ()
int size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
sc_pvector_base & operator= (const sc_pvector_base &)
void ** raw_data ()
void *const * raw_data () const
void *& operator[] (int i)
const void *& operator[] (int i) const
void *& fetch (int i)
const void *& fetch (int i) const
void push_back (void *item)
void erase_all ()
void sort (CFT compar)
void put (void *new_item, int i)
void decr_count ()
void decr_count (int k)

Member Typedef Documentation

typedef const item_type* sc_pvector_base::const_iterator [protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 65 of file sc_vector.h.

Referenced by begin(), and end().

typedef void* sc_pvector_base::item_type [protected]
 

Definition at line 62 of file sc_vector.h.

typedef item_type* sc_pvector_base::iterator [protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 64 of file sc_vector.h.

Referenced by begin(), and end().


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
default_alloc 
max_alloc 

Definition at line 55 of file sc_vector.h.


Constructor & Destructor Documentation

sc_pvector_base::sc_pvector_base int    alloc = default_alloc [protected]
 

Definition at line 53 of file sc_vector.cpp.

References default_alloc.

sc_pvector_base::sc_pvector_base const sc_pvector_base &    [protected]
 

Definition at line 63 of file sc_vector.cpp.

References default_alloc, m_alloc, m_data, m_sz, and memcpy().

sc_pvector_base::~sc_pvector_base   [protected]
 

Definition at line 74 of file sc_vector.cpp.


Member Function Documentation

const_iterator sc_pvector_base::begin   const [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 79 of file sc_vector.h.

References const_iterator.

iterator sc_pvector_base::begin   [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 76 of file sc_vector.h.

References iterator.

Referenced by sc_pvector< sc_object * >::begin().

void sc_pvector_base::decr_count int    k [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 133 of file sc_vector.h.

void sc_pvector_base::decr_count   [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 130 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::decr_count().

const_iterator sc_pvector_base::end   const [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 85 of file sc_vector.h.

References const_iterator.

iterator sc_pvector_base::end   [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 82 of file sc_vector.h.

References iterator.

Referenced by sc_pvector< sc_object * >::end().

void sc_pvector_base::erase_all   [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 119 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::erase_all().

const void*& sc_pvector_base::fetch int    i const [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 105 of file sc_vector.h.

void*& sc_pvector_base::fetch int    i [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 102 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::fetch().

sc_pvector_base & sc_pvector_base::operator= const sc_pvector_base &    [protected]
 

Definition at line 80 of file sc_vector.cpp.

References m_alloc, m_data, m_sz, and memcpy().

Referenced by sc_pvector< sc_object * >::operator=().

const void *& sc_pvector_base::operator[] int    i const [protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 111 of file sc_vector.cpp.

void *& sc_pvector_base::operator[] int    i [protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 96 of file sc_vector.cpp.

References max_alloc.

Referenced by sc_pvector< sc_object * >::operator[]().

void sc_pvector_base::push_back void *    item [inline, protected]
 

Definition at line 109 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::push_back().

void sc_pvector_base::put void *    new_item,
int    i
[inline, protected]
 

Definition at line 127 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::put().

void* const* sc_pvector_base::raw_data   const [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 95 of file sc_vector.h.

void** sc_pvector_base::raw_data   [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 92 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::raw_data().

int sc_pvector_base::size   const [inline, protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 72 of file sc_vector.h.

Referenced by sc_pvector< sc_object * >::size().

void sc_pvector_base::sort CFT    compar [protected]
 

Reimplemented in sc_pvector< T >, sc_pvector< sc_process_monitor * >, sc_pvector< wif_trace * >, sc_pvector< sc_event_finder * >, sc_pvector< sc_thread_handle >, sc_pvector< sc_port_base * >, sc_pvector< sc_method_handle >, sc_pvector< sc_export_base * >, sc_pvector< sc_attr_base * >, sc_pvector< sc_process_b * >, sc_pvector< sc_trace_params * >, sc_pvector< sc_lambda_ptr * >, sc_pvector< sc_event * >, sc_pvector< sc_prim_channel * >, sc_pvector< sc_plist< sc_lambda_ptr * > * >, sc_pvector< data_type * >, sc_pvector< vcd_trace * >, sc_pvector< sc_bind_ef * >, sc_pvector< sc_bind_elem * >, sc_pvector< sc_interface * >, sc_pvector< const sc_event * >, sc_pvector< IF * >, sc_pvector< sc_module * >, sc_pvector< sc_trace_file * >, and sc_pvector< sc_object * >.

Definition at line 130 of file sc_vector.cpp.

References CFT, and qsort().

Referenced by sc_pvector< sc_object * >::sort().


The documentation for this class was generated from the following files:
Generated on Fri Jan 14 08:31:58 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18