Epetra Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions
Epetra_Object.h File Reference
#include "Epetra_CombineMode.h"
#include "Epetra_DataAccess.h"
#include "Epetra_ConfigDefs.h"
Include dependency graph for Epetra_Object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Epetra_Object
 Epetra_Object: The base Epetra class. More...
 

Macros

#define EPETRA_TEST_FOR_EXCEPTION(throw_exception_test, errCode, msg)
 Macro for testing for and throwing and int exception for objects derived from Epetra_Object. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Epetra_Object &obj)
 

Macro Definition Documentation

#define EPETRA_TEST_FOR_EXCEPTION (   throw_exception_test,
  errCode,
  msg 
)
Value:
{ \
const bool throw_exception = (throw_exception_test); \
if(throw_exception) { \
std::ostringstream omsg; \
omsg \
<< __FILE__ << ":" << __LINE__ << ":" \
<< " Throw test that evaluated to true: "#throw_exception_test << ":" \
<< "Error message : " << msg; \
throw ReportError(omsg.str(),errCode); \
} \
}

Macro for testing for and throwing and int exception for objects derived from Epetra_Object.

This macro adds the file name and line number to teh

Definition at line 209 of file Epetra_Object.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Epetra_Object obj 
)
inline

Definition at line 181 of file Epetra_Object.h.