#include <Rangedimexc.hh>
Inheritance diagram for RazorBack::Dimexc_:
Public Methods | |
Dimexc_ (const char *Thnm, unsigned int D1, unsigned int D2, bool F=false) | |
Constructs a dimension mismatch exception thrown by a function Thnm. More... | |
unsigned int | bad_dim (int i) const |
bad_dim(): i<=1 returns Dim1, i>=2 returns Dim2. | |
Protected Attributes | |
unsigned int | Dim1 |
unsigned int | Dim2 |
mismatched dimensions. | |
Private Methods | |
Dimexc_ () |
Stores the two dimensions which should have been equal. Both of them must be specified (no empty default ctor). Usage: throw Dimexc_("wrong_function", Dim1, Dim2).
Definition at line 143 of file Rangedimexc.hh.
|
Constructs a dimension mismatch exception thrown by a function Thnm. D1, D2 are the mismatched dimensions, F is the fatality indicator. |
|
|
|
bad_dim(): i<=1 returns Dim1, i>=2 returns Dim2.
Definition at line 160 of file Rangedimexc.hh. |
|
Definition at line 148 of file Rangedimexc.hh. |
|
mismatched dimensions.
Definition at line 148 of file Rangedimexc.hh. |