12#ifndef DUMUX_RASTER_IMAGE_DATA_HH
13#define DUMUX_RASTER_IMAGE_DATA_HH
49 using Parent = std::vector<T>;
65 : Parent(std::move(data))
66 , header_(std::move(
header))
73 using Parent::operator[];
The return type of the reading functions. Holds the actual pixel values and the header data.
Definition: rasterimagedata.hh:48
const HeaderData & header() const
Returns the header data.
Definition: rasterimagedata.hh:70
Result(std::vector< T > &&data, HeaderData &&header)
Construct from data and header by move.
Definition: rasterimagedata.hh:64
Result(const std::vector< T > &data, const HeaderData &header)
Construct from data and header by copy.
Definition: rasterimagedata.hh:56
Definition: rasterimagedata.hh:19