//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Information: See EvtGen/COPYRIGHT // Copyright (C) 1998 Caltech, UCSB // // Module: EvtSymTable.cc // // Description: Class to hold the symbols that are defined // in the DECAY files. // Modification history: // // RYD May 8, 1997 Module created // //------------------------------------------------------------------------ // #include "EvtGenBase/EvtPatches.hh" #include #include #include #include #include "EvtGenBase/EvtSymTable.hh" #include "EvtGenBase/EvtReport.hh" #include using std::endl; using std::fstream; std::map EvtSymTable::_symMap; EvtSymTable::~EvtSymTable(){} EvtSymTable::EvtSymTable() { } void EvtSymTable::define(const std::string& symname,std::string d) { if ( _symMap.find(symname)!=_symMap.end() ) { report(INFO,"EvtGen") << "Symbol:"<