Cantera  3.2.0a2
Loading...
Searching...
No Matches
Application::Messages Class Reference

Class to carry out messages. More...

#include <application.h>

Detailed Description

Class to carry out messages.

Definition at line 45 of file application.h.

Public Member Functions

 Messages (const Messages &r)=delete
 
Messagesoperator= (const Messages &r)=delete
 
void addError (const string &r, const string &msg="")
 Set an error condition in the application class without throwing an exception.
 
int getErrorCount ()
 Return the number of errors that have been encountered so far.
 
void popError ()
 Discard the last error message.
 
string lastErrorMessage ()
 Retrieve the last error message in a string.
 
void getErrors (std::ostream &f)
 Prints all of the error messages to an ostream.
 
void logErrors ()
 Prints all of the error messages using writelog.
 

Protected Attributes

vector< string > errorMessage
 Current list of error messages.
 

Member Data Documentation

◆ errorMessage

vector<string> errorMessage
protected

Current list of error messages.

Definition at line 118 of file application.h.


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