Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4HepRepFileXMLWriter.hh>
Public Member Functions | |
G4HepRepFileXMLWriter () | |
void | addType (const char *name, int newTypeDepth) |
void | addInstance () |
void | addPrimitive () |
void | addPoint (double x, double y, double z) |
void | addAttDef (const char *name, const char *desc, const char *type, const char *extra) |
void | addAttValue (const char *name, const char *value) |
void | addAttValue (const char *name, double value) |
void | addAttValue (const char *name, int value) |
void | addAttValue (const char *name, bool value) |
void | addAttValue (const char *name, double value1, double value2, double value3) |
void | open (const char *filespec) |
void | close () |
void | endTypes () |
Public Attributes | |
bool | isOpen |
int | typeDepth |
bool | inType [50] |
bool | inInstance [50] |
char * | prevTypeName [50] |
Definition at line 51 of file G4HepRepFileXMLWriter.hh.
G4HepRepFileXMLWriter::G4HepRepFileXMLWriter | ( | ) |
Definition at line 48 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttDef | ( | const char * | name, |
const char * | desc, | ||
const char * | type, | ||
const char * | extra | ||
) |
Definition at line 195 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound().
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
bool | value | ||
) |
Definition at line 262 of file G4HepRepFileXMLWriter.cc.
Definition at line 214 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepFileSceneHandler::InitHit(), and G4HepRepFileSceneHandler::InitTrajectory().
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
double | value | ||
) |
Definition at line 230 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
double | value1, | ||
double | value2, | ||
double | value3 | ||
) |
Definition at line 281 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
int | value | ||
) |
Definition at line 246 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addInstance | ( | ) |
Definition at line 120 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), addType(), G4HepRepFileSceneHandler::InitHit(), and G4HepRepFileSceneHandler::InitTrajectory().
void G4HepRepFileXMLWriter::addPoint | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 164 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().
void G4HepRepFileXMLWriter::addPrimitive | ( | ) |
Definition at line 142 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().
void G4HepRepFileXMLWriter::addType | ( | const char * | name, |
int | newTypeDepth | ||
) |
Definition at line 71 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and addType().
void G4HepRepFileXMLWriter::close | ( | ) |
Definition at line 321 of file G4HepRepFileXMLWriter.cc.
Referenced by open(), and G4HepRepFileViewer::ShowView().
void G4HepRepFileXMLWriter::endTypes | ( | ) |
Definition at line 335 of file G4HepRepFileXMLWriter.cc.
Referenced by close().
void G4HepRepFileXMLWriter::open | ( | const char * | filespec | ) |
Definition at line 302 of file G4HepRepFileXMLWriter.cc.
bool G4HepRepFileXMLWriter::inInstance[50] |
Definition at line 91 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), and addPrimitive().
bool G4HepRepFileXMLWriter::inType[50] |
Definition at line 90 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), and addType().
bool G4HepRepFileXMLWriter::isOpen |
Definition at line 88 of file G4HepRepFileXMLWriter.hh.
Referenced by close(), G4HepRepFileXMLWriter(), open(), and G4HepRepFileViewer::ShowView().
char* G4HepRepFileXMLWriter::prevTypeName[50] |
Definition at line 92 of file G4HepRepFileXMLWriter.hh.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and addType().
int G4HepRepFileXMLWriter::typeDepth |
Definition at line 89 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), addPrimitive(), addType(), and endTypes().