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

FITS helper class. More...

#include <fits.h>

List of all members.

Public Member Functions

 FitsLogical ()
 FitsLogical (Bool x)
 FitsLogical (const FitsLogical &x)
FitsLogicaloperator= (const FitsLogical &x)
FitsLogicaloperator= (Bool x)
Bool isdefined () const
void undefine ()
 operator Bool ()

Protected Attributes

char v

Friends

ostream & operator<< (ostream &o, const FitsLogical &)

Detailed Description

FITS helper class.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Synopsis

FitsLogical is a helper class that is not intended for general use.

Example

Here is an example of the FitsLogical class.

        FitsLogical x;
        FitsLogical y(True);
        FitsLogical z = x;
        ..\.
        x = y; y = False; x.undefine();
        Bool b;
        if (x.isdefined())
                b = x;
        b = y;  If y is undefined, b will be false.

Definition at line 94 of file fits.h.


Constructor & Destructor Documentation

Definition at line 97 of file fits.h.

Definition at line 98 of file fits.h.

References casa::True, and v.

Definition at line 99 of file fits.h.


Member Function Documentation

Bool casa::FitsLogical::isdefined ( ) const [inline]

Definition at line 104 of file fits.h.

References casa::False, casa::True, and v.

casa::FitsLogical::operator Bool ( ) [inline]

Definition at line 106 of file fits.h.

References casa::False, casa::True, and v.

FitsLogical& casa::FitsLogical::operator= ( const FitsLogical x) [inline]

Definition at line 100 of file fits.h.

References v.

FitsLogical& casa::FitsLogical::operator= ( Bool  x) [inline]

Definition at line 102 of file fits.h.

References casa::True, and v.

void casa::FitsLogical::undefine ( ) [inline]

Definition at line 105 of file fits.h.

References v.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  o,
const FitsLogical  
) [friend]

Member Data Documentation

char casa::FitsLogical::v [protected]

Definition at line 108 of file fits.h.

Referenced by FitsLogical(), isdefined(), operator Bool(), operator=(), and undefine().


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