G4ModelCmdAddValue< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdAddValue< M >:

G4ModelCmdApplyString< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdAddValue (M *model, const G4String &placement, const G4String &cmdName="addValue")
virtual ~G4ModelCmdAddValue ()

Protected Member Functions

virtual void Apply (const G4String &param)

Detailed Description

template<typename M>
class G4ModelCmdAddValue< M >

Definition at line 809 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

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

Definition at line 813 of file G4ModelCommandsT.hh.

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

00815     :G4ModelCmdApplyString<M>(model, placement, cmdName) 
00816   {
00817     G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
00818     cmd->SetGuidance("Set value.");
00819   }

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

Definition at line 821 of file G4ModelCommandsT.hh.

00821 {}


Member Function Documentation

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

Implements G4ModelCmdApplyString< M >.

Definition at line 824 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00824                                             {
00825     G4VModelCommand<M>::Model()->AddValue(param);
00826 
00827   }


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