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).
14 #include <g4std/vector>
15 #include <g4rw/tvordvec.h>
16 #include <g4rw/tpordvec.h>
21 typedef vector<G4bool> TG4boolVector;
22 typedef G4RWTValOrderedVector<G4double> TG4doubleVector;
23 typedef G4RWTValOrderedVector<G4String> TG4StringVector;
24 typedef G4RWTValOrderedVector<TG3FlagValue> TG3FlagVector;
25 typedef G4RWTPtrOrderedVector<G4Material> TG4MaterialVector;
26 typedef G4RWTPtrOrderedVector<G4Element> TG4ElementVector;
33 virtual ~TG4Globals();
36 static void Exception(const char* string=0);
37 // Global error function prints string to cerr, and aborts
38 // program - according to G4Exception.cc
39 static void Warning(const char* string=0);
40 // Global warning function prints string to cerr
44 // only typedefs's and static methods