seal::seal::MultiDimArray< DataType, 1 > Class Template Reference

#include <multiarray.h>

List of all members.

Public Member Functions

 MultiDimArray (const Coordinate< 1 > &s)
 MultiDimArray (const MultiDimArray< DataType, 1 > &a)
virtual ~MultiDimArray ()
Coordinate< 1 > size (void)
const DataType & operator[] (const int index) const throw (OutOfRangeException<int>)
DataType & operator[] (const int index) throw (OutOfRangeException<int>)
void operator= (const MultiDimArray< DataType, 1 > &a)


Detailed Description

template<typename DataType>
class seal::seal::MultiDimArray< DataType, 1 >

Specialization of the seal::MultiDimArray for 1 dimension.

Constructor & Destructor Documentation

template<typename DataType>
seal::seal::MultiDimArray< DataType, 1 >::~MultiDimArray (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename DataType>
seal::seal::MultiDimArray< DataType, 1 >::MultiDimArray ( const Coordinate< 1 > &  s  )  [inline]

Constructor.

template<typename DataType>
seal::seal::MultiDimArray< DataType, 1 >::MultiDimArray ( const MultiDimArray< DataType, 1 > &  a  )  [inline]

Copy constructor.

template<typename DataType>
Coordinate<1> seal::seal::MultiDimArray< DataType, 1 >::size ( void   )  [inline]

Returns the size of the array.

template<typename DataType>
const DataType & seal::seal::MultiDimArray< DataType, 1 >::operator[] ( const int  index  )  const throw (OutOfRangeException<int>) [inline]

Returns a constant reference to the data at the specified index. Throws an seal::OutOfRangeException if the index is beyond the range of elements of the array.

template<typename DataType>
DataType & seal::seal::MultiDimArray< DataType, 1 >::operator[] ( const int  index  )  throw (OutOfRangeException<int>) [inline]

Returns a reference to the data at the specified index. Throws an seal::OutOfRangeException if the index is beyond the range of elements of the array.

template<typename DataType>
void seal::seal::MultiDimArray< DataType, 1 >::operator= ( const MultiDimArray< DataType, 1 > &  a  )  [inline]

Assignment operator. It is only a reference copier.


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

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