gem5  v22.1.0.0
Public Member Functions | Public Attributes | Friends | List of all members
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 Function 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 file:

Generated on Wed Dec 21 2022 10:23:06 for gem5 by doxygen 1.9.1