Teuchos_exit.h File Reference

Macros and helper functions for replacing raw calls to exit(int) in C and C++ code. More...

#include "Teuchos_ConfigDefs.hpp"
Include dependency graph for Teuchos_exit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TEUCHOS_EXIT(ERROR_CODE)   Teuchos_exit_helper( (char*)__FILE__, __LINE__, 0, ERROR_CODE )
 Macro to replace call to exit(...).
#define TEUCHOS_MSG_EXIT(MSG, ERROR_CODE)   Teuchos_exit_helper( (char*)__FILE__, __LINE__, MSG, ERROR_CODE )
 Macro to replace call to exit(...) and add a message string.

Functions

void Teuchos_exit_helper (char file[], int line, char msg[], int error_code)
 Function with C linkage that rases a C++ exception.

Detailed Description

Macros and helper functions for replacing raw calls to exit(int) in C and C++ code.

Definition in file Teuchos_exit.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:14:01 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1