CVB++ 14.1
ArrayAccess::Row Class Reference

A single row. More...

#include <cvb/vpat.hpp>

Public Member Functions

 Row () noexcept
 Default ctor of invalid row.
 
CVB_FORCE_INLINE void * operator[] (int x) noexcept
 Value access. More...
 
CVB_FORCE_INLINE const void * operator[] (int x) const noexcept
 Value access. More...
 

Detailed Description

A single row.

Member Function Documentation

◆ operator[]() [1/2]

CVB_FORCE_INLINE const void * operator[] ( int  x) const
inlinenoexcept

Value access.

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

◆ operator[]() [2/2]

CVB_FORCE_INLINE void * operator[] ( int  x)
inlinenoexcept

Value access.

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