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