casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
casa::Result Class Reference

Convenience class for a String/bool tuple. More...

#include <TBConstants.h>

List of all members.

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.

Detailed Description

Convenience class for a String/bool tuple.

Synopsis

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.


Constructor & Destructor Documentation

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.


Member Data Documentation

Result string.

Definition at line 102 of file TBConstants.h.

Result bool.

Definition at line 105 of file TBConstants.h.


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