|
lsst.astshim
14.0-14-g99fab3d
|
#include <FitsChan.h>
Public Member Functions | |
| FoundValue (bool found, T const &value) | |
| FoundValue () | |
| Default constructor: found false, value is default-constructed. | |
Public Attributes | |
| bool | found |
| Was the value found? | |
| T | value |
The found value; ignore if found is false. | |
A value and associated validity flag
One could use std::pair instead, but this is a bit nicer, and also easier to python-wrap for complicated types.
|
inline |
Construct a FoundValue
| [in] | found | Was the value found? |
| [in] | value | The value (must be a valid value, even if found false) |
1.8.13