Geant4 10.7.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 50 of file G4HepRepFileXMLWriter.hh.
G4HepRepFileXMLWriter::G4HepRepFileXMLWriter | ( | ) |
Definition at line 47 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttDef | ( | const char * | name, |
const char * | desc, | ||
const char * | type, | ||
const char * | extra | ||
) |
Definition at line 194 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound().
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
bool | value | ||
) |
Definition at line 261 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
const char * | value | ||
) |
Definition at line 213 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 229 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
double | value1, | ||
double | value2, | ||
double | value3 | ||
) |
Definition at line 280 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addAttValue | ( | const char * | name, |
int | value | ||
) |
Definition at line 245 of file G4HepRepFileXMLWriter.cc.
void G4HepRepFileXMLWriter::addInstance | ( | ) |
Definition at line 119 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 163 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().
void G4HepRepFileXMLWriter::addPrimitive | ( | ) |
Definition at line 141 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepFileSceneHandler::AddPrimitive(), and G4HepRepFileSceneHandler::AddSolid().
void G4HepRepFileXMLWriter::addType | ( | const char * | name, |
int | newTypeDepth | ||
) |
Definition at line 70 of file G4HepRepFileXMLWriter.cc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and addType().
void G4HepRepFileXMLWriter::close | ( | ) |
Definition at line 320 of file G4HepRepFileXMLWriter.cc.
Referenced by open(), and G4HepRepFileViewer::ShowView().
void G4HepRepFileXMLWriter::endTypes | ( | ) |
Definition at line 334 of file G4HepRepFileXMLWriter.cc.
Referenced by close().
void G4HepRepFileXMLWriter::open | ( | const char * | filespec | ) |
Definition at line 301 of file G4HepRepFileXMLWriter.cc.
bool G4HepRepFileXMLWriter::inInstance[50] |
Definition at line 90 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), and addPrimitive().
bool G4HepRepFileXMLWriter::inType[50] |
Definition at line 89 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), and addType().
bool G4HepRepFileXMLWriter::isOpen |
Definition at line 87 of file G4HepRepFileXMLWriter.hh.
Referenced by close(), G4HepRepFileXMLWriter(), open(), and G4HepRepFileViewer::ShowView().
char* G4HepRepFileXMLWriter::prevTypeName[50] |
Definition at line 91 of file G4HepRepFileXMLWriter.hh.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and addType().
int G4HepRepFileXMLWriter::typeDepth |
Definition at line 88 of file G4HepRepFileXMLWriter.hh.
Referenced by addInstance(), addPrimitive(), addType(), and endTypes().