![]() |
QMCPACK
|
Collaboration diagram for PointerPool< CONT >:Public Types | |
| using | buffer_type = CONT |
| using | pointer = typename CONT::pointer |
Public Member Functions | |
| pointer | getPointer (int index, buffer_type &buffer) |
| void | allocate (buffer_type &buffer) |
| size_t | reserve (size_t size) |
| void | reset () |
| size_t | getTotalSize () |
| PointerPool () | |
Protected Attributes | |
| size_t | totalSize |
| std::vector< size_t > | offsets |
Definition at line 21 of file PointerPool.h.
| using buffer_type = CONT |
Definition at line 24 of file PointerPool.h.
| using pointer = typename CONT::pointer |
Definition at line 25 of file PointerPool.h.
|
inline |
Definition at line 57 of file PointerPool.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 36 of file PointerPool.h.
References PointerPool< CONT >::offsets, and PointerPool< CONT >::totalSize.
|
inline |
Definition at line 49 of file PointerPool.h.
References PointerPool< CONT >::offsets, and PointerPool< CONT >::totalSize.
|
protected |
Definition at line 61 of file PointerPool.h.
Referenced by PointerPool< CONT >::getPointer(), PointerPool< CONT >::reserve(), and PointerPool< CONT >::reset().
|
protected |
Definition at line 60 of file PointerPool.h.
Referenced by PointerPool< CONT >::allocate(), PointerPool< CONT >::getTotalSize(), PointerPool< CONT >::reserve(), and PointerPool< CONT >::reset().