|
OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
|
#include <Option.h>

Public Member Functions | |
| Option () | |
| Option (T value) | |
| Option (Option< T > const &rhs) | |
| ~Option () | |
| Option< T > & | operator= (Option< T > const &rhs) |
| Option< T > & | operator= (T const &rhs) |
| bool | isSome () const |
| bool | isNone () const |
| T | getValue () const |
| void | setValue (const T &value) |
| void | setNone () |
Private Attributes | |
| bool | some |
| T | value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

|
inline |

|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
1.8.13