Flow123d  JS_before_hm-1804-gf2ad740aa
Public Member Functions | Public Attributes | List of all members
internal::ExcStream Class Reference

#include <exceptions.hh>

Inheritance diagram for internal::ExcStream:
Inheritance graph
[legend]
Collaboration diagram for internal::ExcStream:
Collaboration graph
[legend]

Public Member Functions

 ExcStream (std::ostream &stream, const ExceptionBase &exc)
 
ExcStreamoperator<< (ExcStream &(*pf)(ExcStream &))
 

Public Attributes

std::ostream & stream_
 
const ExceptionBaseexc_
 

Detailed Description

Helper stream that knows stream and exception for which we format the message.

TODO: Make std manipulators work!

Definition at line 324 of file exceptions.hh.

Constructor & Destructor Documentation

◆ ExcStream()

internal::ExcStream::ExcStream ( std::ostream &  stream,
const ExceptionBase exc 
)
inline

Definition at line 326 of file exceptions.hh.

Member Function Documentation

◆ operator<<()

ExcStream& internal::ExcStream::operator<< ( ExcStream &(*)(ExcStream &)  pf)
inline

Definition at line 331 of file exceptions.hh.

Member Data Documentation

◆ exc_

const ExceptionBase& internal::ExcStream::exc_

Definition at line 328 of file exceptions.hh.

◆ stream_

std::ostream& internal::ExcStream::stream_

Definition at line 327 of file exceptions.hh.


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