![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
An optional value. More...
#include <TestUtils/Option.hpp>
Public Member Functions | |
Option (T value) | |
Option () | |
bool | hasValue () const |
void | set (T value) |
void | clear () |
T | get () const |
T | getOrElse (T value) const |
Static Public Member Functions | |
static Option< T > | some (T value) |
static constexpr Option< T > | none () |
An optional value.
Definition at line 20 of file Option.hpp.
|
inlineexplicit |
Definition at line 25 of file Option.hpp.
|
inline |
Definition at line 26 of file Option.hpp.
|
inline |
Definition at line 38 of file Option.hpp.
|
inline |
Definition at line 39 of file Option.hpp.
|
inline |
Definition at line 43 of file Option.hpp.
|
inline |
Definition at line 33 of file Option.hpp.
|
inlinestaticconstexpr |
Definition at line 30 of file Option.hpp.
|
inline |
Definition at line 34 of file Option.hpp.
|
inlinestatic |
Definition at line 29 of file Option.hpp.