4 // Class for generally used basic types and functions.
5 // It is protected from instantiating (only static data members
6 // and static methods are defined).
12 #include <g4std/vector>
14 #include <g4rw/tvordvec.h>
15 #include <g4rw/tpordvec.h>
16 #include <G4RotationMatrix.hh>
21 typedef G4std::vector<G4bool> TG4boolVector;
22 typedef G4std::vector<G4int> TG4intVector;
23 typedef G4std::vector<G4String> TG4StdStringVector;
24 typedef G4std::vector<const G4RotationMatrix*> TG4RotationMatrixVector;
25 typedef G4std::set <G4String, G4std::less<G4String> > TG4StringSet;
26 typedef G4RWTValOrderedVector<G4double> TG4doubleVector;
27 typedef G4RWTValOrderedVector<G4String> TG4StringVector;
28 typedef G4RWTPtrOrderedVector<G4Material> TG4MaterialVector;
29 typedef G4RWTPtrOrderedVector<G4Element> TG4ElementVector;
36 virtual ~TG4Globals();
39 static void Exception(const char* string=0);
40 // Global error function prints string to cerr, and aborts
41 // program - according to G4Exception.cc
42 static void Warning(const char* string=0);
43 // Global warning function prints string to cerr
44 static void AppendNumberToString(G4String& string, G4int number);
48 // only typedefs's and static methods