G4GDMLRead Class Reference

#include <G4GDMLRead.hh>

Inheritance diagram for G4GDMLRead:

G4GDMLReadDefine G4GDMLReadMaterials G4GDMLReadSolids G4GDMLReadSetup G4GDMLReadParamvol G4GDMLReadStructure

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 (  )  [protected]

Definition at line 45 of file G4GDMLRead.cc.

References G4UnitDefinition::BuildUnitsTable().

00046   : validate(true), check(false), inLoop(0), loopCount(0)
00047 {
00048    G4UnitDefinition::BuildUnitsTable();
00049 }

G4GDMLRead::~G4GDMLRead (  )  [protected, virtual]

Definition at line 51 of file G4GDMLRead.cc.

00052 {
00053 }


Member Function Documentation

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

Implemented in G4GDMLReadDefine.

Referenced by Read().

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

Definition at line 264 of file G4GDMLRead.cc.

References G4Exception(), and JustWarning.

Referenced by Read().

00265 {
00266    G4String error_msg = "No handle to user-code for parsing extensions!";
00267    G4Exception("G4GDMLRead::ExtensionRead()",
00268                "NotImplemented", JustWarning, error_msg);
00269 }

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

Definition at line 68 of file G4GDMLRead.cc.

References eval, G4GDMLEvaluator::SolveBrackets(), and StripName().

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().

00069 {
00070    G4String nameOut(nameIn);
00071 
00072    if (inLoop>0)
00073    {
00074      nameOut = eval.SolveBrackets(nameOut);
00075 //     std::stringstream stream;
00076 //     stream << "0x" << loopCount;
00077 //     nameOut = nameOut + stream.str();
00078    }
00079    if (strip) { StripName(nameOut); }
00080 
00081    return nameOut;
00082 }

void G4GDMLRead::GeneratePhysvolName ( const G4String ,
G4VPhysicalVolume  
) [protected]

Definition at line 84 of file G4GDMLRead.cc.

References eval, G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetName(), G4VPhysicalVolume::SetName(), and G4GDMLEvaluator::SolveBrackets().

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

00086 {
00087    G4String nameOut(nameIn);
00088 
00089    if (nameIn.empty())
00090    {
00091      std::stringstream stream;
00092      stream << physvol->GetLogicalVolume()->GetName() << "_PV";
00093      nameOut = stream.str();
00094    }
00095    nameOut = eval.SolveBrackets(nameOut);
00096 
00097    physvol->SetName(nameOut);
00098 }

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

Implemented in G4GDMLReadSetup.

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

Implemented in G4GDMLReadStructure.

Referenced by G4GDMLReadParamvol::ParamvolRead().

void G4GDMLRead::LoopRead ( const xercesc::DOMElement *  const,
void(G4GDMLRead::*)(const xercesc::DOMElement *const)   
) [protected]

Definition at line 179 of file G4GDMLRead.cc.

References eval, G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLEvaluator::IsVariable(), G4GDMLEvaluator::SetVariable(), and Transcode().

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

00181 {
00182    G4String var;
00183    G4String from;
00184    G4String to;
00185    G4String step;
00186 
00187    const xercesc::DOMNamedNodeMap* const attributes = element->getAttributes();
00188    XMLSize_t attributeCount = attributes->getLength();
00189 
00190    for (XMLSize_t attribute_index=0;
00191         attribute_index<attributeCount;attribute_index++)
00192    {
00193       xercesc::DOMNode* attribute_node = attributes->item(attribute_index);
00194 
00195       if (attribute_node->getNodeType() != xercesc::DOMNode::ATTRIBUTE_NODE)
00196       { continue; }
00197 
00198       const xercesc::DOMAttr* const attribute
00199             = dynamic_cast<xercesc::DOMAttr*>(attribute_node);   
00200       if (!attribute)
00201       {
00202         G4Exception("G4GDMLRead::LoopRead()", "InvalidRead",
00203                     FatalException, "No attribute found!");
00204         return;
00205       }
00206       const G4String attribute_name = Transcode(attribute->getName());
00207       const G4String attribute_value = Transcode(attribute->getValue());
00208 
00209       if (attribute_name=="for")  { var = attribute_value; }  else
00210       if (attribute_name=="from") { from = attribute_value; } else
00211       if (attribute_name=="to")   { to = attribute_value; }   else
00212       if (attribute_name=="step") { step = attribute_value; }
00213    }
00214 
00215    if (var.empty())
00216    {
00217      G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
00218                  FatalException, "No variable is determined for loop!");
00219    }
00220 
00221    if (!eval.IsVariable(var))
00222    {
00223      G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
00224                  FatalException, "Variable is not defined in loop!");
00225    }
00226 
00227    G4int _var = eval.EvaluateInteger(var);
00228    G4int _from = eval.EvaluateInteger(from);
00229    G4int _to = eval.EvaluateInteger(to);
00230    G4int _step = eval.EvaluateInteger(step);
00231    
00232    if (!from.empty()) { _var = _from; }
00233 
00234    if (_from == _to)
00235    {
00236      G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
00237                  FatalException, "Empty loop!");
00238    }
00239    if ((_from < _to) && (_step <= 0))
00240    {
00241      G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
00242                  FatalException, "Infinite loop!");
00243    }
00244    if ((_from > _to) && (_step >= 0))
00245    {
00246      G4Exception("G4GDMLRead::loopRead()", "InvalidRead",
00247                  FatalException, "Infinite loop!");
00248    }
00249 
00250    inLoop++;
00251 
00252    while (_var <= _to)
00253    {
00254       eval.SetVariable(var,_var);
00255       (this->*func)(element);
00256       _var += _step;
00257       loopCount++;
00258    }
00259 
00260    inLoop--;
00261    if (!inLoop) { loopCount = 0; }
00262 }

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

