fiber
Loading...
Searching...
No Matches
fiber::OStreamRef Struct Reference

#include <OStream.hpp>

Public Member Functions

constexpr OStreamRef ()=default
 
constexpr OStreamRef (const OStreamRef &)=default
 
constexpr OStreamRef (OStream &stream)
 
constexpr OStreamRef (OStream *stream)
 
constexpr OStreamRefoperator= (const OStreamRef &)=default
 
constexpr OStreamRefoperator= (OStream &stream)
 
constexpr OStreamRefoperator= (OStream *stream)
 
constexpr bool is_open () const
 
constexpr operator bool () const
 

Public Attributes

OStreamptr = nullptr
 

Constructor & Destructor Documentation

◆ OStreamRef() [1/4]

fiber::OStreamRef::OStreamRef ( )
constexprdefault

◆ OStreamRef() [2/4]

fiber::OStreamRef::OStreamRef ( const OStreamRef & )
constexprdefault

◆ OStreamRef() [3/4]

fiber::OStreamRef::OStreamRef ( OStream & stream)
inlineexplicitconstexpr

◆ OStreamRef() [4/4]

fiber::OStreamRef::OStreamRef ( OStream * stream)
inlineexplicitconstexpr

Member Function Documentation

◆ is_open()

bool fiber::OStreamRef::is_open ( ) const
inlineconstexpr

◆ operator bool()

fiber::OStreamRef::operator bool ( ) const
inlineconstexpr

◆ operator=() [1/3]

OStreamRef & fiber::OStreamRef::operator= ( const OStreamRef & )
constexprdefault

◆ operator=() [2/3]

OStreamRef & fiber::OStreamRef::operator= ( OStream & stream)
inlineconstexpr

◆ operator=() [3/3]

OStreamRef & fiber::OStreamRef::operator= ( OStream * stream)
inlineconstexpr

Member Data Documentation

◆ ptr

OStream* fiber::OStreamRef::ptr = nullptr

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