Epetra Package Browser (Single Doxygen Collection)
Development
|
Epetra_Object: The base Epetra class. More...
#include <Epetra_Object.h>
Static Public Attributes | |
static int | TracebackMode |
Protected Member Functions | |
std::string | toString (const int &x) const |
std::string | toString (const long long &x) const |
std::string | toString (const double &x) const |
Private Member Functions | |
Epetra_Object & | operator= (const Epetra_Object &src) |
Private Attributes | |
char * | Label_ |
Constructors/destructor | |
Epetra_Object (int TracebackModeIn=-1, bool set_label=true) | |
Epetra_Object Constructor. More... | |
Epetra_Object (const char *const Label, int TracebackModeIn=-1) | |
Epetra_Object Constructor. More... | |
Epetra_Object (const Epetra_Object &Object) | |
Epetra_Object Copy Constructor. More... | |
virtual | ~Epetra_Object () |
Epetra_Object Destructor. More... | |
Attribute set/get methods | |
virtual void | SetLabel (const char *const Label) |
Epetra_Object Label definition using char *. More... | |
virtual const char * | Label () const |
Epetra_Object Label access funtion. More... | |
static void | SetTracebackMode (int TracebackModeValue) |
Set the value of the Epetra_Object error traceback report mode. More... | |
static int | GetTracebackMode () |
Get the value of the Epetra_Object error report mode. More... | |
static std::ostream & | GetTracebackStream () |
Get the output stream for error reporting. More... | |
Miscellaneous | |
virtual void | Print (std::ostream &os) const |
Print object to an output stream Print method. More... | |
virtual int | ReportError (const std::string Message, int ErrorCode) const |
Error reporting method. More... | |
Epetra_Object: The base Epetra class.
The Epetra_Object class provides capabilities common to all Epetra objects, such as a label that identifies an object instance, constant definitions, enum types.
Definition at line 57 of file Epetra_Object.h.
Epetra_Object::Epetra_Object | ( | int | TracebackModeIn = -1 , |
bool | set_label = true |
||
) |
Epetra_Object Constructor.
Epetra_Object is the primary base class in Epetra. All Epetra class are derived from it, directly or indirectly. This class is seldom used explictly.
Definition at line 50 of file Epetra_Object.cpp.
Epetra_Object::Epetra_Object | ( | const char *const | Label, |
int | TracebackModeIn = -1 |
||
) |
Epetra_Object Constructor.
Creates a Epetra_Object with the given label.
Definition at line 60 of file Epetra_Object.cpp.
Epetra_Object::Epetra_Object | ( | const Epetra_Object & | Object | ) |
Epetra_Object Copy Constructor.
Makes an exact copy of an existing Epetra_Object instance.
Definition at line 68 of file Epetra_Object.cpp.
|
virtual |
Epetra_Object Destructor.
Completely deletes a Epetra_Object object.
Definition at line 122 of file Epetra_Object.cpp.
|
virtual |
Epetra_Object Label definition using char *.
Defines the label used to describe the this object.
Definition at line 134 of file Epetra_Object.cpp.
|
virtual |
Epetra_Object Label access funtion.
Returns the string used to define this object.
Reimplemented in Epetra_CrsMatrix, Epetra_VbrMatrix, Epetra_SerialDenseMatrix, Epetra_BasicRowMatrix, and Epetra_SerialDenseSVD.
Definition at line 130 of file Epetra_Object.cpp.
|
static |
Set the value of the Epetra_Object error traceback report mode.
Sets the integer error traceback behavior. 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.
Default is set to 1.
Definition at line 77 of file Epetra_Object.cpp.
|
static |
Get the value of the Epetra_Object error report mode.
Definition at line 82 of file Epetra_Object.cpp.
|
static |
Get the output stream for error reporting.
Definition at line 88 of file Epetra_Object.cpp.
|
virtual |
Print object to an output stream Print method.
Reimplemented in Epetra_CrsMatrix, Epetra_VbrMatrix, Epetra_CrsGraph, Epetra_MultiVector, Epetra_BlockMap, Epetra_IntMultiVector, Epetra_MpiComm, Epetra_MpiSmpComm, Epetra_SerialComm, Epetra_BasicRowMatrix, Epetra_SerialDenseMatrix, Epetra_SerialDenseSVD, Epetra_SerialDenseSolver, Epetra_LongLongSerialDenseMatrix, Epetra_IntSerialDenseMatrix, Epetra_Import, Epetra_MpiDistributor, Epetra_Export, Epetra_SerialDenseVector, Epetra_IntVector, Epetra_LongLongVector, Epetra_MapColoring, Epetra_LongLongSerialDenseVector, Epetra_IntSerialDenseVector, Epetra_DistObject, Epetra_SerialDistributor, and Epetra_OffsetIndex.
Definition at line 97 of file Epetra_Object.cpp.
|
virtual |
Error reporting method.
Definition at line 103 of file Epetra_Object.cpp.
|
inlineprotected |
Definition at line 145 of file Epetra_Object.h.
|
inlineprotected |
Definition at line 150 of file Epetra_Object.h.
|
inlineprotected |
Definition at line 156 of file Epetra_Object.h.
|
inlineprivate |
Definition at line 164 of file Epetra_Object.h.
|
static |
Definition at line 141 of file Epetra_Object.h.
|
private |
Definition at line 169 of file Epetra_Object.h.