Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GDMLRead Class Referenceabstract

#include <G4GDMLRead.hh>

+ Inheritance diagram for G4GDMLRead:

Public Member Functions

virtual void DefineRead (const xercesc::DOMElement *const)=0
 
virtual void MaterialsRead (const xercesc::DOMElement *const)=0
 
virtual void SetupRead (const xercesc::DOMElement *const)=0
 
virtual void SolidsRead (const xercesc::DOMElement *const)=0
 
virtual void Paramvol_contentRead (const xercesc::DOMElement *const)=0
 
virtual void Volume_contentRead (const xercesc::DOMElement *const)=0
 
virtual void StructureRead (const xercesc::DOMElement *const)=0
 
virtual void ExtensionRead (const xercesc::DOMElement *const)
 
virtual G4LogicalVolumeGetVolume (const G4String &) const =0
 
virtual G4String GetSetup (const G4String &)=0
 
void Read (const G4String &, G4bool validation, G4bool isModule, G4bool strip=true)
 
void StripNames () const
 
void OverlapCheck (G4bool)
 

Protected Member Functions

 G4GDMLRead ()
 
virtual ~G4GDMLRead ()
 
G4String Transcode (const XMLCh *const)
 
G4String GenerateName (const G4String &name, G4bool strip=false)
 
G4String Strip (const G4String &) const
 
void StripName (G4String &) const
 
void GeneratePhysvolName (const G4String &, G4VPhysicalVolume *)
 
void LoopRead (const xercesc::DOMElement *const, void(G4GDMLRead::*)(const xercesc::DOMElement *const))
 

Protected Attributes

G4GDMLEvaluator eval
 
G4bool validate
 
G4bool check
 

Detailed Description

Definition at line 88 of file G4GDMLRead.hh.

Constructor & Destructor Documentation

◆ G4GDMLRead()

G4GDMLRead::G4GDMLRead ( )
protected

Definition at line 45 of file G4GDMLRead.cc.

46 : validate(true), check(false), inLoop(0), loopCount(0)
47{
49}
G4bool check
Definition: G4GDMLRead.hh:146
G4bool validate
Definition: G4GDMLRead.hh:145
static void BuildUnitsTable()

◆ ~G4GDMLRead()

G4GDMLRead::~G4GDMLRead ( )
protectedvirtual

Definition at line 51 of file G4GDMLRead.cc.

52{
53}

Member Function Documentation

◆ DefineRead()

virtual void G4GDMLRead::DefineRead ( const xercesc::DOMElement * const  )
pure virtual

Implemented in G4GDMLReadDefine.

Referenced by Read().

◆ ExtensionRead()

void G4GDMLRead::ExtensionRead ( const xercesc::DOMElement * const  )
virtual

Definition at line 264 of file G4GDMLRead.cc.

265{
266 G4String error_msg = "No handle to user-code for parsing extensions!";
267 G4Exception("G4GDMLRead::ExtensionRead()",
268 "NotImplemented", JustWarning, error_msg);
269}
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Referenced by Read().

◆ GenerateName()

G4String G4GDMLRead::GenerateName ( const G4String name,
G4bool  strip = false 
)
protected

Definition at line 68 of file G4GDMLRead.cc.

69{
70 G4String nameOut(nameIn);
71
72 if (inLoop>0)
73 {
74 nameOut = eval.SolveBrackets(nameOut);
75// std::stringstream stream;
76// stream << "0x" << loopCount;
77// nameOut = nameOut + stream.str();
78 }
79 if (strip) { StripName(nameOut); }
80
81 return nameOut;
82}
G4String SolveBrackets(const G4String &)
void StripName(G4String &) const
Definition: G4GDMLRead.cc:106
G4GDMLEvaluator eval
Definition: G4GDMLRead.hh:144

