53 tracebackMode = (tracebackModeIn != -1) ? tracebackModeIn : tracebackMode;
59 tracebackMode = (tracebackModeIn != -1) ? tracebackModeIn : tracebackMode;
67 int Object::tracebackMode(-1);
71 if (tracebackModeValue < 0)
72 tracebackModeValue = 0;
73 Object tempObject(tracebackModeValue);
78 int temp = Object::tracebackMode;
80 temp = Teuchos_DefaultTracebackMode;
106 label_ =
new char[std::strlen(label_in) + 1];
107 std::strcpy(label_, label_in);
virtual void print(std::ostream &os) const
Print method for placing the object in an output stream.
virtual char * label() const
Access the object label.
Object(int tracebackModeIn=-1)
Default Constructor.
virtual ~Object()
Destructor.
static int getTracebackMode()
Get the value of the Object error traceback report mode.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
static void setTracebackMode(int tracebackModeValue)
Set the value of the Object error traceback report mode.
virtual void setLabel(const char *label)
Define object label using a character std::string.