2 // Category: visualization
4 // Singleton data type class - store for the predefined colours.
6 #ifndef ALI_COLOUR_STORE_H
7 #define ALI_COLOUR_STORE_H
13 #include <g4rw/tvordvec.h>
17 typedef G4RWTValOrderedVector<AliColour> AliColourVector;
22 // AliColourStore(const AliColourStore& right);
23 virtual ~AliColourStore();
26 static AliColourStore* Instance();
29 G4Colour GetColour(G4String name) const;
30 G4String GetColoursList() const;
31 G4String GetColoursListWithCommas() const;
35 AliColourStore(const AliColourStore& right);
38 AliColourStore& operator=(const AliColourStore& right);
41 // static data members
42 static AliColourStore* fgInstance; //this instance
45 AliColourVector fColours; //vector of AliColour
48 #endif //ALI_COLOUR_STORE_H