Referenced by G4GDMLReadStructure::AssemblyRead(), G4GDMLReadSolids::BooleanRead(), G4GDMLReadStructure::BorderSurfaceRead(), G4GDMLReadSolids::BoxRead(), G4GDMLReadSolids::ConeRead(), G4GDMLReadSolids::CutTubeRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadSolids::ElconeRead(), G4GDMLReadMaterials::ElementRead(), G4GDMLReadSolids::EllipsoidRead(), G4GDMLReadSolids::EltubeRead(), G4GDMLReadStructure::FileRead(), G4GDMLReadSolids::GenTrapRead(), G4GDMLReadSolids::HypeRead(), G4GDMLReadMaterials::IsotopeRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadDefine::MatrixRead(), G4GDMLReadMaterials::MixtureRead(), G4GDMLReadSolids::OpticalSurfaceRead(), G4GDMLReadSolids::OrbRead(), G4GDMLReadSolids::ParaboloidRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLReadSolids::ParaRead(), G4GDMLReadStructure::PhysvolRead(), G4GDMLReadSolids::PolyconeRead(), G4GDMLReadSolids::PolyhedraRead(), G4GDMLReadDefine::PositionRead(), G4GDMLReadMaterials::PropertyRead(), G4GDMLReadSolids::QuadrangularRead(), G4GDMLReadSolids::ReflectedSolidRead(), G4GDMLReadStructure::ReplicaRead(), G4GDMLReadStructure::ReplicavolRead(), G4GDMLReadDefine::RotationRead(), G4GDMLReadDefine::ScaleRead(), G4GDMLReadSetup::SetupRead(), G4GDMLReadStructure::SkinSurfaceRead(), G4GDMLReadSolids::SphereRead(), G4GDMLReadSolids::TessellatedRead(), G4GDMLReadSolids::TetRead(), G4GDMLReadSolids::TorusRead(), G4GDMLReadSolids::TrapRead(), G4GDMLReadSolids::TrdRead(), G4GDMLReadSolids::TriangularRead(), G4GDMLReadSolids::TubeRead(), G4GDMLReadSolids::TwistedboxRead(), G4GDMLReadSolids::TwistedtrapRead(), G4GDMLReadSolids::TwistedtrdRead(), G4GDMLReadSolids::TwistedtubsRead(), G4GDMLReadStructure::VolumeRead(), and G4GDMLReadSolids::XtruRead().

◆ GeneratePhysvolName()

void G4GDMLRead::GeneratePhysvolName ( const G4String nameIn,
G4VPhysicalVolume physvol 
)
protected

Definition at line 84 of file G4GDMLRead.cc.

86{
87 G4String nameOut(nameIn);
88
89 if (nameIn.empty())
90 {
91 std::stringstream stream;
92 stream << physvol->GetLogicalVolume()->GetName() << "_PV";
93 nameOut = stream.str();
94 }
95 nameOut = eval.SolveBrackets(nameOut);
96
97 physvol->SetName(nameOut);
98}
G4String GetName() const
G4LogicalVolume * GetLogicalVolume() const
void SetName(const G4String &pName)

Referenced by G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadStructure::PhysvolRead(), and G4GDMLReadStructure::ReplicaRead().

◆ GetSetup()

virtual G4String G4GDMLRead::GetSetup ( const G4String )
pure virtual

Implemented in G4GDMLReadSetup.

◆ GetVolume()

virtual G4LogicalVolume * G4GDMLRead::GetVolume ( const G4String ) const
pure virtual

◆ LoopRead()

