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>
void SetGuidance(const char *aGuidance)
G4UIcmdWithAnInteger * Command()
G4ModelCmdSetAuxPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsFillStyle")
G4ModelCmdSetTimeSliceInterval(M *model, const G4String &placement, const G4String &cmdName="setTimeSliceInterval")
G4ModelCmdSetStepPtsFillStyle(M *model, const G4String &placement, const G4String &cmdName="setStepPtsFillStyle")
std::ostringstream G4ExceptionDescription
G4ModelCmdCreateContextDir(M *model, const G4String &placement)
G4ModelCmdDraw(M *model, const G4String &placement, const G4String &cmdName="draw")
void Apply(const G4bool &myBool)
G4ModelCmdSetDrawAuxPts(M *model, const G4String &placement, const G4String &cmdName="setDrawAuxPts")
G4ModelCmdSetDrawStepPts(M *model, const G4String &placement, const G4String &cmdName="setDrawStepPts")
G4ModelCmdAddInt(M *model, const G4String &placement, const G4String &cmdName="add")
virtual ~G4ModelCmdDraw()
virtual void Apply(const G4bool &newValue)
virtual void Apply(const G4bool &newValue)
G4UIcmdWithADoubleAndUnit * Command()
G4ModelCmdSetStepPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setStepPtsVisible")
void Apply(const G4Colour &colour)
void Apply(const G4String &type)
virtual void Apply(const G4bool &newValue)
G4ModelCmdSetDefaultColour(M *model, const G4String &placement, const G4String &cmdName="setDefault")
void Apply(const G4bool &myBool)
void Apply(const G4Colour &colour)
virtual ~G4ModelCmdAddValue()
void Apply(const G4String &type)
G4ModelCmdSetAuxPtsSize(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSize")
G4ModelCmdSetStepPtsColour(M *model, const G4String &placement, const G4String &cmdName="setStepPtsColour")
virtual void Apply(const G4int &newValue)
static G4double GetNewDoubleValue(const char *paramString)
G4ModelCmdSetAuxPtsType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsType")
G4UIcmdWithABool * Command()
G4ModelCmdSetString(M *model, const G4String &placement, const G4String &cmdName="set")
void Apply(const G4String &type)
void Apply(const G4String &sizeString)
G4ModelCmdSetStringColour(M *model, const G4String &placement, const G4String &cmdName="set")
void SetUnitCategory(const char *unitCategory)
void Apply(const G4bool &myBool)
virtual ~G4ModelCmdVerbose()
virtual ~G4ModelCmdSetDefaultColour()
virtual void Apply(const G4Colour &colour)
void Apply(const G4double &myDouble)
virtual ~G4ModelCmdAddInt()
void SetCandidates(const char *candidateList)
void Apply(const G4String &type)
virtual void Apply(const G4String ¶m)
G4ModelCmdAddInterval(M *model, const G4String &placement, const G4String &cmdName="addInterval")
void Apply(const G4bool &myBool)
virtual ~G4ModelCmdReset()
virtual ~G4ModelCmdCreateContextDir()
void Apply(const G4String &sizeString)
virtual ~G4ModelCmdAddInterval()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4ModelCmdSetStepPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSizeType")
G4ModelCmdReset(M *model, const G4String &placement, const G4String &cmdName="reset")
virtual void Apply(const G4String &newValue)
G4ModelCmdActive(M *model, const G4String &placement, const G4String &cmdName="active")
G4ModelCmdAddString(M *model, const G4String &placement, const G4String &cmdName="add")
G4ModelCmdSetStepPtsType(M *model, const G4String &placement, const G4String &cmdName="setStepPtsType")
virtual void Apply(const G4String &newValue)
G4ModelCmdSetAuxPtsColour(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsColour")
virtual ~G4ModelCmdSetStringColour()
virtual ~G4ModelCmdInvert()
G4ModelCmdInvert(M *model, const G4String &placement, const G4String &cmdName="invert")
void Apply(const G4bool &myBool)
virtual void Apply(const G4String ¶m, const G4Colour &colour)
G4UIcmdWithAString * Command()
virtual ~G4ModelCmdActive()
virtual ~G4ModelCmdSetString()
virtual ~G4ModelCmdAddString()
G4ModelCmdSetStepPtsSize(M *model, const G4String &placement, const G4String &cmdName="setStepPtsSize")
G4ModelCmdSetAuxPtsSizeType(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsSizeType")
void Apply(const G4String &type)
void Apply(const G4Colour &colour)
const XML_Char XML_Content * model
G4ModelCmdVerbose(M *model, const G4String &placement, const G4String &cmdName="verbose")
G4ModelCmdSetLineColour(M *model, const G4String &placement, const G4String &cmdName="""setLineColour")
void Apply(const G4bool &myBool)
G4ModelCmdAddValue(M *model, const G4String &placement, const G4String &cmdName="addValue")
void Apply(const G4String &type)
virtual void Apply(const G4bool &newValue)
G4ModelCmdSetDrawLine(M *model, const G4String &placement, const G4String &cmdName="setDrawLine")
G4ModelCmdSetAuxPtsVisible(M *model, const G4String &placement, const G4String &cmdName="setAuxPtsVisible")
G4ModelCmdSetLineVisible(M *model, const G4String &placement, const G4String &cmdName="setLineVisible")
virtual void Apply(const G4String ¶m)