FITS helper class.
More...
#include <fits.h>
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.
..\.
x = y; y =
False; x.undefine();
if (x.isdefined())
b = x;
b = y; If y is undefined, b will be false.
bool Bool
Define the standard types used by Casacore.
Definition at line 90 of file fits.h.
◆ FitsLogical() [1/2]
casacore::FitsLogical::FitsLogical |
( |
| ) |
|
|
inline |
◆ FitsLogical() [2/2]
casacore::FitsLogical::FitsLogical |
( |
Bool |
x | ) |
|
|
inline |
◆ operator Bool()
casacore::FitsLogical::operator Bool |
( |
| ) |
const |
|
inline |
Definition at line 101 of file fits.h.
References v.
◆ operator=()
◆ undefine()
void casacore::FitsLogical::undefine |
( |
| ) |
|
|
inline |
ARO 2021-02-20: Removed the following function, because it seems incorrectly implemented and isn't used.
Bool isdefined() const { return v == '\0' ? True : False; }
Definition at line 100 of file fits.h.
References v.
◆ operator<<
ostream& operator<< |
( |
ostream & |
o, |
|
|
const FitsLogical & |
|
|
) |
| |
|
friend |
char casacore::FitsLogical::v |
|
protected |
The documentation for this class was generated from the following file: