G4ModelCmdSetString< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdSetString< M >:

G4ModelCmdApplyString< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdSetString (M *model, const G4String &placement, const G4String &cmdName="set")
virtual ~G4ModelCmdSetString ()

Protected Member Functions

virtual void Apply (const G4String &newValue)

Detailed Description

template<typename M>
class G4ModelCmdSetString< M >

Definition at line 833 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

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

Definition at line 837 of file G4ModelCommandsT.hh.

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

00839     :G4ModelCmdApplyString<M>(model, placement, cmdName) 
00840   {
00841     G4ModelCmdApplyString<M>::Command()->SetGuidance("Set command");
00842   }

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

Definition at line 844 of file G4ModelCommandsT.hh.

00844 {}


Member Function Documentation

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

Implements G4ModelCmdApplyString< M >.

Definition at line 848 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00848                                                {
00849     G4VModelCommand<M>::Model()->Set(newValue);
00850   }


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