Hall-D Software
alpha
|
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <stack>
#include <sys/stat.h>
#include <time.h>
#include <expat.h>
#include <string.h>
#include "DClassDef.h"
Go to the source code of this file.
Functions | |
void | startElement (void *data, const char *el, const char **attr) |
void | endElement (void *data, const char *el) |
void | CreateCopyRoutines (void) |
void | CreateHDDM2ROOT_tool (void) |
string | NameToHDDMname (string name) |
string | HDDMPlural (string name_hddm) |
void | Usage (void) |
void | ParseCommandLineArguments (int narg, char *argv[]) |
int | main (int narg, char *argv[]) |
Variables | |
string | XML_FILENAME = "/home/davidl/work/latest/sim-recon/src/libraries/HDDM/event.xml" |
string | HDDM_CLASS = "x" |
string | CXXFLAGS = "" |
map< string, DClassDef > | CLASSES |
unsigned int | MAX_DEPTH =0 |
unsigned int | TARGET_DEPTH =1 |
void CreateCopyRoutines | ( | void | ) |
Definition at line 296 of file hddm2root.cc.
References CLASSES, HDDM_CLASS, HDDMPlural(), MAX_DEPTH, NameToHDDMname(), and XML_FILENAME.
Referenced by main().
void CreateHDDM2ROOT_tool | ( | void | ) |
Definition at line 481 of file hddm2root.cc.
References CLASSES, HDDM_CLASS, NameToHDDMname(), string, TARGET_DEPTH, and XML_FILENAME.
Referenced by main().
void endElement | ( | void * | data, |
const char * | el | ||
) |
Definition at line 286 of file hddm2root.cc.
Referenced by main().
Definition at line 626 of file hddm2root.cc.
Referenced by CreateCopyRoutines().
int main | ( | int | narg, |
char * | argv[] | ||
) |
Definition at line 39 of file hddm2root.cc.
References CLASSES, CreateCopyRoutines(), CreateHDDM2ROOT_tool(), CXXFLAGS, endElement(), HDDM_CLASS, ParseCommandLineArguments(), startElement(), string, and XML_FILENAME.
Definition at line 613 of file hddm2root.cc.
Referenced by CreateCopyRoutines(), and CreateHDDM2ROOT_tool().
void ParseCommandLineArguments | ( | int | narg, |
char * | argv[] | ||
) |
void startElement | ( | void * | data, |
const char * | el, | ||
const char ** | attr | ||
) |
Definition at line 221 of file hddm2root.cc.
References CLASSES, DClassDef::depth, HDDM_CLASS, MAX_DEPTH, DClassDef::members, and string.
Referenced by DDANAEVIO_factory::get_tagNum_dictionary(), and main().
void Usage | ( | void | ) |
Definition at line 22 of file hddm2root.cc.
Referenced by CreateCopyRoutines(), CreateHDDM2ROOT_tool(), main(), and startElement().
string CXXFLAGS = "" |
Definition at line 19 of file hddm2root.cc.
Referenced by main().
string HDDM_CLASS = "x" |
Definition at line 18 of file hddm2root.cc.
Referenced by CreateCopyRoutines(), CreateHDDM2ROOT_tool(), main(), and startElement().
unsigned int MAX_DEPTH =0 |
Definition at line 23 of file hddm2root.cc.
Referenced by CreateCopyRoutines(), and startElement().
unsigned int TARGET_DEPTH =1 |
Definition at line 24 of file hddm2root.cc.
Referenced by CreateHDDM2ROOT_tool().
string XML_FILENAME = "/home/davidl/work/latest/sim-recon/src/libraries/HDDM/event.xml" |
Definition at line 17 of file hddm2root.cc.
Referenced by CreateCopyRoutines(), CreateHDDM2ROOT_tool(), DTranslationTable::DTranslationTable(), main(), and DTranslationTable::ReadTranslationTable().