]>
Commit | Line | Data |
---|---|---|
499b353a | 1 | // $Id$ |
2817d3e2 | 2 | // Category: global |
499b353a | 3 | // |
4 | // Author: I. Hrivnacova | |
5 | // | |
6 | // Class TG4UICmdWithAComplexString | |
7 | // -------------------------------- | |
2817d3e2 | 8 | // Concrete class of G4UIcommand. |
9 | // The command defined by this class takes up to three string values. | |
10 | // General information of G4UIcommand is given in G4UIcommand.hh. | |
11 | ||
e64ce064 | 12 | #ifndef TG4_UI_CMD_WITH_A_COMPLEX_STRING_H |
13 | #define TG4_UI_CMD_WITH_A_COMPLEX_STRING_H | |
2817d3e2 | 14 | |
15 | #include <G4UIcommand.hh> | |
16 | ||
17 | class TG4UICmdWithAComplexString : public G4UIcommand | |
18 | { | |
19 | public: | |
20 | TG4UICmdWithAComplexString(G4String commandPath, G4UImessenger* messenger); | |
21 | virtual ~TG4UICmdWithAComplexString(); | |
22 | ||
23 | // set methods | |
24 | void SetParameterName(G4String name, G4bool omittable); | |
25 | void SetDefaultValue(G4String defVal); | |
26 | ||
27 | // get methods | |
28 | G4String GetNewStringValue(G4String paramString); | |
29 | }; | |
30 | ||
e64ce064 | 31 | #endif //TG4_UI_CMD_WITH_A_COMPLEX_STRING_H |