G4ModelCmdCreateContextDir< M > Class Template Reference

#include <G4ModelCommandsT.hh>

Inheritance diagram for G4ModelCmdCreateContextDir< M >:

G4UImessenger

Public Member Functions

 G4ModelCmdCreateContextDir (M *model, const G4String &placement)
virtual ~G4ModelCmdCreateContextDir ()

Protected Attributes

G4UIdirectorycmd

Detailed Description

template<typename M>
class G4ModelCmdCreateContextDir< M >

Definition at line 735 of file G4ModelCommandsT.hh.


Constructor & Destructor Documentation

template<typename M>
G4ModelCmdCreateContextDir< M >::G4ModelCmdCreateContextDir ( M *  model,
const G4String placement 
) [inline]

Definition at line 739 of file G4ModelCommandsT.hh.

References G4ModelCmdCreateContextDir< M >::cmd, and G4UIcommand::SetGuidance().

00740   {
00741     G4String title = placement+"/"+model->Name()+"/";
00742     cmd = new G4UIdirectory(title);
00743     
00744     cmd->SetGuidance("Commands for default configuration");
00745   }

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

Definition at line 747 of file G4ModelCommandsT.hh.

References G4ModelCmdCreateContextDir< M >::cmd.

00747                                         {
00748     delete cmd;
00749   }


Field Documentation

template<typename M>
G4UIdirectory* G4ModelCmdCreateContextDir< M >::cmd [protected]

Definition at line 753 of file G4ModelCommandsT.hh.

Referenced by G4ModelCmdCreateContextDir< M >::G4ModelCmdCreateContextDir(), and G4ModelCmdCreateContextDir< M >::~G4ModelCmdCreateContextDir().


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