#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdAddString< M >:
Public Member Functions | |
G4ModelCmdAddString (M *model, const G4String &placement, const G4String &cmdName="add") | |
virtual | ~G4ModelCmdAddString () |
Protected Member Functions | |
virtual void | Apply (const G4String &newValue) |
Definition at line 85 of file G4ModelCommandsT.hh.
G4ModelCmdAddString< M >::G4ModelCmdAddString | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "add" | |||
) | [inline] |
Definition at line 89 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyString< M >::Command(), and G4UIcommand::SetGuidance().
00091 :G4ModelCmdApplyString<M>(model, placement, cmdName) 00092 { 00093 G4ModelCmdApplyString<M>::Command()->SetGuidance("Add command"); 00094 }
virtual G4ModelCmdAddString< M >::~G4ModelCmdAddString | ( | ) | [inline, virtual] |
virtual void G4ModelCmdAddString< M >::Apply | ( | const G4String & | newValue | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyString< M >.
Definition at line 100 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00100 { 00101 G4VModelCommand<M>::Model()->Add(newValue); 00102 }