DUDS
Distributed Update of Data from Something
duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy Class Reference

Retreives a pixel's state; used to allow ConstPixel to be dereferenced like any other iterator to get a bool for the pixel. More...

#include <BppImage.hpp>

Collaboration diagram for duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy:

Public Member Functions

 ConstBoolProxy (const ConstPixel *p)
 
 operator bool () const
 Returns the pixel's state. More...
 

Private Attributes

const ConstPixelcp
 

Detailed Description

Retreives a pixel's state; used to allow ConstPixel to be dereferenced like any other iterator to get a bool for the pixel.

Definition at line 794 of file BppImage.hpp.

Constructor & Destructor Documentation

◆ ConstBoolProxy()

duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy::ConstBoolProxy ( const ConstPixel p)
inline

Definition at line 797 of file BppImage.hpp.

Member Function Documentation

◆ operator bool()

duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy::operator bool ( ) const
inline

Returns the pixel's state.

Exceptions
ImageIteratorEndError

Definition at line 802 of file BppImage.hpp.

Member Data Documentation

◆ cp

const ConstPixel* duds::ui::graphics::BppImage::ConstPixel::ConstBoolProxy::cp
private

Definition at line 795 of file BppImage.hpp.


The documentation for this class was generated from the following file: