#include <randaccess.h>
Public Member Functions | |
virtual const T & | operator[] (int index) const =0 throw (OutOfRangeException<int>) |
virtual T & | operator[] (int index)=0 throw (OutOfRangeException<int>) |
virtual const T& seal::RandomAccess< T >::operator[] | ( | int | index | ) | const throw (OutOfRangeException<int>) [pure virtual] |
Array indexing like random access operator. In a derived concrete class, it will throw an OutOfRangeException
if an element beyond the allowed range is accessed. Note that this function is declared as const
.
Implemented in seal::Array1D< T >, seal::Buffer< T >, seal::Coordinate< dimension >, seal::Vector< T >, seal::Array1D< seal::Cell< DataType > >, seal::Array1D< seal::QuadByte >, seal::Coordinate< 1 >, seal::Vector< seal::Vector >, and seal::Vector< seal::Array1D< T > >.
virtual T& seal::RandomAccess< T >::operator[] | ( | int | index | ) | throw (OutOfRangeException<int>) [pure virtual] |
Array indexing like random access operator. In a derived concrete class, it will throw an OutOfRangeException
if an element beyond the allowed range is accessed.
Implemented in seal::Array1D< T >, seal::Buffer< T >, seal::Coordinate< dimension >, seal::Vector< T >, seal::Array1D< seal::Cell< DataType > >, seal::Array1D< seal::QuadByte >, seal::Coordinate< 1 >, seal::Vector< seal::Vector >, and seal::Vector< seal::Array1D< T > >.