casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
casa::Result Class Reference

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

#include <TBConstants.h>

Public Member Functions

 Result (casacore::String r="", bool v=true)
 Construct a Result with the given values. More...
 
 ~Result ()
 

Public Attributes

casacore::String result
 Result string. More...
 
bool valid
 Result bool. More...
 

Detailed Description

Convenience class for a casacore::String/bool tuple.

Synopsis

Result is nothing more than a casacore::String/bool pair. Semantically, it can be used to return the result of an operation: the casacore::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.

Constructor & Destructor Documentation

casa::Result::Result ( casacore::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.

Member Data Documentation

casacore::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.


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