Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4Colour & |
c |
|
) |
| |
Definition at line 55 of file G4Colour.cc.
References G4Colour::GetMap().
56 os <<
'(' << c.red <<
',' << c.green <<
',' << c.blue
57 <<
',' << c.alpha <<
')';
60 std::map<G4String, G4Colour>::const_reverse_iterator ri;
61 for (ri = colourMap.rbegin(); ri != colourMap.rend(); ++ri) {
62 if (c == ri->second) {
63 os <<
" (" << ri->first <<
')';
static const std::map< G4String, G4Colour > & GetMap()