This class is designed for saving the cavity in the particlefield smartplist. More...
#include <SmartPList.hpp>
Public Member Functions | |
CavityQueue () | |
CavityQueue (const int &num) | |
void | Init (const int &num) |
const int | Length () |
const int & | MaxLength () |
void | InitQueue () |
bool | IsInqueuing () |
bool | IsDequeuing () |
void | AllocateBuffer () |
void | CleanBuffer (const T val=-2) |
void | Inqueue (const T &val) |
bool | IsEmpty () |
const auto & | Dequeue () |
const auto & | Pop () |
const auto & | End () |
const T & | operator() (const int &i) |
Private Attributes | |
Array1< T > | _buffer |
int | _len = 0 |
int | _head = 0 |
Static Private Attributes | |
static T * | ptr_cavity_null = nullptr |
This class is designed for saving the cavity in the particlefield smartplist.
T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
inlinestaticprivate |