#include <sc_vector.h>
Inheritance diagram for sc_pvector_base:

Public Types | |
| enum | { default_alloc = 4, max_alloc = (1 << 20) } |
Protected Types | |
| typedef void * | item_type |
| typedef item_type * | iterator |
| typedef const item_type * | const_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) |
|
|
|
Definition at line 62 of file sc_vector.h. |
|
|
|
Definition at line 55 of file sc_vector.h. |
|
|
Definition at line 53 of file sc_vector.cpp. References default_alloc. |
|
|
Definition at line 63 of file sc_vector.cpp. References default_alloc, m_alloc, m_data, m_sz, and memcpy(). |
|
|
Definition at line 74 of file sc_vector.cpp. |
|
|
|
|
|
|
|
|
|
|
|
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=(). |
|
|
|
|
Definition at line 109 of file sc_vector.h. Referenced by sc_pvector< sc_object * >::push_back(). |
|
||||||||||||
|
Definition at line 127 of file sc_vector.h. Referenced by sc_pvector< sc_object * >::put(). |
|
|
|
|
1.2.18