Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Public Attributes | List of all members
Nullable< ResultType > Struct Template Reference

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
 

Detailed Description

template<typename ResultType>
struct Nullable< ResultType >

Returns value or error.


The documentation for this struct was generated from the following file: