Base Framework
|
Validified result. More...
#include <base/ValidifiedResult.h>
Inherits AutomationObject.
Public Member Functions | |
ValidifiedResult () | |
ValidifiedResult (Unspecified) | |
ValidifiedResult (const TYPE &_value, bool _valid=true) | |
ValidifiedResult (const ValidifiedResult ©) | |
ValidifiedResult (ValidifiedResult &&move) | |
ValidifiedResult & | operator= (const ValidifiedResult &assign) |
ValidifiedResult & | operator= (ValidifiedResult &&move) |
const TYPE & | getValue () const |
const TYPE & | getValue (const TYPE &defaultValue) const noexcept |
bool | isValid () const noexcept |
bool | isInvalid () const noexcept |
FormatOutputStream & | operator<< (FormatOutputStream &stream) const |
operator const TYPE & () const | |
Validified result.
Automation object used to specify the validity of a result if the type of the result is not able to represent an invalid condition.
|
inline |
Initializes object as invalid.
|
inline |
Initializes object as invalid.
|
inline |
Initializes object as valid.
|
inline |
Initializes object by other object.
|
inline |
Initializes object by other object.
|
inline |
Returns the value. Raises InvalidException if result is invalid.
|
inlinenoexcept |
Returns the value if valid and otherwise the given defaultValue.
|
inlinenoexcept |
Returns true if the result is invalid.
|
inlinenoexcept |
Returns true if the result is valid.
|
inline |
Initializes object by other object.
|
inline |
Initializes object by other object.