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

#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/detail/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)
 
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<std::ostream, OSTREAM>::value>>
class cet::detail::ostream_owner< OSTREAM, typename >

Definition at line 42 of file ostream_handle_impl.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file ostream_handle_impl.h.

44 : os_(std::move(os)) {}

Member Function Documentation

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

Implements cet::detail::ostream_handle_base.

Definition at line 49 of file ostream_handle_impl.h.

50  {
51  return os_;
52  }
std::ostream& cet::detail::ostream_handle_base::stream ( )
inlineinherited

Definition at line 16 of file ostream_handle_impl.h.

References cet::detail::ostream_handle_base::get_stream().

17  {
18  return get_stream();
19  }
virtual std::ostream & get_stream()=0

Member Data Documentation

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

Definition at line 47 of file ostream_handle_impl.h.


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