Public Member Functions | List of all members
ScatterAccess< K >::Column Class Reference

A single column. More...

#include <cvb/vpat.hpp>

Public Member Functions

 Column () noexcept=default
 Default ctor of invalid Column.
 
 Column (const Column &)=default
 Copy ctor.
 
Columnoperator= (const Column &)=default
 Copy assignment. More...
 
std::array< void *, K > operator[] (int y) noexcept
 Value access. More...
 
std::array< const void *, K > operator[] (int y) const noexcept
 Value access. More...
 

Detailed Description

template<int K>
class Cvb::ScatterAccess< K >::Column

A single column.

Member Function Documentation

◆ operator=()

Column& operator= ( const Column )
default

Copy assignment.

Returns
Reference to this object.

◆ operator[]() [1/2]

std::array<void *, K> operator[] ( int  y)
inlinenoexcept

Value access.

Precondition
y must be between 0 and less than the allowed height.
Parameters
[in]yPixel row.
Returns
Array of pointers to the pixel at the row y.

◆ operator[]() [2/2]

std::array<const void *, K> operator[] ( int  y) const
inlinenoexcept

Value access.

Precondition
y must be between 0 and less than the allowed height.
Parameters
[in]yPixel row.
Returns
Array of pointers to the pixel at the row y.