G4ModelCmdAddInterval< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdAddInterval< M >:

G4ModelCmdApplyString< M > G4VModelCommand< M > G4UImessenger

Public Member Functions

 G4ModelCmdAddInterval (M *model, const G4String &placement, const G4String &cmdName="addInterval")
virtual ~G4ModelCmdAddInterval ()

Protected Member Functions

virtual void Apply (const G4String &param)

Detailed Description

template<typename M>
class G4ModelCmdAddInterval< M >

Definition at line 784 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

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

Definition at line 788 of file G4ModelCommandsT.hh.

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

00790     :G4ModelCmdApplyString<M>(model, placement, cmdName) 
00791   {
00792     G4UIcmdWithAString* cmd = G4ModelCmdApplyString<M>::Command();
00793     cmd->SetGuidance("Set interval.");
00794   }

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

Definition at line 796 of file G4ModelCommandsT.hh.

00796 {}


Member Function Documentation

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

Implements G4ModelCmdApplyString< M >.

Definition at line 800 of file G4ModelCommandsT.hh.

References G4VModelCommand< T >::Model().

00800                                             {
00801     G4VModelCommand<M>::Model()->AddInterval(param);
00802 
00803   }


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