gem5 v24.0.0.0
Loading...
Searching...
No Matches
rgb_t Struct Reference

#include <rgb.h>

Public Member Functions

bool operator== (const rgb_t &rhs) const
 
bool operator== (const rgb_t &rhs) const
 

Public Attributes

unsigned red
 
unsigned green
 
unsigned blue
 

Friends

ostream & operator<< (ostream &os, struct rgb_t &r)
 

Detailed Description

Definition at line 40 of file rgb.h.

Member Function Documentation

◆ operator==() [1/2]

bool rgb_t::operator== ( const rgb_t & rhs) const
inline

Definition at line 45 of file rgb.h.

References blue, green, and red.

◆ operator==() [2/2]

bool rgb_t::operator== ( const rgb_t & rhs) const
inline

Definition at line 44 of file rgb.h.

References blue, green, and red.

Friends And Related Symbol Documentation

◆ operator<<

ostream & operator<< ( ostream & os,
struct rgb_t & r )
friend

Member Data Documentation

◆ blue

unsigned rgb_t::blue

Definition at line 43 of file rgb.h.

Referenced by operator==().

◆ green

unsigned rgb_t::green

Definition at line 42 of file rgb.h.

Referenced by operator==().

◆ red

unsigned rgb_t::red

Definition at line 41 of file rgb.h.

Referenced by operator==().


The documentation for this struct was generated from the following files:

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0