VGM Version 5.3
|
Classes | |
class | AGDDExporter |
Class for generation of geometry data files in XML, in the AGDD XML format. More... | |
class | AGDDWriter |
The implementation of the interface for the XML writer that writes VGM geometry objects to XML defined by AGDD.dtd (ATLAS Generic Detector Description) More... | |
class | GDMLExporter |
Class for generation of geometry data files in XML, in the GDML format. More... | |
class | GDMLWriter |
The implementation of the interface for the XML writer that writes VGM geometry objects to XML defined by GDML scheme. More... | |
class | IWriter |
The interface for the XML writer that writes VGM geometry objects to XML: More... | |
class | Maps |
Utility class for mapping XML element values to their names within the XML exporter precision. More... | |
class | VExporter |
Class for generation of geometry data files in XML, the XML format is independent from the geometry object model. More... | |
Typedefs | |
typedef std::vector< double > | ThreeVector |
Functions | |
std::string | UpdateName (const std::string &name, const std::string &extension="") |
std::string | StripName (const std::string &name, const std::string &extension="") |
std::string | AppendName (const std::string &name, int size) |
std::string | IsotopeName (const VGM::IIsotope *isotope) |
void | CutName (std::string &name) |
void | CutName (std::string &name, int size) |
std::ostream & | SmartPut (std::ostream &out, int size, int precision, double tolerance, double number, const std::string &separator) |
std::ostream & | SmartPut (std::ostream &out, int size, int precision, double tolerance, const std::string &separator1, double number, const std::string &separator2) |
std::string | Date () |
Variables | |
const char | fgkCharReplacement = '_' |
const std::string | fgkNotAllowedChars |
const std::string | fgkNotAllowedChars1 |
XmlVGM utilities.
Utility functions
typedef std::vector<double> XmlVGM::ThreeVector |
Definition at line 43 of file VExporter.h.
std::string XmlVGM::UpdateName | ( | const std::string & | name, |
const std::string & | extension = "" ) |
Remove spaces after the name if present, replace not allowed characters with fgkCharReplacement inside names and apped the specified extension.
Definition at line 31 of file utilities.cxx.
std::string XmlVGM::StripName | ( | const std::string & | name, |
const std::string & | extension = "" ) |
Remove specified extension from the name if present
Definition at line 62 of file utilities.cxx.
std::string XmlVGM::AppendName | ( | const std::string & | name, |
int | size ) |
Append name with spaces to get the desired size
Definition at line 71 of file utilities.cxx.
std::string XmlVGM::IsotopeName | ( | const VGM::IIsotope * | isotope | ) |
Generate isotope name in the form Symbol_N
Definition at line 86 of file utilities.cxx.
void XmlVGM::CutName | ( | std::string & | name | ) |
Removes spaces after the name if present
Definition at line 107 of file utilities.cxx.
void XmlVGM::CutName | ( | std::string & | name, |
int | size ) |
Definition at line 116 of file utilities.cxx.
std::ostream & XmlVGM::SmartPut | ( | std::ostream & | out, |
int | size, | ||
int | precision, | ||
double | tolerance, | ||
double | number, | ||
const std::string & | separator ) |
Help function to supress - sign in case the number == 0 within the given precision
Definition at line 124 of file utilities.cxx.
std::ostream & XmlVGM::SmartPut | ( | std::ostream & | out, |
int | size, | ||
int | precision, | ||
double | tolerance, | ||
const std::string & | separator1, | ||
double | number, | ||
const std::string & | separator2 ) |
Help function to supress - sign in case the number == 0 within the given precision
Definition at line 147 of file utilities.cxx.
std::string XmlVGM::Date | ( | ) |
Convert date to string
Definition at line 174 of file utilities.cxx.
const char XmlVGM::fgkCharReplacement = '_' |
Definition at line 52 of file utilities.h.
const std::string XmlVGM::fgkNotAllowedChars |
Definition at line 53 of file utilities.h.
const std::string XmlVGM::fgkNotAllowedChars1 |
Definition at line 55 of file utilities.h.