seal::RandomAccess< T > Class Template Reference

#include <randaccess.h>

Inheritance diagram for seal::RandomAccess< T >:

seal::Array1D< T > seal::Buffer< T > seal::Vector< T > seal::Vector< seal::Vector > seal::CellArray< DataType > seal::HexByte seal::TextFile

List of all members.

Public Member Functions

virtual const T & operator[] (int index) const =0 throw (OutOfRangeException<int>)
virtual T & operator[] (int index)=0 throw (OutOfRangeException<int>)


Detailed Description

template<typename T>
class seal::RandomAccess< T >

An abstract base class which defines the iterface for classes which should provide random access to their elements.

Member Function Documentation

template<typename T>
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 > >.

template<typename 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 > >.


The documentation for this class was generated from the following file:

Generated on Sat May 16 21:35:21 2009 for SEAL by  doxygen 1.5.5