#include "CTBexceptionIndexRange.hxx"
Inheritance diagram for CTBexceptionIndexRange:
Public Methods | |
CTBexceptionIndexRange () | |
CTBexceptionIndexRange (CTBint i_index) | |
CTBexceptionIndexRange (CTBint i_index, CTBint i_limit) | |
CTBexceptionIndexRange (CTBint i_index, CTBint i_limit, const char *c_module) | |
CTBint | Index () const |
CTBint | Limit () const |
virtual void | ToStream (ostream &os) const |
Protected Attributes | |
CTBint | mi_index |
CTBint | mi_limit |
Related Functions | |
(Note that these are not member functions.) | |
void | CTBindexRangeCheck (CTBint i_ind, CTBint i_limit, const char *c_module) |
void | CTBindexRangeCheck (const CTBrange &ran, CTBint i_limit, const char *c_module) |
Definition at line 19 of file CTBexceptionIndexRange.hxx.
|
Default constructor.
Definition at line 17 of file CTBexceptionIndexRange.icc. |
|
Construct with faulty index value.
Definition at line 26 of file CTBexceptionIndexRange.icc. |
|
Construct with faulty index value and upper index limit.
Definition at line 35 of file CTBexceptionIndexRange.icc. |
|
Construct with faulty index value, upper index limit, and module name.
Definition at line 45 of file CTBexceptionIndexRange.icc. |
|
Returns faulty index value.
Definition at line 56 of file CTBexceptionIndexRange.icc. |
|
Returns index limit.
Definition at line 64 of file CTBexceptionIndexRange.icc. |
|
ostream insertion.
Reimplemented from CTBexception. Definition at line 25 of file CTBexceptionIndexRange.cxx. |
|
Check index i_ind and throw exception if beyond 0,.., i_limit.
Definition at line 40 of file CTBexceptionIndexRange.cxx. |
|
Check range ran and throw exception if beyond 0,.., i_limit.
Definition at line 53 of file CTBexceptionIndexRange.cxx. |
|
index value causing the abort.
Definition at line 35 of file CTBexceptionIndexRange.hxx. |
|
upper limit for index.
Definition at line 36 of file CTBexceptionIndexRange.hxx. |