#include <sc_store.h>

Public Member Functions

 Gray8 ()=default
 
 Gray8 (uint8_t gray)
 
bool operator!= (Gray8 const &that) const
 
bool operator== (Gray8 const &that) const
 

Public Attributes

uint8_t gray
 

Detailed Description

A gray color, where the channel is in discrete [0, 255] space.

Constructor & Destructor Documentation

◆ Gray8() [1/2]

SC::Store::Gray8::Gray8 ( )
default

◆ Gray8() [2/2]

SC::Store::Gray8::Gray8 ( uint8_t  gray)
explicit

Member Function Documentation

◆ operator!=()

bool SC::Store::Gray8::operator!= ( Gray8 const &  that) const

◆ operator==()

bool SC::Store::Gray8::operator== ( Gray8 const &  that) const

Member Data Documentation

◆ gray

uint8_t SC::Store::Gray8::gray