![]() |
|
Public Member Functions | |
colour () | |
Construct null. | |
colour (const word &nam, const scalar r, const scalar g, const scalar b) | |
Construct from components. | |
colour (Istream &) | |
Construct from Istream. | |
colour (const colour &) | |
Construct as copy. | |
~colour () | |
const word & | name () const |
scalar | r () const |
scalar | g () const |
scalar | b () const |
void | operator= (const colour &) |
Friends | |
bool | operator== (const colour &, const colour &) |
bool | operator!= (const colour &, const colour &) |
Istream & | operator>> (Istream &, colour &) |
Ostream & | operator<< (Ostream &, const colour &) |
|
Construct null.
|
|
Construct from components.
|
|
Construct from Istream. Read beginning of colour Read end of colour Check state of Istream |
|
Construct as copy.
|
|
|
|
Definition at line 125 of file colourI.H. References colour::g_, colour::name_, and colour::r_. |
|
|
|
|
|
|
|
|
|
|
|
Check state of IOstream |
|
|
|
Read beginning of colour Read end of colour Check state of Istream |