casa
$Rev:20696$
|
Convenience class for a String/bool tuple. More...
#include <TBConstants.h>
Public Member Functions | |
Result (String r="", bool v=true) | |
Construct a Result with the given values. | |
~Result () | |
Public Attributes | |
String | result |
Result string. | |
bool | valid |
Result bool. |
Convenience class for a String/bool tuple.
Result is nothing more than a String/bool pair. Semantically, it can be used to return the result of an operation: the String is the value and the bool indicates whether that value is valid or the operation was successful.
Definition at line 94 of file TBConstants.h.
casa::Result::Result | ( | String | r = "" , |
bool | v = true |
||
) | [inline] |
Construct a Result with the given values.
Definition at line 97 of file TBConstants.h.
casa::Result::~Result | ( | ) | [inline] |
Definition at line 99 of file TBConstants.h.
Result string.
Definition at line 102 of file TBConstants.h.
bool casa::Result::valid |
Result bool.
Definition at line 105 of file TBConstants.h.