Public Member Functions | Private Member Functions | Private Attributes | List of all members
cet::detail::ostream_owner< OSTREAM, typename > Class Template Reference

#include <ostream_handle_impl.h>

Inheritance diagram for cet::detail::ostream_owner< OSTREAM, typename >:
cet::detail::ostream_handle_base

Public Member Functions

 ostream_owner (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

OSTREAM os_
 

Detailed Description

template<typename OSTREAM, typename = std::enable_if_t<std::is_base_of_v<std::ostream, OSTREAM>>>
class cet::detail::ostream_owner< OSTREAM, typename >

Definition at line 41 of file ostream_handle_impl.h.

Constructor & Destructor Documentation

template<typename OSTREAM , typename = std::enable_if_t<std::is_base_of_v<std::ostream, OSTREAM>>>
cet::detail::ostream_owner< OSTREAM, typename >::ostream_owner ( OSTREAM &&  os)
inline

Definition at line 43 of file ostream_handle_impl.h.

43 : os_(std::move(os)) {}
def move(depos, offset)
Definition: depos.py:107

Member Function Documentation

template<typename OSTREAM , typename = std::enable_if_t<std::is_base_of_v<std::ostream, OSTREAM>>>
std::ostream& cet::detail::ostream_owner< OSTREAM, typename >::get_stream ( )
inlineoverrideprivatevirtual

Implements cet::detail::ostream_handle_base.

Definition at line 48 of file ostream_handle_impl.h.

49  {
50  return os_;
51  }

Member Data Documentation

template<typename OSTREAM , typename = std::enable_if_t<std::is_base_of_v<std::ostream, OSTREAM>>>
OSTREAM cet::detail::ostream_owner< OSTREAM, typename >::os_
private

Definition at line 46 of file ostream_handle_impl.h.


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