OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Static Public Attributes | List of all members
IndexException Class Reference

#include <newmat.h>

Inheritance diagram for IndexException:
Logic_error BaseException

Public Member Functions

 IndexException (int i, const GeneralMatrix &A)
 
 IndexException (int i, int j, const GeneralMatrix &A)
 
 IndexException (int i, const GeneralMatrix &A, bool)
 
 IndexException (int i, int j, const GeneralMatrix &A, bool)
 
- Public Member Functions inherited from Logic_error
 Logic_error (const char *a_what=0)
 
- Public Member Functions inherited from BaseException
 BaseException (const char *a_what=0)
 

Static Public Attributes

static unsigned long Select
 
- Static Public Attributes inherited from Logic_error
static unsigned long Select
 
- Static Public Attributes inherited from BaseException
static unsigned long Select
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseException
static void AddMessage (const char *a_what)
 
static void AddInt (int value)
 
static const char * what ()
 
- Static Protected Attributes inherited from BaseException
static char * what_error
 
static int SoFar
 
static int LastOne
 

Detailed Description

Definition at line 1655 of file newmat.h.

Constructor & Destructor Documentation

◆ IndexException() [1/4]

IndexException::IndexException ( int  i,
const GeneralMatrix A 
)

Definition at line 216 of file newmatex.cpp.

References BaseException::AddInt(), BaseException::AddMessage(), BaseException::Select, and Select.

217  : Logic_error()
218 {
220  AddMessage("detected by Newmat: index error: requested index = ");
221  AddInt(i); AddMessage("\n\n");
222  MatrixDetails(A);
224 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static unsigned long Select
Definition: newmat.h:1658
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static void AddInt(int value)
Definition: myexcept.cpp:82
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ IndexException() [2/4]

IndexException::IndexException ( int  i,
int  j,
const GeneralMatrix A 
)

Definition at line 226 of file newmatex.cpp.

References BaseException::AddInt(), BaseException::AddMessage(), BaseException::Select, and Select.

227  : Logic_error()
228 {
230  AddMessage("detected by Newmat: index error: requested indices = ");
231  AddInt(i); AddMessage(", "); AddInt(j);
232  AddMessage("\n\n");
233  MatrixDetails(A);
235 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static unsigned long Select
Definition: newmat.h:1658
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static void AddInt(int value)
Definition: myexcept.cpp:82
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ IndexException() [3/4]

IndexException::IndexException ( int  i,
const GeneralMatrix A,
bool   
)

Definition at line 238 of file newmatex.cpp.

References BaseException::AddInt(), BaseException::AddMessage(), BaseException::Select, and Select.

239  : Logic_error()
240 {
242  AddMessage("detected by Newmat: element error: requested index (wrt 0) = ");
243  AddInt(i);
244  AddMessage("\n\n");
245  MatrixDetails(A);
247 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static unsigned long Select
Definition: newmat.h:1658
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static void AddInt(int value)
Definition: myexcept.cpp:82
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

◆ IndexException() [4/4]

IndexException::IndexException ( int  i,
int  j,
const GeneralMatrix A,
bool   
)

Definition at line 249 of file newmatex.cpp.

References BaseException::AddInt(), BaseException::AddMessage(), BaseException::Select, and Select.

250  : Logic_error()
251 {
253  AddMessage(
254  "detected by Newmat: element error: requested indices (wrt 0) = ");
255  AddInt(i); AddMessage(", "); AddInt(j);
256  AddMessage("\n\n");
257  MatrixDetails(A);
259 }
static void AddMessage(const char *a_what)
Definition: myexcept.cpp:67
static unsigned long Select
Definition: newmat.h:1658
#define A(r, c)
static void AddTrace()
Definition: myexcept.cpp:110
static void AddInt(int value)
Definition: myexcept.cpp:82
static unsigned long Select
Definition: myexcept.h:79
Logic_error(const char *a_what=0)
Definition: myexcept.cpp:391

Member Data Documentation

◆ Select

unsigned long IndexException::Select
static

Definition at line 1658 of file newmat.h.

Referenced by IndexException().


The documentation for this class was generated from the following files: