#include <Utility.h>
Definition at line 64 of file Utility.h.
Public Member Functions | |
| Utility (void) | |
| ~Utility (void) | |
Static Public Member Functions | |
| void | RunTimeError (char *message) |
| void | Warning (char *message) |
| void | CheckPointer (void *p) |
|
|
Definition at line 69 of file Utility.cpp. 00070 {
00071 }
|
|
|
Definition at line 74 of file Utility.cpp. 00075 {
00076 }
|
|
|
Definition at line 95 of file Utility.cpp. Referenced by Array< T >::Array(), Matrix< T >::Matrix(), Matrix< T >::operator=(), Array< T >::operator=(), Matrix< T >::Set(), SparseMatrix< T >::SparseMatrix(), Matrix< T >::SyncData2Columns(), and Vector< T >::Vector(). 00096 {
00097 if(p == 0)
00098 {
00099 cerr << "Memory Allocation Error. May be out of memory!" << endl;
00100 cerr << "Exiting now..." << endl << endl;
00101 exit(1);
00102 }
00103 }
|
|
|
|
Definition at line 88 of file Utility.cpp. Referenced by Cleaner< T >::Cleaner(), Matrix< T >::Matrix(), Matrix< T >::operator=(), and Cleaner< T >::~Cleaner(). 00089 {
00090 cout << "Warning!" << endl;
00091 cout << message << endl << endl ;
00092 }
|