casa
5.7.0-16
|
A class to embed optional information. More...
#include <SDMDataObject.h>
Public Member Functions | |
Optional () | |
The empty constructor. More... | |
Optional (Enum literal) | |
The full constructor. More... | |
bool | present () const |
Test of presence. More... | |
Enum | literal () const |
Returns the optional value. More... | |
Private Attributes | |
bool | present_ |
Enum | literal_ |
A class to embed optional information.
Definition at line 171 of file SDMDataObject.h.
|
inline |
The empty constructor.
To be used whenever an optional value has to be declared as absent.
Definition at line 182 of file SDMDataObject.h.
|
inline |
The full constructor.
To be used whenever an optional value has to be declared as present.
literal | the value of type Enum to embed in the Optional class. |
Definition at line 193 of file SDMDataObject.h.
|
inline |
Returns the optional value.
Definition at line 213 of file SDMDataObject.h.
Referenced by asdmbinaries::Optional< SpectralResolutionTypeMod::SpectralResolutionType, CSpectralResolutionType >::Optional().
|
inline |
Test of presence.
Definition at line 203 of file SDMDataObject.h.
|
private |
|
private |