A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classbm_1_1byte__buffer.html below:

NCBI C++ ToolKit: bm::byte_buffer< BVAlloc

Search Toolkit Book for bm::byte_buffer

Byte buffer template, extention of byte_buffer_ptr memory management. More...

#include <util/bitset/bmbuffer.h>

template<typename BVAlloc>
class bm::byte_buffer< BVAlloc >

Byte buffer template, extention of byte_buffer_ptr memory management.

Definition at line 89 of file bmbuffer.h.

◆ allocator_type

template<typename BVAlloc >

Definition at line 93 of file bmbuffer.h.

◆ bv_allocator_type

template<typename BVAlloc >

Definition at line 92 of file bmbuffer.h.

◆ size_type

template<typename BVAlloc >

Definition at line 94 of file bmbuffer.h.

◆ byte_buffer() [1/4]

template<typename BVAlloc >

Definition at line 97 of file bmbuffer.h.

◆ byte_buffer() [2/4]

template<typename BVAlloc >

Definition at line 100 of file bmbuffer.h.

◆ byte_buffer() [3/4]

template<typename BVAlloc >

Definition at line 106 of file bmbuffer.h.

◆ byte_buffer() [4/4]

template<typename BVAlloc >

◆ ~byte_buffer()

template<typename BVAlloc >

Definition at line 144 of file bmbuffer.h.

◆ allocate()

template<typename BVAlloc >

◆ capacity()

template<typename BVAlloc >

◆ compute_words()

template<typename BVAlloc >

inlinestaticprivatenoexcept ◆ copy_from()

template<typename BVAlloc >

◆ free_buffer()

template<typename BVAlloc >

◆ mem_usage()

template<typename BVAlloc >

return memory consumtion

Definition at line 284 of file bmbuffer.h.

◆ move_from()

template<typename BVAlloc >

◆ operator=() [1/2]

template<typename BVAlloc >

Move assignment operator.

Definition at line 128 of file bmbuffer.h.

◆ operator=() [2/2]

template<typename BVAlloc >

Definition at line 135 of file bmbuffer.h.

◆ optimize()

template<typename BVAlloc >

◆ reallocate()

template<typename BVAlloc >

reserve new capacity (buffer content NOT preserved, size set to 0)

See also
reinit

Definition at line 265 of file bmbuffer.h.

◆ reinit()

template<typename BVAlloc >

◆ release()

template<typename BVAlloc >

◆ reserve()

template<typename BVAlloc >

◆ resize()

template<typename BVAlloc >

adjust current size (buffer content can be preserved)

Definition at line 200 of file bmbuffer.h.

Referenced by bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::heap_matrix(), bm::heap_vector< const bm::word_t *, allocator_type, true >::heap_vector(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::init(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init_resize(), bm::heap_vector< const bm::word_t *, allocator_type, true >::operator=(), bm::heap_vector< const bm::word_t *, allocator_type, true >::resize(), bm::heap_vector< const bm::word_t *, allocator_type, true >::resize_internal(), and bm::heap_vector< const bm::word_t *, allocator_type, true >::resize_no_copy().

◆ resize_no_check()

template<typename BVAlloc >

◆ set_buf()

template<typename BVAlloc >

void bm::byte_buffer< BVAlloc >::set_buf ( unsigned char *  buf, size_t  size  ) private

Override from the base class.

◆ shrink()

template<typename BVAlloc >

shrink current size without reallocation (buffer content preserved)

Parameters
new_size - new size (must be within capacity) - throws an exception otherwise
See also
resize

Definition at line 218 of file bmbuffer.h.

◆ swap()

template<typename BVAlloc >

swap content with another buffer

Definition at line 150 of file bmbuffer.h.

Referenced by bm::byte_buffer< bv_allocator_type >::optimize(), bm::byte_buffer< bv_allocator_type >::reserve(), bm::byte_buffer< bv_allocator_type >::resize(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::swap(), bm::heap_matrix< Val, ROWS, COLS, BVAlloc >::swap(), and bm::heap_vector< const bm::word_t *, allocator_type, true >::swap().

◆ alloc_factor_

template<typename BVAlloc >

◆ capacity_

template<typename BVAlloc >

current capacity

Definition at line 332 of file bmbuffer.h.

Referenced by bm::byte_buffer< bv_allocator_type >::allocate(), bm::byte_buffer< bv_allocator_type >::byte_buffer(), bm::byte_buffer< bv_allocator_type >::capacity(), bm::byte_buffer< bv_allocator_type >::mem_usage(), bm::byte_buffer< bv_allocator_type >::move_from(), bm::byte_buffer< bv_allocator_type >::release(), bm::byte_buffer< bv_allocator_type >::reserve(), bm::byte_buffer< bv_allocator_type >::resize(), bm::byte_buffer< bv_allocator_type >::resize_no_check(), bm::byte_buffer< bv_allocator_type >::shrink(), and bm::byte_buffer< bv_allocator_type >::swap().

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4