| 
    Teuchos - Trilinos Tools Package
    Version of the Day
    
   | 
 
The base Teuchos class. More...
#include <Teuchos_Object.hpp>
  
 Public Member Functions | |
Constructors/Destructor.  | |
| Object (int tracebackModeIn=-1) | |
| Default Constructor.  More... | |
| Object (const char *label, int tracebackModeIn=-1) | |
| Labeling Constructor.  More... | |
| Object (const std::string &label, int tracebackModeIn=-1) | |
| Create an Object with the given label, and optionally, with the given traceback mode.  More... | |
| virtual | ~Object () | 
| Destructor (virtual, for safety of derived classes).  More... | |
I/O method.  | |
| virtual void | print (std::ostream &os) const | 
| Print the object to the given output stream.  More... | |
Error reporting method.  | |
| virtual int | reportError (const std::string message, int errorCode) const | 
| Report an error with this Object.  More... | |
Related Functions | |
(Note that these are not member functions.)  | |
| std::ostream & | operator<< (std::ostream &os, const Teuchos::Object &obj) | 
| Print the given Object to the given output stream.  More... | |
Set methods. | |
| virtual void | setLabel (const char *theLabel) | 
| static void | setTracebackMode (int tracebackModeValue) | 
| Set the value of the Object error traceback report mode.  More... | |
Accessor methods. | |
| virtual const char * | label () const | 
| Access the object's label (LEGACY; return std::string instead).  More... | |
| static int | getTracebackMode () | 
| Get the value of the Object error traceback report mode.  More... | |
The base Teuchos class.
The Object class provides capabilities common to all Teuchos objects, such as a label that identifies an object instance, constant definitions, enum types.
Definition at line 36 of file Teuchos_Object.hpp.
| Teuchos::Object::Object | ( | int | tracebackModeIn = -1 | ) | 
Default Constructor.
Object is the primary base class in Teuchos. All Teuchos class [sic] are derived from it, directly or indirectly. This class is seldom used explictly.
Definition at line 20 of file Teuchos_Object.cpp.
| Teuchos::Object::Object | ( | const char * | label, | 
| int | tracebackModeIn = -1  | 
        ||
| ) | 
Labeling Constructor.
Creates an Object with the given label.
LEGACY; DEPRECATE.
Definition at line 25 of file Teuchos_Object.cpp.
| Teuchos::Object::Object | ( | const std::string & | label, | 
| int | tracebackModeIn = -1  | 
        ||
| ) | 
Create an Object with the given label, and optionally, with the given traceback mode.
Definition at line 31 of file Teuchos_Object.cpp.
      
  | 
  inlinevirtual | 
Destructor (virtual, for safety of derived classes).
Definition at line 65 of file Teuchos_Object.hpp.
      
  | 
  static | 
Set the value of the Object error traceback report mode.
TracebackMode controls whether or not traceback information is printed when run time integer errors are detected:
<= 0 - No information report
= 1 - Fatal (negative) values are reported
>= 2 - All values (except zero) reported.
Definition at line 41 of file Teuchos_Object.cpp.
      
  | 
  virtual | 
Access the object's label (LEGACY; return std::string instead).
Definition at line 94 of file Teuchos_Object.cpp.
      
  | 
  static | 
Get the value of the Object error traceback report mode.
Definition at line 49 of file Teuchos_Object.cpp.
      
  | 
  virtual | 
Print the object to the given output stream.
Reimplemented in Teuchos::SerialTriDiMatrix< OrdinalType, ScalarType >.
Definition at line 58 of file Teuchos_Object.cpp.
      
  | 
  virtual | 
Report an error with this Object.
Definition at line 63 of file Teuchos_Object.cpp.
      
  | 
  related | 
Print the given Object to the given output stream.
Definition at line 99 of file Teuchos_Object.cpp.
 1.8.5