ZeroSizeDinfo< D > Class Template Reference

#include <Dinfo.h>

Inheritance diagram for ZeroSizeDinfo< D >:
Inheritance graph
[legend]
Collaboration diagram for ZeroSizeDinfo< D >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned int size () const
unsigned int sizeIncrement () const

template<class D>
class ZeroSizeDinfo< D >


Member Function Documentation

template<class D>
unsigned int ZeroSizeDinfo< D >::size (  )  const [inline, virtual]

Reimplemented from Dinfo< D >.

template<class 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 >.


The documentation for this class was generated from the following file:

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1