OpenFOAM logo
Open Source CFD Toolkit

IOerror Class Reference

Inheritance diagram for IOerror:

Inheritance graph
[legend]
Collaboration diagram for IOerror:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IOerror (const string &title)
 Construct from title string.
 IOerror (const dictionary &errDict)
 Construct from dictionary.
const stringioFileName () const
label ioStartLineNumber () const
label ioEndLineNumber () const
OSstreamoperator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const string &ioFileName, const label ioStartLineNumber=-1, const label ioEndLineNumber=-1)
 Convert to Ostream.
OSstreamoperator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const IOstream &)
 Convert to Ostream.
OSstreamoperator() (const char *functionName, const char *sourceFileName, const int sourceFileLineNumber, const dictionary &)
 Convert to Ostream.
 operator dictionary () const
 Create and return a dictionary.
void exit (const int errNo=1)
 Exit : can be called for any error to exit program.
void abort ()
 Abort : used to stop code for fatal errors.

Friends

Ostreamoperator<< (Ostream &, const IOerror &)

Constructor & Destructor Documentation

IOerror const string title  ) 
 

Construct from title string.

IOerror const dictionary errDict  ) 
 

Construct from dictionary.


Member Function Documentation

void abort  ) 
 

Abort : used to stop code for fatal errors.

Reimplemented from error.

void exit const int  errNo = 1  ) 
 

Exit : can be called for any error to exit program.

Reimplemented from error.

label ioEndLineNumber  )  const [inline]
 

Definition at line 215 of file error.H.

const string& ioFileName  )  const [inline]
 

Definition at line 205 of file error.H.

label ioStartLineNumber  )  const [inline]
 

Definition at line 210 of file error.H.

References Foam::label.

operator dictionary  )  const
 

Create and return a dictionary.

Reimplemented from error.

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 from messageStream.

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 from messageStream.

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 from messageStream.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const IOerror
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org