00001 #ifndef DDD_DDRegistry_h 00002 #define DDD_DDRegistry_h 00003 00004 #include <map> 00005 //#include "DetectorDescription/Base/interface/Singleton.h" 00006 #include "DetectorDescription/Core/interface/DDName.h" 00007 00008 template <class T> 00009 class DDRegistry : public std::map<DDName,T> 00010 { 00011 public: 00012 /* 00013 typedef std::map<DDName,T> RegistryMap; 00014 typedef typename RegistryMap::iterator iterator; 00015 typedef typename RegistryMap::const_iterator const_iterator; 00016 typedef typename RegistryMap::value_type value_type; 00017 typedef typename RegistryMap::key_type key_type; 00018 typedef typename RegistryMap::std::mapped_type std::mapped_type; 00019 */ 00020 private: 00021 //RegMap reg_; 00022 }; 00023 #endif //. DDD_DDRegistry_h