#include <cellarray.h>
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) |
seal::Cell
objects. seal::CellArray< DataType >::CellArray | ( | unsigned int | size | ) | [inline] |
Constructor.
size | The size/length of the array. |
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.
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.
lower | The lower index of the range. | |
upper | The upper index of the range. |
seal::Cell
data in the range from lower
to upper
in the array.
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.
lower | The lower index of the range. | |
upper | The upper index of the range. |
seal::Cell
data in the range from lower
to upper
in the array.
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.