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 93 of file TBConstants.h.
| casa::Result::Result | ( | String | r = "", |
|
| bool | v = true | |||
| ) | [inline] |
Construct a Result with the given values.
Definition at line 96 of file TBConstants.h.
| casa::Result::~Result | ( | ) | [inline] |
Definition at line 98 of file TBConstants.h.
| String casa::Result::result |
Result string.
Definition at line 101 of file TBConstants.h.
| bool casa::Result::valid |
Result bool.
Definition at line 104 of file TBConstants.h.
1.6.1