|
CUBRID Engine
latest
|
#include <extensible_array.hpp>


Public Member Functions | |
| appendable_array (void) | |
| appendable_array (const block_allocator &allocator) | |
| ~appendable_array () | |
| void | append (const T &source) |
| void | append (const T *source, size_t length) |
| void | copy (const T *source, size_t length) |
| void | erase (size_t index) |
| size_t | get_size (void) const |
| size_t | get_memsize () const |
Public Member Functions inherited from cubmem::extensible_array< T, S > | |
| void | extend_by (size_t count) |
| void | extend_to (size_t count) |
| const T * | get_array (void) const |
Private Types | |
| using | base_type = extensible_array< T, S > |
Private Member Functions | |
| void | reset (void) |
| T * | get_append_ptr () |
Private Attributes | |
| size_t | m_size |
Additional Inherited Members | |
Protected Member Functions inherited from cubmem::extensible_array< T, S > | |
| T * | get_data_ptr () |
| size_t | get_memsize_for_count (size_t count) const |
Protected Member Functions inherited from cubmem::extensible_stack_block< sizeof(T)*Size > | |
| extensible_stack_block () | |
| extensible_stack_block (const block_allocator &alloc) | |
| void | extend_by (size_t additional_bytes) |
| void | extend_to (size_t total_bytes) |
| char * | get_ptr () |
| const char * | get_read_ptr () const |
Definition at line 77 of file extensible_array.hpp.
|
private |
Definition at line 80 of file extensible_array.hpp.
| cubmem::appendable_array< T, Size >::appendable_array | ( | void | ) |
Definition at line 211 of file extensible_array.hpp.
| cubmem::appendable_array< T, Size >::appendable_array | ( | const block_allocator & | allocator | ) |
Definition at line 219 of file extensible_array.hpp.
| cubmem::appendable_array< T, Size >::~appendable_array | ( | ) |
Definition at line 227 of file extensible_array.hpp.
|
inline |
Definition at line 241 of file extensible_array.hpp.
Referenced by mvcctable::compute_oldest_visible_mvccid(), cubmem::appendable_array< T, S >::copy(), and cubthread::worker_pool< Context >::core::start_all_workers().

|
inline |
Definition at line 248 of file extensible_array.hpp.
References cubmem::extensible_array< T, S >::extend_to(), cubmem::extensible_array< T, S >::get_data_ptr(), and cubmem::appendable_array< T, S >::m_size.
|
inline |
Definition at line 260 of file extensible_array.hpp.
References cubmem::appendable_array< T, S >::append(), and cubmem::appendable_array< T, S >::reset().
| void cubmem::appendable_array< T, Size >::erase | ( | size_t | index | ) |
Definition at line 269 of file extensible_array.hpp.
References cubmem::extensible_array< T, S >::get_data_ptr(), and cubmem::appendable_array< T, S >::m_size.
Referenced by mvcctable::compute_oldest_visible_mvccid().

|
inlineprivate |
Definition at line 234 of file extensible_array.hpp.
References cubmem::extensible_array< T, S >::get_data_ptr(), and cubmem::appendable_array< T, S >::m_size.
| size_t cubmem::appendable_array< T, S >::get_memsize | ( | ) | const |
Definition at line 293 of file extensible_array.hpp.
References cubmem::extensible_array< T, S >::get_memsize_for_count(), and cubmem::appendable_array< T, S >::m_size.
Referenced by cubthread::worker_pool< Context >::core::start_all_workers().

|
inline |
Definition at line 286 of file extensible_array.hpp.
References cubmem::appendable_array< T, S >::m_size.
Referenced by mvcctable::compute_oldest_visible_mvccid(), and cubthread::worker_pool< Context >::core::start_all_workers().

|
inlineprivate |
Definition at line 300 of file extensible_array.hpp.
References cubmem::appendable_array< T, S >::m_size.
Referenced by cubmem::appendable_array< T, S >::copy().

|
private |
Definition at line 100 of file extensible_array.hpp.
Referenced by cubmem::appendable_array< T, S >::append(), cubmem::appendable_array< T, S >::erase(), cubmem::appendable_array< T, S >::get_append_ptr(), cubmem::appendable_array< T, S >::get_memsize(), cubmem::appendable_array< T, S >::get_size(), and cubmem::appendable_array< T, S >::reset().