Import Geant4 9.5.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ModelApplyCommandsT.hh,v 1.6 2009/02/25 14:17:11 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
// $Id: G4ModelApplyCommandsT.hh,v 1.6 2009-02-25 14:17:11 allison Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
//
|
||||
// Abstract model messenges. Derived classes should implement
|
||||
// the "Apply" method
|
||||
@@ -132,11 +132,11 @@ void G4ModelCmdApplyStringColour<M>::SetNewValue(G4UIcommand* cmd, G4String newV
|
||||
|
||||
// Colour key should exist
|
||||
if (!G4Colour::GetColour(colour, myColour)) {
|
||||
std::ostringstream o;
|
||||
o << "G4Colour with key "<<colour<<" does not exist ";
|
||||
G4ExceptionDescription ed;
|
||||
ed << "G4Colour with key "<<colour<<" does not exist ";
|
||||
G4Exception
|
||||
("G4ModelCmdApplyStringColour<M>::SetNewValue",
|
||||
"NonExistentColour", JustWarning, o.str().c_str());
|
||||
"modeling0106", JustWarning, ed);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -236,11 +236,11 @@ void G4ModelCmdApplyColour<M>::SetNewValue(G4UIcommand* cmd, G4String newValue)
|
||||
|
||||
// Colour key should exist
|
||||
if (!G4Colour::GetColour(colour, myColour)) {
|
||||
std::ostringstream o;
|
||||
o << "G4Colour with key "<<colour<<" does not exist ";
|
||||
G4ExceptionDescription ed;
|
||||
ed << "G4Colour with key "<<colour<<" does not exist ";
|
||||
G4Exception
|
||||
("G4ModelCmdApplyColour<M>::SetNewValue",
|
||||
"NonExistentColour", JustWarning, o.str().c_str());
|
||||
"modeling0107", JustWarning, ed);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -498,7 +498,7 @@ G4ModelCmdApplyInteger<M>::~G4ModelCmdApplyInteger()
|
||||
}
|
||||
|
||||
template <typename M>
|
||||
void G4ModelCmdApplyInteger<M>::SetNewValue(G4UIcommand* cmd, G4String newValue)
|
||||
void G4ModelCmdApplyInteger<M>::SetNewValue(G4UIcommand*, G4String newValue)
|
||||
{
|
||||
Apply(fpCmd->GetNewIntValue(newValue));
|
||||
G4VVisManager* visManager = G4VVisManager::GetConcreteInstance();
|
||||
|
||||
Reference in New Issue
Block a user