Implemented in G4GDMLReadMaterials.

Referenced by Read().

void G4GDMLRead::OverlapCheck ( G4bool   ) 

Definition at line 63 of file G4GDMLRead.cc.

References check.

Referenced by G4GDMLParser::SetOverlapCheck().

00064 {
00065    check = flag;
00066 }

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

Implemented in G4GDMLReadParamvol.

Referenced by G4GDMLReadParamvol::ParameterisedRead(), and G4GDMLReadParamvol::Paramvol_contentRead().

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

Definition at line 271 of file G4GDMLRead.cc.

References DefineRead(), ExtensionRead(), FatalException, G4cout, G4endl, G4Exception(), MaterialsRead(), SetupRead(), SolidsRead(), StripNames(), StructureRead(), Transcode(), and validate.

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

00275 {
00276    if (isModule)
00277    {
00278       G4cout << "G4GDML: Reading module '" << fileName << "'..." << G4endl;
00279    }
00280    else
00281    {
00282       G4cout << "G4GDML: Reading '" << fileName << "'..." << G4endl;
00283    }
00284 
00285    inLoop = 0;
00286    validate = validation;
00287 
00288    xercesc::ErrorHandler* handler = new G4GDMLErrorHandler(!validate);
00289    xercesc::XercesDOMParser* parser = new xercesc::XercesDOMParser;
00290 
00291    parser->setValidationScheme(xercesc::XercesDOMParser::Val_Always);
00292    parser->setValidationSchemaFullChecking(true);
00293    parser->setCreateEntityReferenceNodes(false); 
00294      // Entities will be automatically resolved by Xerces
00295 
00296    parser->setDoNamespaces(true);
00297    parser->setDoSchema(true);
00298    parser->setErrorHandler(handler);
00299 
00300    try { parser->parse(fileName.c_str()); }
00301    catch (const xercesc::XMLException &e)
00302      { G4cout << "G4GDML: " << Transcode(e.getMessage()) << G4endl; }
00303    catch (const xercesc::DOMException &e)
00304      { G4cout << "G4GDML: " << Transcode(e.getMessage()) << G4endl; }
00305 
00306    xercesc::DOMDocument* doc = parser->getDocument();
00307 
00308    if (!doc)
00309    {
00310      G4String error_msg = "Unable to open document: " + fileName;
00311      G4Exception("G4GDMLRead::Read()", "InvalidRead",
00312                  FatalException, error_msg);
00313      return;
00314    }
00315    xercesc::DOMElement* element = doc->getDocumentElement();
00316 
00317    if (!element)
00318    {
00319      G4Exception("G4GDMLRead::Read()", "InvalidRead",
00320                  FatalException, "Empty document!");
00321      return;
00322    }
00323 
00324    for (xercesc::DOMNode* iter = element->getFirstChild();
00325         iter != 0; iter = iter->getNextSibling())
00326    {
00327       if (iter->getNodeType() != xercesc::DOMNode::ELEMENT_NODE)  { continue; }
00328 
00329       const xercesc::DOMElement* const child
00330             = dynamic_cast<xercesc::DOMElement*>(iter);
00331       if (!child)
00332       {
00333         G4Exception("G4GDMLRead::Read()", "InvalidRead",
00334                     FatalException, "No child found!");
00335         return;
00336       }
00337       const G4String tag = Transcode(child->getTagName());
00338 
00339       if (tag=="define")    { DefineRead(child);    } else
00340       if (tag=="materials") { MaterialsRead(child); } else
00341       if (tag=="solids")    { SolidsRead(child);    } else
00342       if (tag=="setup")     { SetupRead(child);     } else
00343       if (tag=="structure") { StructureRead(child); } else
00344       if (tag=="extension") { ExtensionRead(child); }
00345       else
00346       {
00347         G4String error_msg = "Unknown tag in gdml: " + tag;
00348         G4Exception("G4GDMLRead::Read()", "InvalidRead",
00349                     FatalException, error_msg);
00350       }
00351    }
00352 
00353    delete parser;
00354    delete handler;
00355 
00356    if (isModule)
00357    {
00358       G4cout << "G4GDML: Reading module '" << fileName << "' done!" << G4endl;
00359    }
00360    else
00361    {
00362       G4cout << "G4GDML: Reading '" << fileName << "' done!" << G4endl;
00363       if (strip)  { StripNames(); }
00364    }
00365 }

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

