45 #ifdef HAVE_EPETRA_TEUCHOS
78 if (TracebackModeValue < 0) TracebackModeValue = 0;
89 #ifdef HAVE_EPETRA_TEUCHOS
90 return (*Teuchos::VerboseObjectBase::getDefaultOStream());
104 #ifndef EPETRA_NO_ERROR_REPORTS
115 << std::endl <<
"Error in Epetra Object with label: " <<
Label_ << std::endl
116 <<
"Epetra Error: " << Message.c_str() <<
" Error Code: " << ErrorCode << std::endl;
140 if (Label_in==0)
return;
141 Label_ =
new char[std::strlen(Label_in)+1];
142 std::strcpy(
Label_,Label_in);
virtual void Print(std::ostream &os) const
Print object to an output stream Print method.
virtual void SetLabel(const char *const Label)
Epetra_Object Label definition using char *.
static void SetTracebackMode(int TracebackModeValue)
Set the value of the Epetra_Object error traceback report mode.
virtual const char * Label() const
Epetra_Object Label access funtion.
Epetra_Object: The base Epetra class.
Epetra_Object(int TracebackModeIn=-1, bool set_label=true)
Epetra_Object Constructor.
static int GetTracebackMode()
Get the value of the Epetra_Object error report mode.
virtual ~Epetra_Object()
Epetra_Object Destructor.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
static std::ostream & GetTracebackStream()
Get the output stream for error reporting.
const int DefaultTracebackMode