void G4GDMLRead::LoopRead ( const xercesc::DOMElement * const  element,
void(G4GDMLRead::*)(const xercesc::DOMElement *const func 
)
protected

Definition at line 179 of file G4GDMLRead.cc.

181{
182 G4String var;
183 G4String from;
184 G4String to;
185 G4String step;
186
187 const xercesc::DOMNamedNodeMap* const attributes = element->getAttributes();
188 XMLSize_t attributeCount = attributes->getLength();
189
190 for (XMLSize_t attribute_index=0;
191 attribute_index<attributeCount;attribute_index++)
192 {
193 xercesc::DOMNode* attribute_node = attributes->item(attribute_index);
194
195 if (attribute_node->getNodeType() != xercesc::DOMNode::ATTRIBUTE_NODE)
196 { continue; }
197
198 const xercesc::DOMAttr* const attribute
199 = dynamic_cast<xercesc::DOMAttr*>(attribute_node);
200 if (!attribute)
201 {
202 G4Exception("G4GDMLRead::LoopRead()", "InvalidRead",
203 FatalException, "No attribute found!");
204 return;
205 }
206 const G4String attribute_name = Transcode(attribute->getName());
207 const G4String attribute_value = Transcode(attribute->getValue());
208
209 if (attribute_name=="for") { var = attribute_value; } else
210 if (attribute_name=="from") { from = attribute_value; } else
211 if (attribute_name=="to") { to = attribute_value; } else
212 if (attribute_name=="step") { step = attribute_value; }
213 }
214
215 if (var.empty())
216 {
217 G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
218 FatalException, "No variable is determined for loop!");
219 }
220
221 if (!eval.IsVariable(var))
222 {
223 G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
224 FatalException, "Variable is not defined in loop!");
225 }
226
227 G4int _var = eval.EvaluateInteger(var);
228 G4int _from = eval.EvaluateInteger(from);
229 G4int _to = eval.EvaluateInteger(to);
230 G4int _step = eval.EvaluateInteger(step);
231
232 if (!from.empty()) { _var = _from; }
233
234 if (_from == _to)
235 {
236 G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
237 FatalException, "Empty loop!");
238 }
239 if ((_from < _to) && (_step <= 0))
240 {
241 G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
242 FatalException, "Infinite loop!");
243 }
244 if ((_from > _to) && (_step >= 0))
245 {
246 G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
247 FatalException, "Infinite loop!");
248 }
249
250 inLoop++;
251
252 while (_var <= _to)
253 {
254 eval.SetVariable(var,_var);
255 (this->*func)(element);
256 _var += _step;
257 loopCount++;
258 }
259
260 inLoop--;
261 if (!inLoop) { loopCount = 0; }
262}
@ FatalException
int G4int
Definition: G4Types.hh:66
void SetVariable(const G4String &, G4double)
G4bool IsVariable(const G4String &) const
G4int EvaluateInteger(const G4String &)
G4String Transcode(const XMLCh *const)
Definition: G4GDMLRead.cc:55

Referenced by G4GDMLReadParamvol::ParameterisedRead(), G4GDMLReadParamvol::Paramvol_contentRead(), G4GDMLReadSolids::SolidsRead(), G4GDMLReadStructure::StructureRead(), and G4GDMLReadStructure::Volume_contentRead().

◆ MaterialsRead()

virtual void G4GDMLRead::MaterialsRead ( const xercesc::DOMElement * const  )
pure virtual

Implemented in G4GDMLReadMaterials.

Referenced by Read().

◆ OverlapCheck()

void G4GDMLRead::OverlapCheck ( G4bool  flag)

Definition at line 63 of file G4GDMLRead.cc.

64{
65 check = flag;
66}

◆ Paramvol_contentRead()

virtual void G4GDMLRead::Paramvol_contentRead ( const xercesc::DOMElement * const  )
pure virtual

◆ Read()

void G4GDMLRead::Read ( const G4String fileName,
G4bool  validation,
G4bool  isModule,
G4bool  strip = true 
)

Definition at line 271 of file G4GDMLRead.cc.

