A base class for a vector that does not allow modification of the internal vector. BaseClass is the base class that implements the vector.
Definition at line 105 of file VectorBase.hpp.
#include <VectorBase.hpp>
Public Member Functions | |
ConstVectorBase () | |
Constructor. More... | |
T | operator() (size_t i) const |
returns the element at index i More... | |
T | operator[] (size_t i) const |
returns the element at index i More... | |
size_t | size () const |
Returns the size of the base class. More... | |
Protected Member Functions | |
T | constVectorRef (size_t i) const |
|
inlineexplicit |
Constructor.
Definition at line 109 of file VectorBase.hpp.
|
inlineprotected |
returns the element at index i by calling the base class's operator[]
VectorException |
Definition at line 125 of file VectorBase.hpp.
|
inline |
returns the element at index i
Definition at line 118 of file VectorBase.hpp.
|
inline |
returns the element at index i
Definition at line 115 of file VectorBase.hpp.
|
inline |
Returns the size of the base class.
Definition at line 112 of file VectorBase.hpp.