casa
$Rev:20696$
|
A class to embed optional information. More...
#include <SDMDataObject.h>
Public Member Functions | |
Optional () | |
The empty constructor. | |
Optional (Enum literal) | |
The full constructor. | |
bool | present () const |
Test of presence. | |
Enum | literal () const |
Returns the optional value. | |
Optional () | |
The empty constructor. | |
Optional (Enum literal) | |
The full constructor. | |
bool | present () const |
Test of presence. | |
Enum | literal () const |
Returns the optional value. | |
Private Attributes | |
bool | present_ |
Enum | literal_ |
A class to embed optional information.
Definition at line 192 of file SDMDataObject.h.
asdmbinaries::Optional< Enum, EnumHelper >::Optional | ( | ) | [inline] |
The empty constructor.
To be used whenever an optional value has to be declared as absent.
Definition at line 203 of file SDMDataObject.h.
asdmbinaries::Optional< Enum, EnumHelper >::Optional | ( | Enum | literal | ) | [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 214 of file SDMDataObject.h.
asdmbinaries::Optional< Enum, EnumHelper >::Optional | ( | ) | [inline] |
The empty constructor.
To be used whenever an optional value has to be declared as absent.
Definition at line 203 of file SDMDataObject.h.
asdmbinaries::Optional< Enum, EnumHelper >::Optional | ( | Enum | literal | ) | [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 214 of file SDMDataObject.h.
Enum asdmbinaries::Optional< Enum, EnumHelper >::literal | ( | ) | const [inline] |
Returns the optional value.
Definition at line 234 of file SDMDataObject.h.
Referenced by asdmbinaries::Optional< SpectralResolutionType, CSpectralResolutionType >::Optional().
Enum asdmbinaries::Optional< Enum, EnumHelper >::literal | ( | ) | const [inline] |
Returns the optional value.
Definition at line 234 of file SDMDataObject.h.
bool asdmbinaries::Optional< Enum, EnumHelper >::present | ( | ) | const [inline] |
Test of presence.
Definition at line 224 of file SDMDataObject.h.
bool asdmbinaries::Optional< Enum, EnumHelper >::present | ( | ) | const [inline] |
Test of presence.
Definition at line 224 of file SDMDataObject.h.
Enum asdmbinaries::Optional< Enum, EnumHelper >::literal_ [private] |
Definition at line 195 of file SDMDataObject.h.
Referenced by asdmbinaries::Optional< SpectralResolutionType, CSpectralResolutionType >::literal(), and asdmbinaries::Optional< SpectralResolutionType, CSpectralResolutionType >::Optional().
bool asdmbinaries::Optional< Enum, EnumHelper >::present_ [private] |
Definition at line 194 of file SDMDataObject.h.
Referenced by asdmbinaries::Optional< SpectralResolutionType, CSpectralResolutionType >::Optional(), and asdmbinaries::Optional< SpectralResolutionType, CSpectralResolutionType >::present().