Go to the documentation of this file.00001 #ifndef FWCore_MessageService_NamedDestination_h
00002 #define FWCore_MessageService_NamedDestination_h 1
00003
00004 #include "FWCore/MessageService/interface/ELdestination.h"
00005
00006 #include <string>
00007 #include <memory>
00008
00009 class ELdestination;
00010
00011 namespace edm {
00012 namespace service {
00013
00014 class NamedDestination {
00015 public:
00016 NamedDestination( std::string const & n, ELdestination* dp ) :
00017 name_(n)
00018 , dest_p_(dp)
00019 {}
00020 std::string const & name() const {return name_;}
00021 std::auto_ptr<ELdestination> & dest_p() {return dest_p_;}
00022 private:
00023 std::string name_;
00024 std::auto_ptr<ELdestination> dest_p_;
00025 };
00026 }
00027 }
00028
00029 #endif // FWCore_MessageService_NamedDestination_h