CVB++ 15.0
LinearAccessData::Column Class Reference

A single column. More...

#include <cvb/vpat.hpp>

Public Member Functions

 Column () noexcept
 Default ctor of invalid column.
 
CVB_FORCE_INLINE void * operator[] (int y) noexcept
 Value access. More...
 
CVB_FORCE_INLINE const void * operator[] (int y) const noexcept
 Value access. More...
 

Detailed Description

A single column.

Member Function Documentation

◆ operator[]() [1/2]

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

Value access.

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

◆ operator[]() [2/2]

CVB_FORCE_INLINE void * operator[] ( int  y)
inlinenoexcept

Value access.

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