Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
G4GDMLWrite Class Referenceabstract

#include <G4GDMLWrite.hh>

Inheritance diagram for G4GDMLWrite:
Inheritance graph
[legend]
Collaboration diagram for G4GDMLWrite:
Collaboration graph
[legend]

Public Member Functions

G4Transform3D Write (const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true)
 
void AddModule (const G4VPhysicalVolume *const topVol)
 
void AddModule (const G4int depth)
 
virtual void DefineWrite (xercesc::DOMElement *)=0
 
virtual void MaterialsWrite (xercesc::DOMElement *)=0
 
virtual void SolidsWrite (xercesc::DOMElement *)=0
 
virtual void StructureWrite (xercesc::DOMElement *)=0
 
virtual G4Transform3D TraverseVolumeTree (const G4LogicalVolume *const, const G4int)=0
 
virtual void SurfacesWrite ()=0
 
virtual void SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const)=0
 
virtual void ExtensionWrite (xercesc::DOMElement *)
 
virtual void AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const)
 

Static Public Member Functions

static void SetAddPointerToName (G4bool)
 

Protected Member Functions

 G4GDMLWrite ()
 
virtual ~G4GDMLWrite ()
 
VolumeMapType & VolumeMap ()
 
G4String GenerateName (const G4String &, const void *const)
 
xercesc::DOMAttr * NewAttribute (const G4String &, const G4String &)
 
xercesc::DOMAttr * NewAttribute (const G4String &, const G4double &)
 
xercesc::DOMElement * NewElement (const G4String &)
 
G4String Modularize (const G4VPhysicalVolume *const topvol, const G4int depth)
 
G4bool FileExists (const G4String &) const
 
PhysVolumeMapType & PvolumeMap ()
 
DepthMapType & DepthMap ()
 

Protected Attributes

G4String SchemaLocation
 
xercesc::DOMDocument * doc
 
xercesc::DOMElement * extElement
 
XMLCh tempStr [10000]
 

Static Protected Attributes

static G4bool addPointerToName = true
 

Detailed Description

Definition at line 55 of file G4GDMLWrite.hh.

Constructor & Destructor Documentation

G4GDMLWrite::G4GDMLWrite ( )
protected

Definition at line 46 of file G4GDMLWrite.cc.

G4GDMLWrite::~G4GDMLWrite ( )
protectedvirtual

Definition at line 50 of file G4GDMLWrite.cc.

Member Function Documentation

void G4GDMLWrite::AddExtension ( xercesc::DOMElement *  ,
const G4LogicalVolume * const   
)
virtual

Reimplemented in G03ColorWriter.

Definition at line 78 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

void G4GDMLWrite::AddModule ( const G4VPhysicalVolume *const  topVol)

Definition at line 247 of file G4GDMLWrite.cc.

Here is the call graph for this function:

void G4GDMLWrite::AddModule ( const G4int  depth)

Definition at line 280 of file G4GDMLWrite.cc.

Here is the call graph for this function:

virtual void G4GDMLWrite::DefineWrite ( xercesc::DOMElement *  )
pure virtual

Implemented in G4GDMLWriteDefine.

Here is the caller graph for this function:

G4GDMLWrite::DepthMapType & G4GDMLWrite::DepthMap ( )
protected

Definition at line 72 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

void G4GDMLWrite::ExtensionWrite ( xercesc::DOMElement *  )
virtual

Reimplemented in G03ColorWriter.

Definition at line 85 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

G4bool G4GDMLWrite::FileExists ( const G4String fname) const
protected

Definition at line 54 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

G4String G4GDMLWrite::GenerateName ( const G4String name,
const void * const  ptr 
)
protected

Definition at line 90 of file G4GDMLWrite.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void G4GDMLWrite::MaterialsWrite ( xercesc::DOMElement *  )
pure virtual

Implemented in G4GDMLWriteMaterials.

Here is the caller graph for this function:

G4String G4GDMLWrite::Modularize ( const G4VPhysicalVolume *const  topvol,
const G4int  depth 
)
protected

Definition at line 295 of file G4GDMLWrite.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xercesc::DOMAttr * G4GDMLWrite::NewAttribute ( const G4String name,
const G4String value 
)
protected

Definition at line 103 of file G4GDMLWrite.cc.

xercesc::DOMAttr * G4GDMLWrite::NewAttribute ( const G4String name,
const G4double value 
)
protected

Definition at line 113 of file G4GDMLWrite.cc.

xercesc::DOMElement * G4GDMLWrite::NewElement ( const G4String name)
protected

Definition at line 127 of file G4GDMLWrite.cc.

G4GDMLWrite::PhysVolumeMapType & G4GDMLWrite::PvolumeMap ( )
protected

Definition at line 66 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

void G4GDMLWrite::SetAddPointerToName ( G4bool  set)
static

Definition at line 315 of file G4GDMLWrite.cc.

virtual void G4GDMLWrite::SetupWrite ( xercesc::DOMElement *  ,
const G4LogicalVolume const 
)
pure virtual

Implemented in G4GDMLWriteSetup.

Here is the caller graph for this function:

virtual void G4GDMLWrite::SolidsWrite ( xercesc::DOMElement *  )
pure virtual

Implemented in G4GDMLWriteSolids.

Here is the caller graph for this function:

virtual void G4GDMLWrite::StructureWrite ( xercesc::DOMElement *  )
pure virtual

Implemented in G4GDMLWriteStructure.

Here is the caller graph for this function:

virtual void G4GDMLWrite::SurfacesWrite ( )
pure virtual

Implemented in G4GDMLWriteStructure.

Here is the caller graph for this function:

virtual G4Transform3D G4GDMLWrite::TraverseVolumeTree ( const G4LogicalVolume const,
const G4int   
)
pure virtual

Implemented in G4GDMLWriteStructure.

Here is the caller graph for this function:

G4GDMLWrite::VolumeMapType & G4GDMLWrite::VolumeMap ( )
protected

Definition at line 60 of file G4GDMLWrite.cc.

Here is the caller graph for this function:

G4Transform3D G4GDMLWrite::Write ( const G4String filename,
const G4LogicalVolume *const  topLog,
const G4String schemaPath,
const G4int  depth,
G4bool  storeReferences = true 
)

Definition at line 133 of file G4GDMLWrite.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4bool G4GDMLWrite::addPointerToName = true
staticprotected

Definition at line 122 of file G4GDMLWrite.hh.

xercesc::DOMDocument* G4GDMLWrite::doc
protected

Definition at line 123 of file G4GDMLWrite.hh.

xercesc::DOMElement* G4GDMLWrite::extElement
protected

Definition at line 124 of file G4GDMLWrite.hh.

G4String G4GDMLWrite::SchemaLocation
protected

Definition at line 121 of file G4GDMLWrite.hh.

XMLCh G4GDMLWrite::tempStr[10000]
protected

Definition at line 125 of file G4GDMLWrite.hh.


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