RAII wrapper for memory pool buffers with enhanced safety.
More...
#include <memory_pool.hpp>
RAII wrapper for memory pool buffers with enhanced safety.
Definition at line 149 of file memory_pool.hpp.
◆ PooledBuffer() [1/4]
| unilink::memory::PooledBuffer::PooledBuffer |
( |
size_t |
size | ) |
|
|
explicit |
◆ PooledBuffer() [2/4]
◆ ~PooledBuffer()
| unilink::memory::PooledBuffer::~PooledBuffer |
( |
| ) |
|
◆ PooledBuffer() [3/4]
| unilink::memory::PooledBuffer::PooledBuffer |
( |
const PooledBuffer & |
| ) |
|
|
delete |
◆ PooledBuffer() [4/4]
| unilink::memory::PooledBuffer::PooledBuffer |
( |
PooledBuffer && |
other | ) |
|
|
noexcept |
◆ at() [1/2]
| uint8_t & unilink::memory::PooledBuffer::at |
( |
size_t |
index | ) |
|
◆ at() [2/2]
| const uint8_t & unilink::memory::PooledBuffer::at |
( |
size_t |
index | ) |
const |
◆ data()
| uint8_t * unilink::memory::PooledBuffer::data |
( |
| ) |
const |
◆ get()
| uint8_t* unilink::memory::PooledBuffer::get |
( |
| ) |
const |
|
inline |
◆ operator bool()
| unilink::memory::PooledBuffer::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]() [1/2]
| uint8_t & unilink::memory::PooledBuffer::operator[] |
( |
size_t |
index | ) |
|
◆ operator[]() [2/2]
| const uint8_t & unilink::memory::PooledBuffer::operator[] |
( |
size_t |
index | ) |
const |
◆ size()
| size_t unilink::memory::PooledBuffer::size |
( |
| ) |
const |
◆ valid()
| bool unilink::memory::PooledBuffer::valid |
( |
| ) |
const |
The documentation for this class was generated from the following files: