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

Method SetParameter

source/intercoms/include/G4UIcommand.hh:136–139  ·  view source on GitHub ↗

Defines a parameter. This method is used by the derived command classes but the user can directly use this command when defining a command, without using the derived class. For this case, the order of the parameters is the order of invoking this method

Source from the content-addressed store, hash-verified

134 // a command, without using the derived class. For this case, the order
135 // of the parameters is the order of invoking this method
136 inline void SetParameter(G4UIparameter* const newParameter)
137 {
138 parameter.push_back(newParameter);
139 }
140
141 // Adds a guidance line. Unlimited times of invokation of this method is
142 // allowed. The given lines of guidance will appear for the help.

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected