#include <G4UIcmdWithNucleusLimits.hh>
|
| | G4UIcmdWithNucleusLimits (const char *theCommandPath, G4UImessenger *theMessenger) |
| |
| | ~G4UIcmdWithNucleusLimits () |
| |
| G4NucleusLimits | GetNewNucleusLimitsValue (const G4String ¶mString) |
| |
| G4String | ConvertToString (G4NucleusLimits nuclimit) |
| |
| void | SetParameterName (const char *theNameAMin, const char *theNameAMax, const char *theNameZMin, const char *theNameZMax, G4bool omittable, G4bool currentAsDefault=true) |
| |
| void | SetDefaultValue (G4NucleusLimits defVal) |
| |
Public Member Functions inherited from G4UIcommand |
| | G4UIcommand ()=default |
| |
| | G4UIcommand (const char *theCommandPath, G4UImessenger *theMessenger, G4bool tBB=true) |
| |
| virtual | ~G4UIcommand () |
| |
| G4bool | operator== (const G4UIcommand &right) const |
| |
| G4bool | operator!= (const G4UIcommand &right) const |
| |
| virtual G4int | DoIt (const G4String ¶meterList) |
| |
| G4String | GetCurrentValue () |
| |
| void | AvailableForStates (G4ApplicationState s1) |
| |
| void | AvailableForStates (G4ApplicationState s1, G4ApplicationState s2) |
| |
| void | AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3) |
| |
| void | AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4) |
| |
| void | AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4, G4ApplicationState s5) |
| |
| G4bool | IsAvailable () |
| |
| virtual void | List () |
| |
| void | SetRange (const char *rs) |
| |
| const G4String & | GetRange () const |
| |
| std::size_t | GetGuidanceEntries () const |
| |
| const G4String & | GetGuidanceLine (G4int i) const |
| |
| const G4String & | GetCommandPath () const |
| |
| const G4String & | GetCommandName () const |
| |
| std::size_t | GetParameterEntries () const |
| |
| G4UIparameter * | GetParameter (G4int i) const |
| |
| std::vector< G4ApplicationState > * | GetStateList () |
| |
| G4UImessenger * | GetMessenger () const |
| |
| void | SetParameter (G4UIparameter *const newParameter) |
| |
| void | SetGuidance (const char *aGuidance) |
| |
| const G4String | GetTitle () const |
| |
| void | SetToBeBroadcasted (G4bool val) |
| |
| G4bool | ToBeBroadcasted () const |
| |
| void | SetToBeFlushed (G4bool val) |
| |
| G4bool | ToBeFlushed () const |
| |
| void | SetWorkerThreadOnly (G4bool val=true) |
| |
| G4bool | IsWorkerThreadOnly () const |
| |
| void | CommandFailed (G4int errCode, G4ExceptionDescription &ed) |
| |
| void | CommandFailed (G4ExceptionDescription &ed) |
| |
| G4int | IfCommandFailed () |
| |
| const G4String & | GetFailureDescription () |
| |
| void | ResetFailure () |
| |
| CommandType | GetCommandType () const |
| |
| void | SetCommandType (CommandType) |
| |
| void | SetDefaultSortFlag (G4bool val) |
| |
|
Public Types inherited from G4UIcommand |
| enum | CommandType {
BaseClassCmd
, WithoutParameterCmd
, WithABoolCmd
, WithAnIntegerCmd
,
WithALongIntCmd
, WithADoubleCmd
, WithADoubleAndUnitCmd
, With3VectorCmd
,
With3VectorAndUnitCmd
, WithAStringCmd
, CmdDirectory = -1
} |
| |
Static Public Member Functions inherited from G4UIcommand |
| static G4String | ConvertToString (G4bool boolVal) |
| |
| static G4String | ConvertToString (G4int intValue) |
| |
| static G4String | ConvertToString (G4long longValue) |
| |
| static G4String | ConvertToString (G4double doubleValue) |
| |
| static G4String | ConvertToString (G4double doubleValue, const char *unitName) |
| |
| static G4String | ConvertToString (const G4ThreeVector &vec) |
| |
| static G4String | ConvertToString (const G4ThreeVector &vec, const char *unitName) |
| |
| static G4bool | ConvertToBool (const char *st) |
| |
| static G4int | ConvertToInt (const char *st) |
| |
| static G4long | ConvertToLongInt (const char *st) |
| |
| static G4double | ConvertToDouble (const char *st) |
| |
| static G4double | ConvertToDimensionedDouble (const char *st) |
| |
| static G4ThreeVector | ConvertTo3Vector (const char *st) |
| |
| static G4ThreeVector | ConvertToDimensioned3Vector (const char *st) |
| |
| static G4double | ValueOf (const char *unitName) |
| |
| static G4String | CategoryOf (const char *unitName) |
| |
| static G4String | UnitsList (const char *unitCategory) |
| |
Protected Member Functions inherited from G4UIcommand |
| G4int | CheckNewValue (const char *newValue) |
| |
Protected Attributes inherited from G4UIcommand |
| G4bool | toBeBroadcasted = false |
| |
| G4bool | toBeFlushed = false |
| |
| G4bool | workerThreadOnly = false |
| |
| G4int | commandFailureCode = 0 |
| |
| G4String | failureDescription = "" |
| |
| G4bool | ifSort = false |
| |
Definition at line 76 of file G4UIcmdWithNucleusLimits.hh.
◆ G4UIcmdWithNucleusLimits()
| G4UIcmdWithNucleusLimits::G4UIcmdWithNucleusLimits |
( |
const char * | theCommandPath, |
|
|
G4UImessenger * | theMessenger ) |
Definition at line 31 of file G4UIcmdWithNucleusLimits.cc.
34{
35 G4UIparameter * intParamAMin = new G4UIparameter('i');
37 G4UIparameter * intParamAMax = new G4UIparameter('i');
39 G4UIparameter * intParamZMin = new G4UIparameter('i');
41 G4UIparameter * intParamZMax = new G4UIparameter('i');
43}
void SetParameter(G4UIparameter *const newParameter)
◆ ~G4UIcmdWithNucleusLimits()
| G4UIcmdWithNucleusLimits::~G4UIcmdWithNucleusLimits |
( |
| ) |
|
◆ ConvertToString()
Definition at line 66 of file G4UIcmdWithNucleusLimits.cc.
68{
69 std::ostringstream os;
70 os << defLimits.GetAMin() << " " << defLimits.GetAMax()
71 << defLimits.GetZMin() << " " << defLimits.GetZMax() ;
72 G4String vl = os.str();
73 return vl;
74}
◆ GetNewNucleusLimitsValue()
Definition at line 53 of file G4UIcmdWithNucleusLimits.cc.
55{
60 std::istringstream is(paramString);
61 is >> aMin >> aMax >> zMin >> zMax;
62 return G4NucleusLimits(aMin,aMax,zMin,zMax);
63}
◆ SetDefaultValue()
Definition at line 100 of file G4UIcmdWithNucleusLimits.cc.
101{
110}
G4UIparameter * GetParameter(G4int i) const
void SetDefaultValue(const char *theDefaultValue)
◆ SetParameterName()
| void G4UIcmdWithNucleusLimits::SetParameterName |
( |
const char * | theNameAMin, |
|
|
const char * | theNameAMax, |
|
|
const char * | theNameZMin, |
|
|
const char * | theNameZMax, |
|
|
G4bool | omittable, |
|
|
G4bool | currentAsDefault = true ) |
Definition at line 77 of file G4UIcmdWithNucleusLimits.cc.
80{
97}
void SetParameterName(const char *pName)
void SetOmittable(G4bool om)
void SetCurrentAsDefault(G4bool val)
The documentation for this class was generated from the following files: