class BaseArray

Base class for array container.

Inheritance:


Protected Fields

void* data
Pointer to data
int size
Size of the array
int allocsize
Size of the allocated memory
int inc
Increment of allocated memory on overflow, allocsize = 0 doubles the array

Protected Methods

BaseArray(int asize, int ainc, int elmentsize)
Creates array of asize elements of size elementsize,
~BaseArray()
void ReSize(int minsize, int elementsize)
Resizes allocated array to max(allocsize, minsize) elements of size elementsize

Documentation

Base class for array container.
void* data
Pointer to data

int size
Size of the array

int allocsize
Size of the allocated memory

int inc
Increment of allocated memory on overflow, allocsize = 0 doubles the array

BaseArray(int asize, int ainc, int elmentsize)
Creates array of asize elements of size elementsize,

~BaseArray()

void ReSize(int minsize, int elementsize)
Resizes allocated array to max(allocsize, minsize) elements of size elementsize


Direct child classes:
Array

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de