Wrapper for nullable value types.
More...
#include <fcml_common.hpp>
|
| Nullable (const T &value, bool is_not_null=true) |
|
bool | isNotNull () const |
|
void | setNotNull (bool isNull) |
|
T | getValue () const |
|
T & | getValue () |
|
void | setValue (const T &value) |
|
bool | operator== (const Nullable &nullable) const |
| Checks if two nullable values are equal. More...
|
|
bool | operator!= (const Nullable &nullable) const |
| Checks if two nullable values are not equal. More...
|
|
template<typename T>
class fcml::Nullable< T >
Wrapper for nullable value types.
- Since
- 1.1.0
◆ operator!=()
Checks if two nullable values are not equal.
- Parameters
-
nullable | The source nullable value. |
- Returns
- True if they are not equal; otherwise false.
- Since
- 1.2.0
◆ operator==()
Checks if two nullable values are equal.
- Parameters
-
nullable | The source nullable value. |
- Returns
- True if they are equal; otherwise false.
- Since
- 1.2.0
The documentation for this class was generated from the following file: