CVB++ 14.0
LinearAccessData::Column Class Reference

A single column. More...

#include <cvb/vpat.hpp>

Public Member Functions

 Column () noexcept
 Default ctor of invalid column.
 
 Column (const Column &)=default
 Copy ctor.
 
Columnoperator= (const Column &)=default
 Copy assignment. More...
 
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=()

Column & operator= ( const Column )
default

Copy assignment.

Returns
Reference to this object.

◆ 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.