G4ModelCmdInvert< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdInvert< M >:

G4ModelCmdApplyBool< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdInvert (M *model, const G4String &placement, const G4String &cmdName="invert")
virtual ~G4ModelCmdInvert ()

Protected Member Functions

virtual void Apply (const G4bool &newValue)

Detailed Description

template<typename M>
class G4ModelCmdInvert< M >

Definition at line 133 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

template<typename M>
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   }

template<typename M>
virtual G4ModelCmdInvert< M >::~G4ModelCmdInvert (  )  [inline, virtual]

Definition at line 144 of file G4ModelCommandsT.hh.

00144 {}


Member Function Documentation

template<typename M>
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   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:29 2013 for Geant4 by  doxygen 1.4.7