32 #ifndef G4MODELCOMMANDST_HH
33 #define G4MODELCOMMANDST_HH
69 const G4String& cmdName=
"setDefault")
108 template <
typename M>
132 template <
typename M>
156 template <
typename M>
180 template <
typename M>
204 template <
typename M>
228 template <
typename M>
234 const G4String& cmdName=
"setAuxPtsColour")
247 template <
typename M>
253 const G4String& cmdName=
"setStepPtsColour")
266 template <
typename M>
272 const G4String& cmdName=
"setDrawLine")
288 template <
typename M>
294 const G4String& cmdName=
"setLineVisible")
310 template <
typename M>
316 const G4String& cmdName=
"setDrawAuxPts")
332 template <
typename M>
338 const G4String& cmdName=
"setAuxPtsVisible")
354 template <
typename M>
360 const G4String& cmdName=
"setDrawStepPts")
376 template <
typename M>
382 const G4String& cmdName=
"setStepPtsVisible")
398 template <
typename M>
404 const G4String& cmdName=
"setAuxPtsSize")
413 std::istringstream iss(sizeString);
432 template <
typename M>
438 const G4String& cmdName=
"setStepPtsSize")
447 std::istringstream iss(sizeString);
466 template <
typename M>
472 const G4String& cmdName=
"setStepPtsType")
490 ed <<
"Invalid argument. See command guidance for options.";
492 (
"G4ModelCmdSetStepPtsType::Apply",
503 template <
typename M>
509 const G4String& cmdName=
"setAuxPtsType")
528 ed <<
"Invalid argument. See command guidance for options.";
530 (
"G4ModelCmdSetAuxPtsType::Apply",
542 template <
typename M>
548 const G4String& cmdName=
"setStepPtsSizeType")
566 ed <<
"Invalid argument. See command guidance for options.";
568 (
"G4ModelCmdSetStepPtsSizeType::Apply",
579 template <
typename M>
585 const G4String& cmdName=
"setAuxPtsSizeType")
603 ed <<
"Invalid argument. See command guidance for options.";
605 (
"G4ModelCmdSetAuxPtsSizeType::Apply",
616 template <
typename M>
622 const G4String& cmdName=
"setStepPtsFillStyle")
640 ed <<
"Invalid argument. See command guidance for options.";
642 (
"G4ModelCmdSetStepPtsFillStyle::Apply",
653 template <
typename M>
659 const G4String& cmdName=
"setAuxPtsFillStyle")
677 ed <<
"Invalid argument. See command guidance for options.";
679 (
"G4ModelCmdSetAuxPtsFillStyle::Apply",
690 template <
typename M>
696 const G4String& cmdName=
"""setLineColour")
709 template <
typename M>
715 const G4String& cmdName =
"setTimeSliceInterval")
720 (
"Set time slice interval. Give unit, e.g., \"0.1 ns\"");
734 template <
typename M>
741 G4String title = placement+
"/"+model->Name()+
"/";
759 template <
typename M>
783 template <
typename M>
789 const G4String& cmdName=
"addInterval")
808 template <
typename M>
832 template <
typename M>
G4UIcmdWithADoubleAndUnit * Command()
G4ModelCmdSetTimeSliceInterval(M *model, const G4String &placement, const G4String &cmdName="setTimeSliceInterval")
virtual void Apply(const G4bool &newValue)
void Apply(const G4String &type)
virtual ~G4ModelCmdReset()
std::ostringstream G4ExceptionDescription
virtual ~G4ModelCmdAddValue()
void Apply(const G4bool &myBool)
virtual void Apply(const G4Colour &colour)
G4ModelCmdSetStepPtsColour(M *model, const G4String &placement, const G4String &cmdName="setStepPtsColour")
virtual void Apply(const G4String ¶m)
G4ModelCmdSetDrawStepPts(M *model, const G4String &placement, const G4String &cmdName="setDrawStepPts")
void Apply(const G4bool &myBool)
G4ModelCmdVerbose(M *model, const G4String &placement, const G4String &cmdName="verbose")
void Apply(const G4String &type)
G4ModelCmdSetStepPtsType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsType")
G4ModelCmdSetLineColour(M *model, const G4String &placement, const G4String &cmdName="""setLineColour")
G4ModelCmdSetDrawLine(M *model, const G4String &placement, const G4String &cmdName="setDrawLine")
void Apply(const G4Colour &colour)
G4ModelCmdSetAuxPtsColour(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsColour")
void Apply(const G4double &myDouble)
void Apply(const G4String &type)
void SetUnitCategory(const char *unitCategory)
virtual ~G4ModelCmdAddString()
virtual ~G4ModelCmdActive()
G4ModelCmdSetStepPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setStepPtsVisible")
static G4double GetNewDoubleValue(const char *paramString)
void Apply(const G4String &sizeString)
void Apply(const G4bool &myBool)
G4ModelCmdAddInt(M *model, const G4String &placement, const G4String &cmdName="add")
G4ModelCmdSetStepPtsSize(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSize")
G4ModelCmdAddValue(M *model, const G4String &placement, const G4String &cmdName="addValue")
G4ModelCmdReset(M *model, const G4String &placement, const G4String &cmdName="reset")
void Apply(const G4Colour &colour)
void Apply(const G4String &type)
G4ModelCmdSetDrawAuxPts(M *model, const G4String &placement, const G4String &cmdName="setDrawAuxPts")
G4ModelCmdSetStringColour(M *model, const G4String &placement, const G4String &cmdName="set")
void Apply(const G4bool &myBool)
virtual void Apply(const G4bool &newValue)
virtual ~G4ModelCmdSetDefaultColour()
G4ModelCmdSetAuxPtsSize(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSize")
G4UIcmdWithAnInteger * Command()
G4ModelCmdInvert(M *model, const G4String &placement, const G4String &cmdName="invert")
G4UIcmdWithAString * Command()
virtual void Apply(const G4String &newValue)
void SetGuidance(const char *aGuidance)
virtual void Apply(const G4String ¶m)
G4ModelCmdSetAuxPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsVisible")
G4ModelCmdActive(M *model, const G4String &placement, const G4String &cmdName="active")
virtual void Apply(const G4bool &newValue)
virtual void Apply(const G4int &newValue)
G4UIcmdWithABool * Command()
void Apply(const G4String &sizeString)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4ModelCmdSetStepPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSizeType")
virtual ~G4ModelCmdAddInt()
virtual void Apply(const G4String ¶m, const G4Colour &colour)
G4ModelCmdDraw(M *model, const G4String &placement, const G4String &cmdName="draw")
virtual ~G4ModelCmdSetStringColour()
G4ModelCmdSetAuxPtsType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsType")
virtual ~G4ModelCmdDraw()
void Apply(const G4String &type)
G4ModelCmdSetAuxPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsFillStyle")
G4ModelCmdAddInterval(M *model, const G4String &placement, const G4String &cmdName="addInterval")
void Apply(const G4bool &myBool)
virtual ~G4ModelCmdSetString()
void Apply(const G4bool &myBool)
G4ModelCmdCreateContextDir(M *model, const G4String &placement)
void SetCandidates(const char *candidateList)
virtual ~G4ModelCmdVerbose()
G4ModelCmdSetAuxPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSizeType")
virtual void Apply(const G4String &newValue)
virtual ~G4ModelCmdCreateContextDir()
virtual ~G4ModelCmdInvert()
G4ModelCmdSetString(M *model, const G4String &placement, const G4String &cmdName="set")
virtual ~G4ModelCmdAddInterval()
virtual void Apply(const G4bool &newValue)
void Apply(const G4Colour &colour)
G4ModelCmdSetDefaultColour(M *model, const G4String &placement, const G4String &cmdName="setDefault")
void Apply(const G4String &type)
G4ModelCmdAddString(M *model, const G4String &placement, const G4String &cmdName="add")
G4ModelCmdSetStepPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setStepPtsFillStyle")
G4ModelCmdSetLineVisible(M *model, const G4String &placement, const G4String &cmdName="setLineVisible")