#include <G4ModelCommandsT.hh>
Inheritance diagram for G4ModelCmdInvert< M >:
Public Member Functions | |
G4ModelCmdInvert (M *model, const G4String &placement, const G4String &cmdName="invert") | |
virtual | ~G4ModelCmdInvert () |
Protected Member Functions | |
virtual void | Apply (const G4bool &newValue) |
Definition at line 133 of file G4ModelCommandsT.hh.
G4ModelCmdInvert< M >::G4ModelCmdInvert | ( | M * | model, | |
const G4String & | placement, | |||
const G4String & | cmdName = "invert" | |||
) | [inline] |
Definition at line 137 of file G4ModelCommandsT.hh.
References G4ModelCmdApplyBool< M >::Command(), and G4UIcommand::SetGuidance().
00139 :G4ModelCmdApplyBool<M>(model, placement, cmdName) 00140 { 00141 G4ModelCmdApplyBool<M>::Command()->SetGuidance("Invert command"); 00142 }
virtual G4ModelCmdInvert< M >::~G4ModelCmdInvert | ( | ) | [inline, virtual] |
virtual void G4ModelCmdInvert< M >::Apply | ( | const G4bool & | newValue | ) | [inline, protected, virtual] |
Implements G4ModelCmdApplyBool< M >.
Definition at line 148 of file G4ModelCommandsT.hh.
References G4VModelCommand< T >::Model().
00148 { 00149 G4VModelCommand<M>::Model()->SetInvert(newValue); 00150 }