#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdAddValue< M >:
Public Member Functions | |
G4ModelCmdAddValue (M *model, const G4String &placement, const G4String &cmdName="addValue") | |
virtual | ~G4ModelCmdAddValue () |
Protected Member Functions | |
virtual void | Apply (const G4String ¶m) |
Definition at line 809 of file G4ModelCommandsT.hh.
G4ModelCmdAddValue< M >::G4ModelCmdAddValue | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "addValue" | |||
) | [inline] |
Definition at line 813 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyString< M >::Command(), and G4UIcommand::SetGuidance().
00815 :G4ModelCmdApplyString<M>(model, placement, cmdName) 00816 { 00817 G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command(); 00818 cmd->SetGuidance("Set value."); 00819 }
virtual G4ModelCmdAddValue< M >::~G4ModelCmdAddValue | ( | ) | [inline, virtual] |
virtual void G4ModelCmdAddValue< M >::Apply | ( | const G4String & | param | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyString< M >.
Definition at line 824 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00824 { 00825 G4VModelCommand<M>::Model()->AddValue(param); 00826 00827 }