2 // Category: visualization
4 // Author: I. Hrivnacova
6 // Class AliColourStore
7 // --------------------
8 // Singleton data type class - store for the predefined colours.
10 #ifndef ALI_COLOUR_STORE_H
11 #define ALI_COLOUR_STORE_H
13 #include <G4Colour.hh>
17 #include <g4std/vector>
21 typedef G4std::vector<AliColour> ColourVector;
22 typedef ColourVector::iterator ColourIterator;
23 typedef ColourVector::const_iterator ColourConstIterator;
28 // AliColourStore(const AliColourStore& right);
29 virtual ~AliColourStore();
32 static AliColourStore* Instance();
35 G4Colour GetColour(G4String name) const;
36 G4String GetColoursList() const;
37 G4String GetColoursListWithCommas() const;
41 AliColourStore(const AliColourStore& right);
44 AliColourStore& operator=(const AliColourStore& right);
47 // static data members
48 static AliColourStore* fgInstance; //this instance
51 ColourVector fColours; //vector of AliColour
54 #endif //ALI_COLOUR_STORE_H