Sleeping Wombat Common Library
0.50.0
swCommonLibrary
|
Returns value or error. More...
#include <Nullable.h>
Public Member Functions | |
Nullable () | |
Creates invalid object. Value fieled is default contructed. | |
Nullable (NullableInit) | |
Creates valid object. Value fieled is default contructed. | |
Nullable (std::string &&error) | |
Creates invalid object and sets error string. Value fieled is default contructed. | |
Nullable (ResultType &&result) | |
Creates valid object. | |
Nullable (const Nullable< ResultType > &other) | |
Nullable (Nullable< ResultType > &&other) | |
void | operator= (const Nullable< ResultType > &other) |
void | operator= (Nullable< ResultType > &&other) |
bool | operator! () |
Public Attributes | |
ResultType | Value |
bool | IsValid |
std::string | ErrorString |
Returns value or error.