Class BufferStore#
Defined in File BufferStore.hh
Class Documentation#
-
class BufferStore#
Public Functions
-
~BufferStore()#
Destructor. We do not need a destructor actually.
-
double *getFreeDoubleArr(int &index, int size)#
Returns a reference to a free double array and an index of this array. After usage the array should be freed by setUnusedDoubleArr(index) method.
-
int getDoubleArrSize(int index)#
Returns a size of the array with particular index.
-
int getDoubleArrSize()#
Returns a number of the Double arrays.
-
void setUnusedDoubleArr(int index)#
Sets that the array is free.
-
int *getFreeIntArr(int &index, int size)#
Returns a reference to a free int array and an index of this array. After usage the array should be freed by setUnusedDoubleArr(index) method.
-
int getIntArrSize(int index)#
Returns a size of the array with particular index.
-
int getIntArrSize()#
Returns a number of the Int arrays.
-
void setUnusedIntArr(int index)#
Sets that the array is free.
-
char *getFreeCharArr(int &index, int size)#
Returns a reference to a free char array and an index of this array. After usage the array should be freed by setUnusedCharArr(index) method.
-
int getCharArrSize(int index)#
Returns a size of the array with particular index.
-
int getCharArrSize()#
Returns a number of the Char arrays.
-
void setUnusedCharArr(int index)#
Sets that the array is free.
Public Static Functions
-
static BufferStore *getBufferStore()#
Returns the buffers store.
-
~BufferStore()#