casa
$Rev:20696$
|
This LEL class holds a scalar with a mask. More...
#include <LELScalar.h>
Public Member Functions | |
LELScalar () | |
Default constructor sets a False mask. | |
LELScalar (const T &value, Bool mask=True) | |
Constructor takes value and optional mask. | |
const T & | value () const |
Get value. | |
T & | value () |
Bool | mask () const |
Get mask. | |
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 59 of file LELScalar.h.
casa::LELScalar< T >::LELScalar | ( | ) |
Default constructor sets a False mask.
casa::LELScalar< T >::LELScalar | ( | const T & | value, |
Bool | mask = True |
||
) | [inline] |
Constructor takes value and optional mask.
Definition at line 66 of file LELScalar.h.
Bool casa::LELScalar< T >::mask | ( | ) | const [inline] |
const T& casa::LELScalar< T >::value | ( | ) | const [inline] |
T& casa::LELScalar< T >::value | ( | ) | [inline] |
Definition at line 73 of file LELScalar.h.
References casa::LELScalar< T >::itsValue.
Bool casa::LELScalar< T >::itsMask [private] |
Definition at line 83 of file LELScalar.h.
Referenced by casa::LELScalar< T >::mask().
T casa::LELScalar< T >::itsValue [private] |
Definition at line 82 of file LELScalar.h.
Referenced by casa::LELScalar< T >::value().