Geant4  10.00.p02
G4GDMLParser Class Reference

#include <G4GDMLParser.hh>

+ Collaboration diagram for G4GDMLParser:

Public Member Functions

 G4GDMLParser ()
 
 G4GDMLParser (G4GDMLReadStructure *)
 
 G4GDMLParser (G4GDMLReadStructure *, G4GDMLWriteStructure *)
 
 ~G4GDMLParser ()
 
void Read (const G4String &filename, G4bool Validate=true)
 
void ReadModule (const G4String &filename, G4bool Validate=true)
 
void Write (const G4String &filename, const G4VPhysicalVolume *pvol=0, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
void Write (const G4String &filename, const G4LogicalVolume *lvol, G4bool storeReferences=true, const G4String &SchemaLocation=G4GDML_DEFAULT_SCHEMALOCATION)
 
G4LogicalVolumeParseST (const G4String &name, G4Material *medium, G4Material *solid)
 
G4bool IsValid (const G4String &name) const
 
G4double GetConstant (const G4String &name) const
 
G4double GetVariable (const G4String &name) const
 
G4double GetQuantity (const G4String &name) const
 
G4ThreeVector GetPosition (const G4String &name) const
 
G4ThreeVector GetRotation (const G4String &name) const
 
G4ThreeVector GetScale (const G4String &name) const
 
G4GDMLMatrix GetMatrix (const G4String &name) const
 
G4LogicalVolumeGetVolume (const G4String &name) const
 
G4VPhysicalVolumeGetWorldVolume (const G4String &setupName="Default") const
 
G4GDMLAuxListType GetVolumeAuxiliaryInformation (G4LogicalVolume *logvol) const
 
const G4GDMLAuxMapTypeGetAuxMap () const
 
void StripNamePointers () const
 
void SetStripFlag (G4bool)
 
void SetOverlapCheck (G4bool)
 
void Clear ()
 
void AddModule (const G4VPhysicalVolume *const physvol)
 
void AddModule (const G4int depth)
 
void SetAddPointerToName (G4bool set)
 

Private Attributes

G4GDMLReadStructurereader
 
G4GDMLWriteStructurewriter
 
G4GDMLMessengermessenger
 
G4bool urcode
 
G4bool uwcode
 
G4bool strip
 

Detailed Description

Definition at line 54 of file G4GDMLParser.hh.

Constructor & Destructor Documentation

G4GDMLParser::G4GDMLParser ( )

Definition at line 36 of file G4GDMLParser.cc.

References Initialize(), messenger, reader, and writer.

+ Here is the call graph for this function:

G4GDMLParser::G4GDMLParser ( G4GDMLReadStructure extr)

Definition at line 46 of file G4GDMLParser.cc.

References Initialize(), messenger, reader, and writer.

+ Here is the call graph for this function:

G4GDMLParser::G4GDMLParser ( G4GDMLReadStructure extr,
G4GDMLWriteStructure extw 
)

Definition at line 56 of file G4GDMLParser.cc.

References Initialize(), messenger, reader, and writer.

+ Here is the call graph for this function:

G4GDMLParser::~G4GDMLParser ( )

Definition at line 67 of file G4GDMLParser.cc.

References messenger, reader, urcode, uwcode, and writer.

Member Function Documentation

void G4GDMLParser::AddModule ( const G4VPhysicalVolume *const  physvol)
inline
void G4GDMLParser::AddModule ( const G4int  depth)
inline
void G4GDMLParser::Clear ( )
inline

Referenced by G4GDMLMessenger::SetNewValue().

+ Here is the caller graph for this function:

const G4GDMLAuxMapType* G4GDMLParser::GetAuxMap ( ) const
inline

Referenced by main().

+ Here is the caller graph for this function:

G4double G4GDMLParser::GetConstant ( const G4String name) const
inline
G4GDMLMatrix G4GDMLParser::GetMatrix ( const G4String name) const
inline
G4ThreeVector G4GDMLParser::GetPosition ( const G4String name) const
inline

Referenced by CexmcSetup::ReadTransforms().

+ Here is the caller graph for this function:

G4double G4GDMLParser::GetQuantity ( const G4String name) const
inline
G4ThreeVector G4GDMLParser::GetRotation ( const G4String name) const
inline

Referenced by CexmcSetup::ReadTransforms().

+ Here is the caller graph for this function:

G4ThreeVector G4GDMLParser::GetScale ( const G4String name) const
inline
G4double G4GDMLParser::GetVariable ( const G4String name) const
inline
G4LogicalVolume* G4GDMLParser::GetVolume ( const G4String name) const
inline
G4GDMLAuxListType G4GDMLParser::GetVolumeAuxiliaryInformation ( G4LogicalVolume logvol) const
inline

Referenced by main(), and CexmcSetup::SetupSpecialVolumes().

+ Here is the caller graph for this function:

G4VPhysicalVolume* G4GDMLParser::GetWorldVolume ( const G4String setupName = "Default") const
inline

Referenced by G03DetectorConstruction::Construct(), G02DetectorConstruction::Construct(), CexmcSetup::Construct(), main(), and G4GDMLMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4bool G4GDMLParser::IsValid ( const G4String name) const
inline
G4LogicalVolume* G4GDMLParser::ParseST ( const G4String name,
G4Material medium,
G4Material solid 
)
inline

Referenced by G02DetectorConstruction::Construct().

+ Here is the caller graph for this function:

void G4GDMLParser::Read ( const G4String filename,
G4bool  Validate = true 
)
inline

Referenced by G03DetectorConstruction::Construct(), G02DetectorConstruction::Construct(), CexmcSetup::Construct(), main(), and G4GDMLMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4GDMLParser::ReadModule ( const G4String filename,
G4bool  Validate = true 
)
inline
void G4GDMLParser::SetAddPointerToName ( G4bool  set)
inline
void G4GDMLParser::SetOverlapCheck ( G4bool  )
inline
void G4GDMLParser::SetStripFlag ( G4bool  )
inline
void G4GDMLParser::StripNamePointers ( ) const
inline
void G4GDMLParser::Write ( const G4String filename,
const G4VPhysicalVolume pvol = 0,
G4bool  storeReferences = true,
const G4String SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION 
)
inline

Referenced by G03DetectorConstruction::Construct(), G02DetectorConstruction::Construct(), main(), and G4GDMLMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4GDMLParser::Write ( const G4String filename,
const G4LogicalVolume lvol,
G4bool  storeReferences = true,
const G4String SchemaLocation = G4GDML_DEFAULT_SCHEMALOCATION 
)
inline

Member Data Documentation

G4GDMLMessenger* G4GDMLParser::messenger
private

Definition at line 136 of file G4GDMLParser.hh.

Referenced by G4GDMLParser(), and ~G4GDMLParser().

G4GDMLReadStructure* G4GDMLParser::reader
private

Definition at line 134 of file G4GDMLParser.hh.

Referenced by G4GDMLParser(), and ~G4GDMLParser().

G4bool G4GDMLParser::strip
private

Definition at line 137 of file G4GDMLParser.hh.

G4bool G4GDMLParser::urcode
private

Definition at line 137 of file G4GDMLParser.hh.

Referenced by ~G4GDMLParser().

G4bool G4GDMLParser::uwcode
private

Definition at line 137 of file G4GDMLParser.hh.

Referenced by ~G4GDMLParser().

G4GDMLWriteStructure* G4GDMLParser::writer
private

Definition at line 135 of file G4GDMLParser.hh.

Referenced by G4GDMLParser(), and ~G4GDMLParser().


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