CVB++ 15.0
ScatterAccess< K >::Row Class Reference

A single row. More...

#include <cvb/vpat.hpp>

Public Member Functions

 Row () noexcept=default
 Default ctor of invalid row.
 
std::array< void *, K > operator[] (int x) noexcept
 Value access. More...
 
std::array< const void *, K > operator[] (int x) const noexcept
 Value access. More...
 

Detailed Description

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

A single row.

Member Function Documentation

◆ operator[]() [1/2]

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

Value access.

Precondition
x must be between 0 and less than the allowed width.
Parameters
[in]xPixel column.
Returns
Array of pointers to the pixel at the column x.

◆ operator[]() [2/2]

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

Value access.

Precondition
x must be between 0 and less than the allowed width.
Parameters
[in]xPixel column.
Returns
Array of pointers to the pixel at the column x.