G4ModelCmdAddString< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdAddString< M >:

G4ModelCmdApplyString< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdAddString (M *model, const G4String &placement, const G4String &cmdName="add")
virtual ~G4ModelCmdAddString ()

Protected Member Functions

virtual void Apply (const G4String &newValue)

Detailed Description

template<typename M>
class G4ModelCmdAddString< M >

Definition at line 85 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

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

Definition at line 89 of file G4ModelCommandsT.hh.

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

00091     :G4ModelCmdApplyString<M>(model, placement, cmdName) 
00092   {
00093     G4ModelCmdApplyString<M>::Command()->SetGuidance("Add command");
00094   }

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

Definition at line 96 of file G4ModelCommandsT.hh.

00096 {}


Member Function Documentation

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

Implements G4ModelCmdApplyString< M >.

Definition at line 100 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00100                                                {
00101     G4VModelCommand<M>::Model()->Add(newValue);
00102   }


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