Reduced the number of doxygen error messages.

This commit is contained in:
Harry Moffat 2006-06-19 23:15:43 +00:00
parent 88f9171755
commit 5a8ba61ffd
2 changed files with 14 additions and 7 deletions

View file

@ -25,22 +25,23 @@ namespace Cantera {
class XML_Node; class XML_Node;
class Logger; class Logger;
/// Number of errors that have been encountered so far // Return the number of errors that have been encountered so far
int nErrors(); int nErrors();
/// The last error message // The last error message
string lastErrorMessage(); string lastErrorMessage();
/// Add an error message // Set an error condition in the application class without
// throwing an exception.
void setError(string r, string msg); void setError(string r, string msg);
/// Print the error messages to stream f // Prints all of the error messages to stream f
void showErrors(ostream& f); void showErrors(ostream& f);
/// Print the error messages using function writelog. // Print all of the error messages using function writelog.
void showErrors(); void showErrors();
/// Discard the last error message // Discard the last error message
void popError(); void popError();
/// Find an input file. /// Find an input file.

View file

@ -107,6 +107,9 @@ namespace Cantera {
/// Pointer to the single Application instance /// Pointer to the single Application instance
static Application* s_app = 0; static Application* s_app = 0;
/**
* Definition of the static member of the Unit class.
*/
Unit* Unit::s_u = 0; Unit* Unit::s_u = 0;
static void appinit() { static void appinit() {
@ -264,8 +267,9 @@ namespace Cantera {
string tmpDir() { appinit(); return app()->tmp_dir; } string tmpDir() { appinit(); return app()->tmp_dir; }
string sleep() { appinit(); return app()->sleep; } string sleep() { appinit(); return app()->sleep; }
/** /**
* Returns the number of error messages. * Return the number of errors that have been encountered so far.
* \ingroup errorhandling * \ingroup errorhandling
*/ */
int nErrors() { int nErrors() {
@ -309,6 +313,7 @@ namespace Cantera {
} }
/** /**
* Prints all of the error messages to stream f.
* Write out to ostream, f, all of the saved error messages. * Write out to ostream, f, all of the saved error messages.
* Cantera saves a stack of exceptions that it * Cantera saves a stack of exceptions that it
* has caught in the Application class. This routine writes * has caught in the Application class. This routine writes
@ -337,6 +342,7 @@ namespace Cantera {
} }
/** /**
* Print all of the error messages using function writelog.
* Write out all of the saved error messages to the log device. * Write out all of the saved error messages to the log device.
* Cantera saves a stack of exceptions that it * Cantera saves a stack of exceptions that it
* has caught in the Application class. This routine writes * has caught in the Application class. This routine writes