34template <>
void G4AnyType::Ref<bool>::FromString(
const std::string& val) {
38template <>
void G4AnyType::Ref<G4String>::FromString(
const std::string& val) {
39 if (val[0] ==
'"' ) fRef = val.substr(1,val.size()-2);
43template <>
void G4AnyType::Ref<G4ThreeVector>::FromString(
const std::string& val) {
static G4ThreeVector ConvertTo3Vector(const char *st)
static G4bool ConvertToBool(const char *st)