Implemented in G4GDMLReadSetup.

Referenced by Read().

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

Implemented in G4GDMLReadSolids.

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

G4String G4GDMLRead::Strip ( const G4String  )  const [protected]

Definition at line 100 of file G4GDMLRead.cc.

References G4String::remove().

Referenced by G4GDMLReadStructure::BorderSurfaceRead(), G4GDMLReadMaterials::ElementRead(), G4GDMLReadStructure::GetWorldVolume(), G4GDMLReadMaterials::IsotopeRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadMaterials::PropertyRead(), and G4GDMLReadStructure::SkinSurfaceRead().

00101 {
00102   G4String sname(name);
00103   return sname.remove(sname.find("0x"));
00104 }

void G4GDMLRead::StripName ( G4String  )  const [protected]

Definition at line 106 of file G4GDMLRead.cc.

References G4String::remove().

Referenced by GenerateName(), and StripNames().

00107 {
00108   name.remove(name.find("0x"));
00109 }

void G4GDMLRead::StripNames (  )  const

Definition at line 111 of file G4GDMLRead.cc.

References G4cout, G4endl, G4Element::GetElementTable(), G4SolidStore::GetInstance(), G4LogicalVolumeStore::GetInstance(), G4PhysicalVolumeStore::GetInstance(), G4Material::GetMaterialTable(), and StripName().

Referenced by Read(), and G4GDMLParser::StripNamePointers().

00112 {
00113   // Strips off names of volumes, solids elements and materials from possible
00114   // reference pointers or IDs attached to their original identifiers.
00115 
00116   G4PhysicalVolumeStore* pvols = G4PhysicalVolumeStore::GetInstance();
00117   G4LogicalVolumeStore* lvols = G4LogicalVolumeStore::GetInstance();
00118   G4SolidStore* solids = G4SolidStore::GetInstance();
00119   const G4ElementTable* elements = G4Element::GetElementTable();
00120   const G4MaterialTable* materials = G4Material::GetMaterialTable();
00121 
00122   G4cout << "Stripping off GDML names of materials, solids and volumes ..."
00123          << G4endl;
00124 
00125   G4String sname;
00126   register size_t i;
00127 
00128   // Solids...
00129   //
00130   for (i=0; i<solids->size(); i++)
00131   {
00132     G4VSolid* psol = (*solids)[i];
00133     sname = psol->GetName();
00134     StripName(sname);
00135     psol->SetName(sname);
00136   }
00137 
00138   // Logical volumes...
00139   //
00140   for (i=0; i<lvols->size(); i++)
00141   {
00142     G4LogicalVolume* lvol = (*lvols)[i];
00143     sname = lvol->GetName();
00144     StripName(sname);
00145     lvol->SetName(sname);
00146   }
00147 
00148   // Physical volumes...
00149   //
00150   for (i=0; i<pvols->size(); i++)
00151   {
00152     G4VPhysicalVolume* pvol = (*pvols)[i];
00153     sname = pvol->GetName();
00154     StripName(sname);
00155     pvol->SetName(sname);
00156   }
00157 
00158   // Materials...
00159   //
00160   for (i=0; i<materials->size(); i++)
00161   {
00162     G4Material* pmat = (*materials)[i];
00163     sname = pmat->GetName();
00164     StripName(sname);
00165     pmat->SetName(sname);
00166   }
00167 
00168   // Elements...
00169   //
00170   for (i=0; i<elements->size(); i++)
00171   {
00172     G4Element* pelm = (*elements)[i];
00173     sname = pelm->GetName();
00174     StripName(sname);
00175     pelm->SetName(sname);
00176   }
00177 }

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

Implemented in G4GDMLReadStructure.

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

G4String G4GDMLRead::Transcode ( const XMLCh *  const  )  [protected]

Definition at line 55 of file G4GDMLRead.cc.

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().

00056 {
00057    char* char_str = xercesc::XMLString::transcode(toTranscode);
00058    G4String my_str(char_str);
00059    xercesc::XMLString::release(&char_str);
00060    return my_str;
00061 }

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

Implemented in G4GDMLReadStructure.

Referenced by G4GDMLReadStructure::Volume_contentRead().


Field Documentation

G4bool G4GDMLRead::check [protected]

Definition at line 146 of file G4GDMLRead.hh.

Referenced by OverlapCheck(), G4GDMLReadParamvol::ParamvolRead(), and G4GDMLReadStructure::PhysvolRead().

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().

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:
Generated on Mon May 27 17:52:02 2013 for Geant4 by  doxygen 1.4.7