libdrmconf
0.10.4
A library to program DMR radios.
|
The actual error message stack. More...
#include <errorstack.hh>
Public Member Functions | |
Stack () noexcept | |
Empty constructor. | |
bool | isEmpty () const |
Returns true if there are any error messages. | |
unsigned | count () const |
Returns the number of error messages. | |
const Message & | message (unsigned i) const |
Returns a specific error message. | |
QString | format (const QString &indent=" ") const |
Returns a formatted string of error messages. | |
void | push (const Message &msg) |
Adds an error message to the stack. | |
void | push (const Stack &other) |
Adds the error messages from another stack. | |
void | clear () |
Clears the error stack. | |
Stack * | ref () |
Returns a new reference to the stack. | |
void | unref () |
Dereferences a stack, this decreases the ref count. More... | |
The actual error message stack.
void ErrorStack::Stack::unref | ( | ) |
Dereferences a stack, this decreases the ref count.
When 0 is reached, the stack is destroyed.