CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NamedDestination.h
Go to the documentation of this file.
1 #ifndef FWCore_MessageService_NamedDestination_h
2 #define FWCore_MessageService_NamedDestination_h 1
3 
5 
6 #include <string>
7 #include <memory>
8 
9 class ELdestination;
10 
11 namespace edm {
12 namespace service {
13 
15  public:
16  NamedDestination( std::string const & n, ELdestination* dp ) :
17  name_(n)
18  , dest_p_(dp)
19  {}
20  std::string const & name() const {return name_;}
21  std::auto_ptr<ELdestination> & dest_p() {return dest_p_;}
22  private:
23  std::string name_;
24  std::auto_ptr<ELdestination> dest_p_;
25  };
26 } // end of namespace service
27 } // end of namespace edm
28 
29 #endif // FWCore_MessageService_NamedDestination_h
std::auto_ptr< ELdestination > dest_p_
std::auto_ptr< ELdestination > & dest_p()
std::string const & name() const
NamedDestination(std::string const &n, ELdestination *dp)