#include <Dinfo.h>
Public Member Functions | |
unsigned int | size () const |
unsigned int | sizeIncrement () const |
unsigned int ZeroSizeDinfo< D >::size | ( | ) | const [inline, virtual] |
Reimplemented from Dinfo< D >.
unsigned int ZeroSizeDinfo< D >::sizeIncrement | ( | ) | const [inline, virtual] |
This little hack is used for lookups of a data entry in an array. Normally sizeIncrement is identical to size. However, if it is a OneZombie then we always need to return the original pointer, so here sizeIncrement becomes zero.
Reimplemented from Dinfo< D >.