Message: GDML GetVariable() usage Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None GDML GetVariable() usage 

Forum: Geometry
Date: 16 Feb, 2010
From: Andrew <Andrew>

GDML parser has a parser.GetVariable() function, which is good. However, there appears no way to check if a variable name has been defined before calling the function, so either it works or it core dumps, depending on what the user has put in the geometry file. I was hoping there would be a parser.IsValid() function to handle this gracefully, but I have not found it. Or, is there some other way?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: GDML GetVariable() usage   (Gabriele Cosmo - 17 Feb, 2010)
 Add Message Add Message
to: "GDML GetVariable() usage"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]