casacore
|
#include <LELArray.h>
Public Member Functions | |
LELArray (const Array< T > &value) | |
Constructor takes value. More... | |
LELArray (const Array< T > &value, const Array< Bool > &mask) | |
Constructor takes value and mask. More... | |
LELArray (const IPosition &shape) | |
Constructor takes shape. More... | |
LELArray (const LELArray< T > &other) | |
Copy constructor (reference semantics). More... | |
~LELArray () | |
LELArray< T > & | operator= (const LELArray< T > &other) |
Assignment (reference semantics). More... | |
const IPosition & | shape () const |
Get shape (of the value). More... | |
const Array< T > & | value () const |
Get value. More... | |
Array< T > & | value () |
Private Attributes | |
Array< T > | itsValue |
This LEL class holds an array with a mask.
Internal
This LEL class holds an array with a mask. The mask can be a single Bool valid for all elements of the array. Otherwise it is a full mask with the same shape as the array.
It makes it possible to handle an array with its mask as a single object.
Definition at line 62 of file LELArray.h.
|
inline |
|
inline |
Constructor takes value and mask.
Definition at line 71 of file LELArray.h.
casacore::LELArray< T >::LELArray | ( | const IPosition & | shape | ) |
Constructor takes shape.
Its mask is set to all True.
casacore::LELArray< T >::LELArray | ( | const LELArray< T > & | other | ) |
Copy constructor (reference semantics).
casacore::LELArray< T >::~LELArray | ( | ) |
LELArray<T>& casacore::LELArray< T >::operator= | ( | const LELArray< T > & | other | ) |
Assignment (reference semantics).
|
inline |
Get shape (of the value).
Definition at line 87 of file LELArray.h.
|
inline |
Definition at line 94 of file LELArray.h.
|
inline |
Get value.
Definition at line 92 of file LELArray.h.
Referenced by casacore::LELArrayRef< T >::value().
|
private |
Definition at line 99 of file LELArray.h.
Referenced by casacore::LELArray< Bool >::shape(), and casacore::LELArray< Bool >::value().