Geant4
10.02.p02
|
#include <G4GDMLReadDefine.hh>
Public Member Functions | |
G4bool | IsValidID (const G4String &) const |
G4double | GetConstant (const G4String &) |
G4double | GetVariable (const G4String &) |
G4double | GetQuantity (const G4String &) |
G4ThreeVector | GetPosition (const G4String &) |
G4ThreeVector | GetRotation (const G4String &) |
G4ThreeVector | GetScale (const G4String &) |
G4GDMLMatrix | GetMatrix (const G4String &) |
virtual void | DefineRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLRead | |
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 void | UserinfoRead (const xercesc::DOMElement *const) |
virtual G4LogicalVolume * | GetVolume (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 | StripName (G4String &) const |
void | OverlapCheck (G4bool) |
const G4GDMLAuxListType * | GetAuxList () const |
Protected Member Functions | |
G4GDMLReadDefine () | |
virtual | ~G4GDMLReadDefine () |
G4RotationMatrix | GetRotationMatrix (const G4ThreeVector &) |
void | VectorRead (const xercesc::DOMElement *const, G4ThreeVector &) |
G4String | RefRead (const xercesc::DOMElement *const) |
void | ConstantRead (const xercesc::DOMElement *const) |
void | MatrixRead (const xercesc::DOMElement *const) |
void | PositionRead (const xercesc::DOMElement *const) |
void | RotationRead (const xercesc::DOMElement *const) |
void | ScaleRead (const xercesc::DOMElement *const) |
void | VariableRead (const xercesc::DOMElement *const) |
void | QuantityRead (const xercesc::DOMElement *const) |
void | ExpressionRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLRead | |
G4GDMLRead () | |
virtual | ~G4GDMLRead () |
G4String | Transcode (const XMLCh *const) |
G4String | GenerateName (const G4String &name, G4bool strip=false) |
G4String | Strip (const G4String &) const |
void | GeneratePhysvolName (const G4String &, G4VPhysicalVolume *) |
void | LoopRead (const xercesc::DOMElement *const, void(G4GDMLRead::*)(const xercesc::DOMElement *const)) |
G4GDMLAuxStructType | AuxiliaryRead (const xercesc::DOMElement *const auxElem) |
Protected Attributes | |
std::map< G4String, G4double > | quantityMap |
std::map< G4String, G4ThreeVector > | positionMap |
std::map< G4String, G4ThreeVector > | rotationMap |
std::map< G4String, G4ThreeVector > | scaleMap |
std::map< G4String, G4GDMLMatrix > | matrixMap |
Protected Attributes inherited from G4GDMLRead | |
G4GDMLEvaluator | eval |
G4bool | validate |
G4bool | check |
G4bool | dostrip |
Definition at line 69 of file G4GDMLReadDefine.hh.
|
protected |
Definition at line 124 of file G4GDMLReadDefine.cc.
|
protectedvirtual |
Definition at line 128 of file G4GDMLReadDefine.cc.
|
protected |
Definition at line 146 of file G4GDMLReadDefine.cc.
References G4GDMLEvaluator::DefineConstant(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), name, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 467 of file G4GDMLReadDefine.cc.
References ConstantRead(), ExpressionRead(), FatalException, G4cout, G4endl, G4Exception(), MatrixRead(), PositionRead(), QuantityRead(), RotationRead(), ScaleRead(), G4GDMLRead::Transcode(), and VariableRead().
Referenced by G4GDMLReadMaterials::MaterialsRead(), and G4GDMLReadSolids::SolidsRead().
|
protected |
Definition at line 181 of file G4GDMLReadDefine.cc.
References G4GDMLEvaluator::DefineConstant(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), name, and G4GDMLRead::Transcode().
Referenced by DefineRead().
Definition at line 578 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, and G4GDMLEvaluator::GetConstant().
G4GDMLMatrix G4GDMLReadDefine::GetMatrix | ( | const G4String & | ref | ) |
Definition at line 632 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and matrixMap.
Referenced by G4GDMLReadMaterials::PropertyRead().
G4ThreeVector G4GDMLReadDefine::GetPosition | ( | const G4String & | ref | ) |
Definition at line 599 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and positionMap.
Referenced by G4GDMLReadSolids::BooleanRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadStructure::PhysvolRead(), G4GDMLReadSolids::QuadrangularRead(), G4GDMLReadStructure::ReplicaRead(), G4GDMLReadSolids::TetRead(), and G4GDMLReadSolids::TriangularRead().
Definition at line 588 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and quantityMap.
Referenced by G4GDMLReadMaterials::MaterialRead().
G4ThreeVector G4GDMLReadDefine::GetRotation | ( | const G4String & | ref | ) |
Definition at line 610 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and rotationMap.
Referenced by G4GDMLReadSolids::BooleanRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadStructure::PhysvolRead(), and G4GDMLReadStructure::ReplicaRead().
|
protected |
Definition at line 133 of file G4GDMLReadDefine.cc.
Referenced by G4GDMLReadSolids::BooleanRead(), G4GDMLReadStructure::PhysvolRead(), and G4GDMLReadSolids::ReflectedSolidRead().
G4ThreeVector G4GDMLReadDefine::GetScale | ( | const G4String & | ref | ) |
Definition at line 621 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and scaleMap.
Referenced by G4GDMLReadStructure::PhysvolRead().
Definition at line 583 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, and G4GDMLEvaluator::GetVariable().
Definition at line 573 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, and G4GDMLEvaluator::IsVariable().
|
protected |
Definition at line 217 of file G4GDMLReadDefine.cc.
References G4GDMLEvaluator::DefineMatrix(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), matrixMap, name, G4GDMLMatrix::Set(), and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 273 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetCategory(), G4UnitDefinition::GetValueOf(), name, position, positionMap, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 429 of file G4GDMLReadDefine.cc.
References G4GDMLEvaluator::DefineConstant(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), name, quantityMap, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 541 of file G4GDMLReadDefine.cc.
References FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by G4GDMLReadSolids::BooleanRead(), G4GDMLReadStructure::BorderSurfaceRead(), G4GDMLReadStructure::DivisionvolRead(), G4GDMLReadMaterials::MaterialRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadParamvol::ParamvolRead(), G4GDMLReadStructure::PhysvolRead(), G4GDMLReadStructure::ReplicaRead(), G4GDMLReadStructure::ReplicavolRead(), G4GDMLReadSetup::SetupRead(), G4GDMLReadStructure::SkinSurfaceRead(), G03ColorReader::VolumeRead(), and G4GDMLReadStructure::VolumeRead().
|
protected |
Definition at line 316 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetCategory(), G4UnitDefinition::GetValueOf(), name, rotationMap, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 358 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, scaleMap, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 395 of file G4GDMLReadDefine.cc.
References G4GDMLEvaluator::DefineVariable(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), name, and G4GDMLRead::Transcode().
Referenced by DefineRead().
|
protected |
Definition at line 504 of file G4GDMLReadDefine.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), and G4GDMLRead::Transcode().
Referenced by G4GDMLReadSolids::BooleanRead(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadStructure::PhysvolRead(), and G4GDMLReadStructure::ReplicaRead().
|
protected |
Definition at line 109 of file G4GDMLReadDefine.hh.
Referenced by GetMatrix(), and MatrixRead().
|
protected |
Definition at line 106 of file G4GDMLReadDefine.hh.
Referenced by GetPosition(), and PositionRead().
Definition at line 105 of file G4GDMLReadDefine.hh.
Referenced by GetQuantity(), and QuantityRead().
|
protected |
Definition at line 107 of file G4GDMLReadDefine.hh.
Referenced by GetRotation(), and RotationRead().
|
protected |
Definition at line 108 of file G4GDMLReadDefine.hh.
Referenced by GetScale(), and ScaleRead().