|
MyVector
|
#include <myexceptions.h>
Public Member Functions | |
| OutOfRange (const long long int &i, const long long int &l) | |
| Constructor that has to be used with "throw". More... | |
| const long long int & | Index () const |
| Allows the access to the index. More... | |
| const long long int & | Interval_End () const |
| Allows the access to the array length. More... | |
Exception class in case of an invalid index i that is not in interval [0,l-1].
Definition at line 15 of file myexceptions.h.
| OutOfRange::OutOfRange | ( | const long long int & | i, |
| const long long int & | l | ||
| ) |
Constructor that has to be used with "throw".
| [in] | i | index with i < 0 or i >= l |
| [in] | l | length of data array |
Definition at line 16 of file myexceptions.cpp.
|
inline |
Allows the access to the index.
Definition at line 28 of file myexceptions.h.

|
inline |
Allows the access to the array length.
Definition at line 37 of file myexceptions.h.
