LELScalar.h

Classes

LELScalar -- This LEL class holds a scalar with a mask. (full description)

template <class T> class LELScalar

Interface

Public Members
LELScalar()
LELScalar (const T& value, Bool mask=True) : itsValue (value), itsMask(mask)
const T& value() const
T& value()
Bool mask() const

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Synopsis

This LEL class holds a scalar with a mask.

Motivation

It maskes it possible to handle a scalar with its mask as a single object.

To Do

Member Description

LELScalar()

Default constructor sets a False mask.

LELScalar (const T& value, Bool mask=True) : itsValue (value), itsMask(mask)

Constructor takes value and optional mask.

const T& value() const
T& value()

Get value.

Bool mask() const

Get mask.