|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
70 label_ = std::string (theLabel);
75 if (tracebackModeValue < 0) {
76 tracebackModeValue = 0;
78 Object tempObject (tracebackModeValue);
85 temp = Teuchos_DefaultTracebackMode;
112 cerr << endl <<
"Error in Teuchos Object with label: " <<
label_
113 << endl <<
"Teuchos Error: " << message <<
" Error Code: "
114 << errorCode << endl;
118 cerr << endl <<
"Error in Teuchos Object with label: " <<
label_
119 << endl <<
"Teuchos Error: " << message <<
" Error Code: "
120 << errorCode << endl;
133 os << obj.
label () << std::endl;
virtual void setLabel(const char *theLabel)
virtual int reportError(const std::string message, int errorCode) const
Report an error with this Object.
std::ostream & operator<<(std::ostream &os, BigUInt< n > a)
std::string label_
The Object's current label.
Object(int tracebackModeIn=-1)
Default Constructor.
virtual const char * label() const
Access the object's label (LEGACY; return std::string instead).
static int getTracebackMode()
Get the value of the Object error traceback report mode.
static void setTracebackMode(int tracebackModeValue)
Set the value of the Object error traceback report mode.
virtual void print(std::ostream &os) const
Print the object to the given output stream.