G4ModelCmdVerbose< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdVerbose< M >:

G4ModelCmdApplyBool< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdVerbose (M *model, const G4String &placement, const G4String &cmdName="verbose")
virtual ~G4ModelCmdVerbose ()

Protected Member Functions

virtual void Apply (const G4bool &newValue)

Detailed Description

template<typename M>
class G4ModelCmdVerbose< M >

Definition at line 181 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

template<typename M>
G4ModelCmdVerbose< M >::G4ModelCmdVerbose ( M *  model,
const G4String placement,
const G4String cmdName = "verbose" 
) [inline]

Definition at line 185 of file G4ModelCommandsT.hh.

References G4ModelCmdApplyBool< M >::Command(), and G4UIcommand::SetGuidance().

00187     :G4ModelCmdApplyBool<M>(model, placement, cmdName)
00188   {
00189     G4ModelCmdApplyBool<M>::Command()->SetGuidance("Verbose command");
00190   }

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

Definition at line 192 of file G4ModelCommandsT.hh.

00192 {}


Member Function Documentation

template<typename M>
virtual void G4ModelCmdVerbose< M >::Apply ( const G4bool newValue  )  [inline, protected, virtual]

Implements G4ModelCmdApplyBool< M >.

Definition at line 196 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00196                                              {
00197     G4VModelCommand<M>::Model()->SetVerbose(newValue);
00198   }


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