275{
276 if (isModule)
277 {
278 G4cout << "G4GDML: Reading module '" << fileName << "'..." << G4endl;
279 }
280 else
281 {
282 G4cout << "G4GDML: Reading '" << fileName << "'..." << G4endl;
283 }
284
285 inLoop = 0;
286 validate = validation;
287
288 xercesc::ErrorHandler* handler = new G4GDMLErrorHandler(!validate);
289 xercesc::XercesDOMParser* parser = new xercesc::XercesDOMParser;
290
291 parser->setValidationScheme(xercesc::XercesDOMParser::Val_Always);
292 parser->setValidationSchemaFullChecking(true);
293 parser->setCreateEntityReferenceNodes(false);
294 // Entities will be automatically resolved by Xerces
295
296 parser->setDoNamespaces(true);
297 parser->setDoSchema(true);
298 parser->setErrorHandler(handler);
299
300 try { parser->parse(fileName.c_str()); }
301 catch (const xercesc::XMLException &e)
302 { G4cout << "G4GDML: " << Transcode(e.getMessage()) << G4endl; }
303 catch (const xercesc::DOMException &e)
304 { G4cout << "G4GDML: " << Transcode(e.getMessage()) << G4endl; }
305
306 xercesc::DOMDocument* doc = parser->getDocument();
307
308 if (!doc)
309 {
310 G4String error_msg = "Unable to open document: " + fileName;
311 G4Exception("G4GDMLRead::Read()", "InvalidRead",
312 FatalException, error_msg);
313 return;
314 }
315 xercesc::DOMElement* element = doc->getDocumentElement();
316
317 if (!element)
318 {
319 G4Exception("G4GDMLRead::Read()", "InvalidRead",
320 FatalException, "Empty document!");
321 return;
322 }
323
324 for (xercesc::DOMNode* iter = element->getFirstChild();
325 iter != 0; iter = iter->getNextSibling())
326 {
327 if (iter->getNodeType() != xercesc::DOMNode::ELEMENT_NODE) { continue; }
328
329 const xercesc::DOMElement* const child
330 = dynamic_cast<xercesc::DOMElement*>(iter);
331 if (!child)
332 {
333 G4Exception("G4GDMLRead::Read()", "InvalidRead",
334 FatalException, "No child found!");
335 return;
336 }
337 const G4String tag = Transcode(child->getTagName());
338
339 if (tag=="define") { DefineRead(child); } else
340 if (tag=="materials") { MaterialsRead(child); } else
341 if (tag=="solids") { SolidsRead(child); } else
342 if (tag=="setup") { SetupRead(child); } else
343 if (tag=="structure") { StructureRead(child); } else
344 if (tag=="extension") { ExtensionRead(child); }
345 else
346 {
347 G4String error_msg = "Unknown tag in gdml: " + tag;
348 G4Exception("G4GDMLRead::Read()", "InvalidRead",
349 FatalException, error_msg);
350 }
351 }
352
353 delete parser;
354 delete handler;
355
356 if (isModule)
357 {
358 G4cout << "G4GDML: Reading module '" << fileName << "' done!" << G4endl;
359 }
360 else
361 {
362 G4cout << "G4GDML: Reading '" << fileName << "' done!" << G4endl;
363 if (strip) { StripNames(); }
364 }
365}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
virtual void SolidsRead(const xercesc::DOMElement *const)=0
virtual void MaterialsRead(const xercesc::DOMElement *const)=0
virtual void SetupRead(const xercesc::DOMElement *const)=0
virtual void ExtensionRead(const xercesc::DOMElement *const)
Definition: G4GDMLRead.cc:264
virtual void DefineRead(const xercesc::DOMElement *const)=0
virtual void StructureRead(const xercesc::DOMElement *const)=0
void StripNames() const
Definition: G4GDMLRead.cc:111
Definition: xmlparse.cc:179

Referenced by G4GDMLReadStructure::FileRead().

◆ SetupRead()

virtual void G4GDMLRead::SetupRead ( const xercesc::DOMElement * const  )
pure virtual

Implemented in G4GDMLReadSetup.

Referenced by Read().

◆ SolidsRead()

virtual void G4GDMLRead::SolidsRead ( const xercesc::DOMElement * const  )
pure virtual

Implemented in G4GDMLReadSolids.

Referenced by Read(), and G4GDMLReadSolids::SolidsRead().

◆ Strip()

◆ StripName()

