messageStream Class ReferenceInheritance diagram for messageStream:
[legend]Collaboration diagram for messageStream:
[legend]List of all members.
Detailed Description
Definition at line 74 of file messageStream.H.
|
Public Types |
| enum | errorSeverity { INFO,
WARNING,
SERIOUS,
FATAL
} |
| | Severity flags. More...
|
Public Member Functions |
| | messageStream (const string &title, errorSeverity sev, const int maxErrors=0) |
| | Construct from components.
|
| | messageStream (const dictionary &dict) |
| | Construct from dictionary.
|
| const string & | title () const |
| | Return the title of this error type.
|
| int | maxErrors () const |
| | Return the maximum number of errors before program termination.
|
| int & | maxErrors () |
| | Return non-const access to the maximum number of errors before.
|
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber=0) |
| | Convert to Ostream.
|
| OSstream & | operator() (const string &functionName, const char *sourceFileName, const int sourceFileLineNumber=0) |
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const string &ioFileName, const label ioStartLineNumber=-1, const label ioEndLineNumber=-1) |
| | Convert to Ostream.
|
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const IOstream &) |
| | Convert to Ostream.
|
| OSstream & | operator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const dictionary &) |
| | Convert to Ostream.
|
| | operator OSstream & () |
| | Convert to Ostream.
|
Static Public Attributes |
| static int | level |
Protected Attributes |
| string | title_ |
| errorSeverity | severity_ |
| int | maxErrors_ |
| int | errorCount_ |
Member Enumeration Documentation
Severity flags.
- Enumerator:
-
| INFO |
|
| WARNING |
|
| SERIOUS |
|
| FATAL |
|
Definition at line 80 of file messageStream.H.
Constructor & Destructor Documentation
Construct from components.
Construct from dictionary.
Member Function Documentation
| const string& title |
( |
|
) |
const [inline] |
| int maxErrors |
( |
|
) |
const [inline] |
Return the maximum number of errors before program termination.
Definition at line 130 of file messageStream.H.
| int& maxErrors |
( |
|
) |
[inline] |
Return non-const access to the maximum number of errors before.
program termination to enable user to reset it
Definition at line 139 of file messageStream.H.
| OSstream& operator() |
( |
const char * |
functionName, |
|
|
const char * |
sourceFileName, |
|
|
const int |
sourceFileLineNumber = 0 | |
|
) |
| | |
Convert to Ostream.
Prints basic message and then returns Ostream for further info.
Reimplemented in error.
| OSstream& operator() |
( |
const string & |
functionName, |
|
|
const char * |
sourceFileName, |
|
|
const int |
sourceFileLineNumber = 0 | |
|
) |
| | |
| OSstream& operator() |
( |
const char * |
functionName, |
|
|
const char * |
sourceFileName, |
|
|
const int |
sourceFileLineNumber, |
|
|
const string & |
ioFileName, |
|
|
const label |
ioStartLineNumber = -1, |
|
|
const label |
ioEndLineNumber = -1 | |
|
) |
| | |
Convert to Ostream.
Prints basic message and then returns Ostream for further info.
Reimplemented in IOerror.
| OSstream& operator() |
( |
const char * |
functionName, |
|
|
const char * |
sourceFileName, |
|
|
const int |
sourceFileLineNumber, |
|
|
const IOstream & |
| |
|
) |
| | |
Convert to Ostream.
Prints basic message and then returns Ostream for further info.
Reimplemented in IOerror.
| OSstream& operator() |
( |
const char * |
functionName, |
|
|
const char * |
sourceFileName, |
|
|
const int |
sourceFileLineNumber, |
|
|
const dictionary & |
| |
|
) |
| | |
Convert to Ostream.
Prints basic message and then returns Ostream for further info.
Reimplemented in IOerror.
Convert to Ostream.
Prints basic message and then returns Ostream for further info.
Reimplemented in error.
Member Data Documentation
The documentation for this class was generated from the following file:
Copyright © 2000-2007 OpenCFD Ltd
|