#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdAddInt< M >:
Public Member Functions | |
G4ModelCmdAddInt (M *model, const G4String &placement, const G4String &cmdName="add") | |
virtual | ~G4ModelCmdAddInt () |
Protected Member Functions | |
virtual void | Apply (const G4int &newValue) |
Definition at line 109 of file G4ModelCommandsT.hh.
G4ModelCmdAddInt< M >::G4ModelCmdAddInt | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "add" | |||
) | [inline] |
Definition at line 113 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyInteger< M >::Command(), and G4UIcommand::SetGuidance().
00115 :G4ModelCmdApplyInteger<M>(model, placement, cmdName) 00116 { 00117 G4ModelCmdApplyInteger<M>::Command()->SetGuidance("Add command"); 00118 }
virtual G4ModelCmdAddInt< M >::~G4ModelCmdAddInt | ( | ) | [inline, virtual] |
virtual void G4ModelCmdAddInt< M >::Apply | ( | const G4int & | newValue | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyInteger< M >.
Definition at line 124 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00124 { 00125 G4VModelCommand<M>::Model()->Add(newValue); 00126 }