Skip to content

Class cubmem::extensible_array

template <typename T, size_t Size>

ClassList > cubmem > extensible_array

  • #include <extensible_array.hpp>

Inherits the following classes: cubmem::extensible_stack_block

Public Functions

Type Name
void extend_by (size_t count)
void extend_to (size_t count)
const T * get_array (void) const

Public Functions inherited from cubmem::extensible_stack_block

See cubmem::extensible_stack_block

Type Name
void extend_by (size_t additional_bytes)
void extend_to (size_t total_bytes)
extensible_stack_block ()
extensible_stack_block (const block_allocator & alloc)
char * get_ptr ()
const char * get_read_ptr () const

Protected Functions

Type Name
T * get_data_ptr ()
size_t get_memsize_for_count (size_t count) const

Public Functions Documentation

function extend_by

void cubmem::extensible_array::extend_by (
    size_t count
) 

function extend_to

void cubmem::extensible_array::extend_to (
    size_t count
) 

function get_array

const T * cubmem::extensible_array::get_array (
    void
) const

Protected Functions Documentation

function get_data_ptr

T * cubmem::extensible_array::get_data_ptr () 

function get_memsize_for_count

size_t cubmem::extensible_array::get_memsize_for_count (
    size_t count
) const


The documentation for this class was generated from the following file cubrid/src/base/extensible_array.hpp