|
foobar2000 SDK
2015-08-03
|
#include <alloc.h>
Public Types | |
| enum | { alloc_prioritizes_speed = false } |
Public Member Functions | |
| alloc_simple () | |
| ~alloc_simple () | |
| void | force_reset () |
| t_item * | get_ptr () |
| const t_item * | get_ptr () const |
| t_size | get_size () const |
| bool | is_ptr_owned (const void *p_item) const |
| void | move_from (t_self &other) |
| const t_item & | operator[] (t_size p_index) const |
| t_item & | operator[] (t_size p_index) |
| void | prealloc (t_size) |
| void | set_size (t_size p_size) |
Private Types | |
| typedef alloc_simple< t_item > | t_self |
Private Member Functions | |
| alloc_simple (const t_self &) | |
| const t_self & | operator= (const t_self &) |
Private Attributes | |
| t_item * | m_data |
| t_size | m_size |
Simple inefficient fully portable allocator.
|
private |
| anonymous enum |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 112 of file alloc.h.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file alloc.h.
|
private |
|
private |
1.8.11