MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetParameterName

Method SetParameterName

source/intercoms/src/G4UIcmdWithAnInteger.cc:49–56  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

47
48// --------------------------------------------------------------------
49void G4UIcmdWithAnInteger::SetParameterName(const char* theName, G4bool omittable,
50 G4bool currentAsDefault)
51{
52 G4UIparameter* theParam = GetParameter(0);
53 theParam->SetParameterName(theName);
54 theParam->SetOmittable(omittable);
55 theParam->SetCurrentAsDefault(currentAsDefault);
56}
57
58// --------------------------------------------------------------------
59void G4UIcmdWithAnInteger::SetDefaultValue(G4int defVal)

Callers

nothing calls this directly

Calls 2

SetOmittableMethod · 0.80
SetCurrentAsDefaultMethod · 0.80

Tested by

no test coverage detected