#include <G4ModelColourMap.hh>
template<typename T>
class G4ModelColourMap< T >
Definition at line 41 of file G4ModelColourMap.hh.
◆ G4ModelColourMap()
◆ ~G4ModelColourMap()
◆ GetColour()
Definition at line 105 of file G4ModelColourMap.hh.
107 typename std::map<T, G4Colour>::const_iterator iter =
fMap.find(quantity);
109 if (iter !=
fMap.end()) {
110 colour = iter->second;
std::map< T, G4Colour > fMap
◆ operator[]()
◆ Print()
Definition at line 119 of file G4ModelColourMap.hh.
121 typename std::map<T, G4Colour>::const_iterator iter =
fMap.begin();
123 while (iter !=
fMap.end()) {
124 ostr<< iter->first <<
" : "<< iter->second <<
G4endl;
std::map< T, G4Colour > fMap
◆ Set() [1/2]
◆ Set() [2/2]
Definition at line 77 of file G4ModelColourMap.hh.
84 ed <<
"G4Colour with key "<<colour<<
" does not exist ";
86 (
"G4ColourMap::Set(Charge charge, const G4String& colour)",
93 Set(quantity, myColour);
std::ostringstream G4ExceptionDescription
static G4bool GetColour(const G4String &key, G4Colour &result)
void Set(const T &, const G4Colour &)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ fMap
The documentation for this class was generated from the following file: