#include <RangedVector.h>
Inheritance diagram for Sct::RangedVector< T >:
Public Member Functions | |||
RangedVector (string name) | |||
Constructor the name of the vector. | |||
T & | operator[] (const unsigned i) | ||
over-write vector operator[]
| |||
const T & | operator[] (const unsigned i) const | ||
over-write vector operator[] l-value
| |||
RangedVector< T > & | operator= (const vector< T > ©me) | ||
asignment | |||
Protected Member Functions | |||
RangedVector () throw () | |||
not allowed to do this | |||
OutOfRangeError< int > | createException (unsigned int i) const | ||
creates the message text | |||
Protected Attributes | |||
string | name | ||
the name of the vector is used in the error message |
LogicError | if array bounds are violated. |
Definition at line 21 of file RangedVector.h.
|
Constructor the name of the vector.
Definition at line 24 of file RangedVector.h. |
|
not allowed to do this
|
|
creates the message text
Definition at line 44 of file RangedVector.h. References Sct::RangedVector< T >::name. Referenced by Sct::RangedVector< T >::operator[](). |
|
asignment
Definition at line 71 of file RangedVector.h. |
|
over-write vector operator[] l-value
Definition at line 61 of file RangedVector.h. References Sct::RangedVector< T >::createException(). |
Here is the call graph for this function:
|
over-write vector operator[]
Definition at line 51 of file RangedVector.h. References Sct::RangedVector< T >::createException(). |
Here is the call graph for this function:
|
the name of the vector is used in the error message
Definition at line 40 of file RangedVector.h. Referenced by Sct::RangedVector< T >::createException(). |