Public Member Functions | Private Member Functions | Private Attributes | List of all members
cet::detail::ostream_observer Class Reference

#include <ostream_handle_impl.h>

Inheritance diagram for cet::detail::ostream_observer:
cet::detail::ostream_handle_base

Public Member Functions

 ostream_observer (std::ostream &os)
 
- Public Member Functions inherited from cet::detail::ostream_handle_base
virtual ~ostream_handle_base ()=default
 
std::ostream & stream ()
 

Private Member Functions

std::ostream & get_stream () override
 

Private Attributes

std::ostream & os_
 

Detailed Description

Definition at line 25 of file ostream_handle_impl.h.

Constructor & Destructor Documentation

cet::detail::ostream_observer::ostream_observer ( std::ostream &  os)
inline

Definition at line 27 of file ostream_handle_impl.h.

27 : os_{os} {}

Member Function Documentation

std::ostream& cet::detail::ostream_observer::get_stream ( )
inlineoverrideprivatevirtual

Implements cet::detail::ostream_handle_base.

Definition at line 32 of file ostream_handle_impl.h.

33  {
34  return os_;
35  }

Member Data Documentation

std::ostream& cet::detail::ostream_observer::os_
private

Definition at line 30 of file ostream_handle_impl.h.


The documentation for this class was generated from the following file: