seal::CellArray< DataType > Class Template Reference

#include <cellarray.h>

Inheritance diagram for seal::CellArray< DataType >:

seal::Array1D< T > seal::Collection< T > seal::RandomAccess< T >

List of all members.

Public Member Functions

 CellArray (unsigned int size)
 CellArray (const CellArray< DataType > &a)
CellArray< DataType > operator() (int lower, int upper) throw (OutOfRangeException<int>)
const CellArray< DataType > operator() (int lower, int upper) const throw (OutOfRangeException<int>)
CellArray< DataType > operator, (const CellArray< DataType > &a)


Detailed Description

template<typename DataType>
class seal::CellArray< DataType >

This class encapsulates an array of seal::Cell objects.

Constructor & Destructor Documentation

template<typename DataType>
seal::CellArray< DataType >::CellArray ( unsigned int  size  )  [inline]

Constructor.

Parameters:
size The size/length of the array.

template<typename DataType>
seal::CellArray< DataType >::CellArray ( const CellArray< DataType > &  a  )  [inline]

Copy constrcutor. The new and old array objects will hold references to the same seal::Cell objects.


Member Function Documentation

template<typename DataType>
CellArray< DataType > seal::CellArray< DataType >::operator() ( int  lower,
int  upper 
) throw (OutOfRangeException<int>) [inline]

Overloaded operator which returns an array which holds references to the seal::Cell data in a part of the array specified by the range arguments to the function.

Parameters:
lower The lower index of the range.
upper The upper index of the range.
The returned array contains references to seal::Cell data in the range from lower to upper in the array.

template<typename DataType>
const CellArray< DataType > seal::CellArray< DataType >::operator() ( int  lower,
int  upper 
) const throw (OutOfRangeException<int>) [inline]

Overloaded operator which returns a constant array which holds references to the seal::Cell data in a part of the array specified by the range arguments to the function.

Parameters:
lower The lower index of the range.
upper The upper index of the range.
The returned array contains references to seal::Cell data in the range from lower to upper in the array.

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

Concatenation operator. It concatenates two CellArray objects into one. The returned array will have the same data values as the left and the right operands to the operator,. The new array holds new seal::Cell objects and not references to the cell data of the original array.


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