casa
5.7.0-16
|
This LEL class holds a scalar with a mask. More...
#include <LELInterface.h>
Public Member Functions | |
LELScalar () | |
Default constructor sets a False mask. More... | |
LELScalar (const T &value, Bool mask=True) | |
Constructor takes value and optional mask. More... | |
const T & | value () const |
Get value. More... | |
T & | value () |
Bool | mask () const |
Get mask. More... | |
Private Attributes | |
T | itsValue |
Bool | itsMask |
This LEL class holds a scalar with a mask.
Internal
This LEL class holds a scalar with a mask.
It maskes it possible to handle a scalar with its mask as a single object.
Definition at line 43 of file LELInterface.h.
casacore::LELScalar< T >::LELScalar | ( | ) |
Default constructor sets a False mask.
|
inline |
Constructor takes value and optional mask.
Definition at line 66 of file LELScalar.h.
|
inline |
|
inline |
Get value.
Definition at line 71 of file LELScalar.h.
References casacore::LELScalar< T >::itsValue.
|
inline |
Definition at line 73 of file LELScalar.h.
References casacore::LELScalar< T >::itsValue.
|
private |
Definition at line 83 of file LELScalar.h.
Referenced by casacore::LELScalar< T >::mask().
|
private |
Definition at line 82 of file LELScalar.h.
Referenced by casacore::LELScalar< T >::value().