void G4GDMLRead::StripName ( G4String name) const
protected

Definition at line 106 of file G4GDMLRead.cc.

107{
108 name.remove(name.find("0x"));
109}
G4String & remove(str_size)

Referenced by GenerateName(), and StripNames().

◆ StripNames()

void G4GDMLRead::StripNames ( ) const

Definition at line 111 of file G4GDMLRead.cc.

112{
113 // Strips off names of volumes, solids elements and materials from possible
114 // reference pointers or IDs attached to their original identifiers.
115
119 const G4ElementTable* elements = G4Element::GetElementTable();
121
122 G4cout << "Stripping off GDML names of materials, solids and volumes ..."
123 << G4endl;
124
125 G4String sname;
126 register size_t i;
127
128 // Solids...
129 //
130 for (i=0; i<solids->size(); i++)
131 {
132 G4VSolid* psol = (*solids)[i];
133 sname = psol->GetName();
134 StripName(sname);
135 psol->SetName(sname);
136 }
137
138 // Logical volumes...
139 //
140 for (i=0; i<lvols->size(); i++)
141 {
142 G4LogicalVolume* lvol = (*lvols)[i];
143 sname = lvol->GetName();
144 StripName(sname);
145 lvol->SetName(sname);
146 }
147
148 // Physical volumes...
149 //
150 for (i=0; i<pvols->size(); i++)
151 {
152 G4VPhysicalVolume* pvol = (*pvols)[i];
153 sname = pvol->GetName();
154 StripName(sname);
155 pvol->SetName(sname);
156 }
157
158 // Materials...
159 //
160 for (i=0; i<materials->size(); i++)
161 {
162 G4Material* pmat = (*materials)[i];
163 sname = pmat->GetName();
164 StripName(sname);
165 pmat->SetName(sname);
166 }
167
168 // Elements...
169 //
170 for (i=0; i<elements->size(); i++)
171 {
172 G4Element* pelm = (*elements)[i];
173 sname = pelm->GetName();
174 StripName(sname);
175 pelm->SetName(sname);
176 }
177}
std::vector< G4Element * > G4ElementTable
std::vector< G4Material * > G4MaterialTable
void SetName(const G4String &name)
Definition: G4Element.hh:227
const G4String & GetName() const
Definition: G4Element.hh:127
static const G4ElementTable * GetElementTable()
Definition: G4Element.cc:399
static G4LogicalVolumeStore * GetInstance()
void SetName(const G4String &pName)
void SetName(const G4String &name)
Definition: G4Material.hh:282
static const G4MaterialTable * GetMaterialTable()
Definition: G4Material.cc:562
const G4String & GetName() const
Definition: G4Material.hh:177
static G4PhysicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
const G4String & GetName() const
G4String GetName() const
void SetName(const G4String &name)

Referenced by Read().

◆ StructureRead()

virtual void G4GDMLRead::StructureRead ( const xercesc::DOMElement * const  )
pure virtual

◆ Transcode()

G4String G4GDMLRead::Transcode ( const XMLCh * const  toTranscode)
protected

Definition at line 55 of file G4GDMLRead.cc.

56{
57 char* char_str = xercesc::XMLString::transcode(toTranscode);
58 G4String my_str(char_str);
59 xercesc::XMLString::release(&char_str);
60 return my_str;
61}

