Corrade/Containers/StridedArrayView.h file

Class Corrade::Containers::StridedArrayView, Corrade::Containers::StridedIterator, alias Corrade::Containers::StridedArrayView1D, Corrade::Containers::StridedArrayView2D, Corrade::Containers::StridedArrayView3D, Corrade::Containers::StridedArrayView4D.

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Containers
Container implementations.

Classes

template<unsigned dimensions, class T>
class Corrade::Containers::StridedDimensions new in 2019.10
Multi-dimensional size and stride for StridedArrayView.
template<unsigned dimensions, class T>
class Corrade::Containers::StridedArrayView
Multi-dimensional array view with size and stride information.
template<unsigned dimensions>
class Corrade::Containers::StridedArrayView<dimensions, void> new in 2020.06
Multi-dimensional void array view with size and stride information.
template<unsigned dimensions>
class Corrade::Containers::StridedArrayView<dimensions, const void> new in 2020.06
Multi-dimensional const void array view with size and stride information.
template<unsigned dimensions, class T>
class Corrade::Containers::StridedIterator
Strided array view iterator.

Typedefs

template<unsigned dimensions>
using Size = StridedDimensions<dimensions, std::size_t> new in Git master
Multi-dimensional size for StridedArrayView.
using Size1D = Size<1> new in Git master
Size for StridedArrayView1D.
using Size2D = Size<2> new in Git master
Size for StridedArrayView2D.
using Size3D = Size<3> new in Git master
Size for StridedArrayView3D.
using Size4D = Size<4> new in Git master
Size for StridedArrayView4D.
template<unsigned dimensions>
using Stride = StridedDimensions<dimensions, std::ptrdiff_t> new in Git master
Multi-dimensional stride for StridedArrayView.
using Stride1D = Stride<1> new in Git master
Stride for StridedArrayView1D.
using Stride2D = Stride<2> new in Git master
Stride for StridedArrayView2D.
using Stride3D = Stride<3> new in Git master
Stride for StridedArrayView3D.
using Stride4D = Stride<4> new in Git master
Stride for StridedArrayView4D.
template<class T>
using StridedArrayView1D = StridedArrayView<1, T> new in 2019.10
One-dimensional strided array view.
template<class T>
using StridedArrayView2D = StridedArrayView<2, T> new in 2019.10
Two-dimensional strided array view.
template<class T>
using StridedArrayView3D = StridedArrayView<3, T> new in 2019.10
Three-dimensional strided array view.
template<class T>
using StridedArrayView4D = StridedArrayView<4, T> new in 2019.10
Four-dimensional strided array view.

Functions

template<class T>
auto stridedArrayView(ArrayView<typename StridedArrayView1D<T>::ErasedType> data, T* member, std::size_t size, std::ptrdiff_t stride) -> StridedArrayView1D<T> constexpr new in 2020.06
Make an one-dimensional strided view.
template<class T>
auto stridedArrayView(ArrayView<T> data, std::size_t size, std::ptrdiff_t stride) -> StridedArrayView1D<T> constexpr new in Git master
Make an one-dimensional strided view with explicit size and stride.
template<class T>
auto stridedArrayView(T* data, std::size_t size) -> StridedArrayView1D<T> constexpr new in Git master
Make an one-dimensional strided view on an array of specific length.
template<std::size_t size, class T>
auto stridedArrayView(T(&data)[size]) -> StridedArrayView1D<T> constexpr new in 2019.10
Make an one-dimensional strided view on a fixed-size array.
template<class T>
auto stridedArrayView(std::initializer_list<T> list) -> StridedArrayView1D<const T> new in 2020.06
Make an one-dimensional strided view on an initializer list.
template<class T>
auto stridedArrayView(ArrayView<T> view) -> StridedArrayView1D<T> constexpr new in 2019.10
Make an one-dimensional strided view on ArrayView.
template<std::size_t size, class T>
auto stridedArrayView(StaticArrayView<size, T> view) -> StridedArrayView1D<T> constexpr new in 2019.10
Make an one-dimensional strided view on StaticArrayView.
template<unsigned dimensions, class T>
auto stridedArrayView(StridedArrayView<dimensions, T> view) -> StridedArrayView<dimensions, T> constexpr new in 2019.10
Make a strided view on a strided view.
template<class T, class U = decltype(stridedArrayView(Implementation::ErasedArrayViewConverter<typename std::remove_reference<T && >::type>::from(std::declval<T && >())))>
auto stridedArrayView(T&& other) -> U constexpr new in 2019.10
Make an one-dimensional strided view on an external type / from an external representation.
template<class U, unsigned dimensions, class T>
auto arrayCast(const StridedArrayView<dimensions, T>& view) -> StridedArrayView<dimensions, U>
Reinterpret-cast a strided array view.
template<class U, unsigned dimensions>
auto arrayCast(const StridedArrayView<dimensions, const void>& view) -> StridedArrayView<dimensions, U> new in 2020.06
Reinterpret-cast a void strided array view.
template<class U, unsigned dimensions>
auto arrayCast(const StridedArrayView<dimensions, void>& view) -> StridedArrayView<dimensions, U> new in 2020.06
template<unsigned newDimensions, class U, unsigned dimensions, class T>
auto arrayCast(const StridedArrayView<dimensions, T>& view) -> StridedArrayView<newDimensions, U> new in 2019.10
Reinterpret-cast and inflate or flatten a strided array view.
template<unsigned newDimensions, class U, class T>
auto arrayCast(const ArrayView<T>& view) -> StridedArrayView<newDimensions, U> new in 2020.06
Reinterpret-cast and inflate an array view.
template<unsigned newDimensions, class U, unsigned dimensions>
auto arrayCast(const StridedArrayView<dimensions, const void>& view, std::size_t lastDimensionSize) -> StridedArrayView<newDimensions, U> new in 2020.06
Reinterpret-cast and inflate a void strided array view.
template<unsigned newDimensions, class U, unsigned dimensions>
auto arrayCast(const StridedArrayView<dimensions, void>& view, std::size_t lastDimensionSize) -> StridedArrayView<newDimensions, U> new in 2020.06