10#if !defined(ampcor_libampcor_dom_slc_icc)
11#error This header file contains implementation details of class ampcor::dom::SLC
21 return sizeof(pixel_type);
30 return _grid.layout();
39 return _grid.layout().size();
48 return pixels() * pixelSize();
65operator[] (
const index_type & index)
const {
74operator[] (size_type offset)
const {
91view(
const slice_type & slice) {
93 return _grid.view(slice);
107view(
const slice_type & slice)
const {
109 return _grid.view(slice);
115constview(
const slice_type & slice)
const {
117 return _grid.constview(slice);
123SLC(uri_type filename, shape_type shape) :
126 _grid { filename, {shape, {1ul, 0ul}} }