|
lsst.afw g712618294e+4813a5392e
|
Abstract base class for an array of pixel values. More...
#include <fitsCompression.h>
Public Member Functions | |
| virtual | ~PixelArrayBase () |
| virtual void const * | getData () const =0 |
| Return a void* array of the pixels. More... | |
| std::size_t | getNumElements () const |
| Return the number of pixels. More... | |
Protected Member Functions | |
| PixelArrayBase (std::size_t num) | |
Abstract base class for an array of pixel values.
For writing pixels out with the C-based cfitsio API, it's helpful to have a type-agnostic holder of the pixel values (because although we can template on the array type, the output type can be configured at run-time, which means we can't use ndarray::Array as the carrier). This is essentially a C++-ish void* array.
Definition at line 75 of file fitsCompression.h.
|
inlinevirtual |
Definition at line 77 of file fitsCompression.h.
|
inlineprotected |
Definition at line 86 of file fitsCompression.h.
|
pure virtual |
Return a void* array of the pixels.
Implemented in lsst::afw::fits::detail::PixelArray< T >.
|
inline |
Return the number of pixels.
Definition at line 83 of file fitsCompression.h.