libdrmconf  0.10.4
A library to program DMR radios.
Public Member Functions | Protected Attributes | List of all members
ErrorStack::MessageStream Class Reference

A helper class to assemble error messages as streams. More...

#include <errorstack.hh>

Inheritance diagram for ErrorStack::MessageStream:
Inheritance graph
[legend]
Collaboration diagram for ErrorStack::MessageStream:
Collaboration graph
[legend]

Public Member Functions

 MessageStream (const ErrorStack &stack, const QString &file, unsigned line)
 Constructor.
 
virtual ~MessageStream ()
 Destructor, puts the message on the stack.
 

Protected Attributes

const ErrorStack_stack
 Holds a weak reference to the error stack to put the message on.
 
QString _file
 The file path.
 
unsigned _line
 The line number.
 
QString _message
 The message buffer.
 

Detailed Description

A helper class to assemble error messages as streams.

Use the errorMessage macro.


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