Referenced by G4GDMLReadStructure::AssemblyRead(), G4GDMLReadMaterials::AtomRead(), G4GDMLReadStructure::AuxiliaryRead(), G4GDMLReadStructure::AxisRead(), G4GDMLReadSolids::BooleanRead(), G4GDMLReadStructure::BorderSurfaceRead(), G4GDMLReadParamvol::Box_dimensionsRead(), G4GDMLReadSolids::BoxRead(), G4GDMLReadMaterials::CompositeRead(), G4GDMLReadParamvol::Cone_dimensionsRead(), G4GDMLReadSolids::ConeRead(), G4GDMLReadDefine::ConstantRead(), G4GDMLReadSolids::CutTubeRead(), G4GDMLReadDefine::DefineRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadMaterials::DRead(), G4GDMLReadSolids::ElconeRead(), G4GDMLReadMaterials::ElementRead(), G4GDMLReadSolids::EllipsoidRead(), G4GDMLReadSolids::EltubeRead(), G4GDMLReadDefine::ExpressionRead(), G4GDMLReadStructure::FileRead(), G4GDMLReadMaterials::FractionRead(), G4GDMLReadSolids::GenTrapRead(), G4GDMLReadParamvol::Hype_dimensionsRead(), G4GDMLReadSolids::HypeRead(), G4GDMLReadMaterials::IsotopeRead(), LoopRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadMaterials::MaterialsRead(), G4GDMLReadDefine::MatrixRead(), G4GDMLReadMaterials::MEERead(), G4GDMLReadMaterials::MixtureRead(), G4GDMLReadSolids::OpticalSurfaceRead(), G4GDMLReadParamvol::Orb_dimensionsRead(), G4GDMLReadSolids::OrbRead(), G4GDMLReadParamvol::Para_dimensionsRead(), G4GDMLReadSolids::ParaboloidRead(), G4GDMLReadParamvol::ParameterisedRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadParamvol::Paramvol_contentRead(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLReadSolids::ParaRead(), G4GDMLReadStructure::PhysvolRead(), G4GDMLReadSolids::PolyconeRead(), G4GDMLReadSolids::PolyhedraRead(), G4GDMLReadDefine::PositionRead(), G4GDMLReadMaterials::PRead(), G4GDMLReadMaterials::PropertyRead(), G4GDMLReadSolids::QuadrangularRead(), G4GDMLReadStructure::QuantityRead(), G4GDMLReadDefine::QuantityRead(), Read(), G4GDMLReadSolids::ReflectedSolidRead(), G4GDMLReadDefine::RefRead(), G4GDMLReadStructure::ReplicaRead(), G4GDMLReadStructure::ReplicavolRead(), G4GDMLReadDefine::RotationRead(), G4GDMLReadDefine::ScaleRead(), G4GDMLReadSolids::SectionRead(), G4GDMLReadSetup::SetupRead(), G4GDMLReadStructure::SkinSurfaceRead(), G4GDMLReadSolids::SolidsRead(), G4GDMLReadParamvol::Sphere_dimensionsRead(), G4GDMLReadSolids::SphereRead(), G4GDMLReadStructure::StructureRead(), G4GDMLReadSolids::TessellatedRead(), G4GDMLReadSolids::TetRead(), G4GDMLReadParamvol::Torus_dimensionsRead(), G4GDMLReadSolids::TorusRead(), G4GDMLReadParamvol::Trap_dimensionsRead(), G4GDMLReadSolids::TrapRead(), G4GDMLReadParamvol::Trd_dimensionsRead(), G4GDMLReadSolids::TrdRead(), G4GDMLReadMaterials::TRead(), G4GDMLReadSolids::TriangularRead(), G4GDMLReadParamvol::Tube_dimensionsRead(), G4GDMLReadSolids::TubeRead(), G4GDMLReadSolids::TwistedboxRead(), G4GDMLReadSolids::TwistedtrapRead(), G4GDMLReadSolids::TwistedtrdRead(), G4GDMLReadSolids::TwistedtubsRead(), G4GDMLReadSolids::TwoDimVertexRead(), G4GDMLReadDefine::VariableRead(), G4GDMLReadDefine::VectorRead(), G4GDMLReadStructure::Volume_contentRead(), G4GDMLReadStructure::VolumeRead(), G4GDMLReadSolids::XtruRead(), and G4GDMLReadSolids::ZplaneRead().

◆ Volume_contentRead()

virtual void G4GDMLRead::Volume_contentRead ( const xercesc::DOMElement * const  )
pure virtual

Member Data Documentation

◆ check

G4bool G4GDMLRead::check
protected

◆ eval

G4GDMLEvaluator G4GDMLRead::eval
protected

Definition at line 144 of file G4GDMLRead.hh.

Referenced by G4GDMLReadMaterials::AtomRead(), G4GDMLReadStructure::AxisRead(), G4GDMLReadParamvol::Box_dimensionsRead(), G4GDMLReadSolids::BoxRead(), G4GDMLReadStructure::Clear(), G4GDMLReadMaterials::CompositeRead(), G4GDMLReadParamvol::Cone_dimensionsRead(), G4GDMLReadSolids::ConeRead(), G4GDMLReadDefine::ConstantRead(), G4GDMLReadSolids::CutTubeRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadMaterials::DRead(), G4GDMLReadSolids::ElconeRead(), G4GDMLReadMaterials::ElementRead(), G4GDMLReadSolids::EllipsoidRead(), G4GDMLReadSolids::EltubeRead(), G4GDMLReadDefine::ExpressionRead(), G4GDMLReadMaterials::FractionRead(), GenerateName(), GeneratePhysvolName(), G4GDMLReadSolids::GenTrapRead(), G4GDMLReadDefine::GetConstant(), G4GDMLReadDefine::GetVariable(), G4GDMLReadParamvol::Hype_dimensionsRead(), G4GDMLReadSolids::HypeRead(), G4GDMLReadMaterials::IsotopeRead(), G4GDMLReadDefine::IsValidID(), LoopRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadDefine::MatrixRead(), G4GDMLReadMaterials::MEERead(), G4GDMLReadSolids::OpticalSurfaceRead(), G4GDMLReadParamvol::Orb_dimensionsRead(), G4GDMLReadSolids::OrbRead(), G4GDMLReadParamvol::Para_dimensionsRead(), G4GDMLReadSolids::ParaboloidRead(), G4GDMLReadParamvol::ParameterisedRead(), G4GDMLReadSolids::ParaRead(), G4GDMLReadSolids::PolyconeRead(), G4GDMLReadSolids::PolyhedraRead(), G4GDMLReadDefine::PositionRead(), G4GDMLReadMaterials::PRead(), G4GDMLReadSolids::QuadrangularRead(), G4GDMLReadStructure::QuantityRead(), G4GDMLReadDefine::QuantityRead(), G4GDMLReadSolids::ReflectedSolidRead(), G4GDMLReadDefine::RotationRead(), G4GDMLReadDefine::ScaleRead(), G4GDMLReadSolids::SectionRead(), G4GDMLReadParamvol::Sphere_dimensionsRead(), G4GDMLReadSolids::SphereRead(), G4GDMLReadSolids::TetRead(), G4GDMLReadParamvol::Torus_dimensionsRead(), G4GDMLReadSolids::TorusRead(), G4GDMLReadParamvol::Trap_dimensionsRead(), G4GDMLReadSolids::TrapRead(), G4GDMLReadParamvol::Trd_dimensionsRead(), G4GDMLReadSolids::TrdRead(), G4GDMLReadMaterials::TRead(), G4GDMLReadSolids::TriangularRead(), G4GDMLReadParamvol::Tube_dimensionsRead(), G4GDMLReadSolids::TubeRead(), G4GDMLReadSolids::TwistedboxRead(), G4GDMLReadSolids::TwistedtrapRead(), G4GDMLReadSolids::TwistedtrdRead(), G4GDMLReadSolids::TwistedtubsRead(), G4GDMLReadSolids::TwoDimVertexRead(), G4GDMLReadDefine::VariableRead(), G4GDMLReadDefine::VectorRead(), G4GDMLReadStructure::Volume_contentRead(), G4GDMLReadSolids::XtruRead(), and G4GDMLReadSolids::ZplaneRead().

◆ validate

G4bool G4GDMLRead::validate
protected

Definition at line 145 of file G4GDMLRead.hh.

Referenced by G4GDMLReadStructure::FileRead(), and Read().


The documentation for this class was generated from the following files: