|
casacore
|
class FitsKeywordList; More...
#include <FITSImgParser.h>
Public Member Functions | |
| FITSExtInfo (const String &name, const uInt &extindex, const String &extname, const Int &extversion, const Bool &hasdata) | |
| Construct the object. | |
| FITSExtInfo () | |
| Construct the object. | |
| FITSExtInfo (const FITSExtInfo &other) | |
| Copy constructor (reference semantics) | |
| ~FITSExtInfo () | |
| Destructor does nothing. | |
| FITSExtInfo & | operator= (const FITSExtInfo &other) |
| Assignment (reference semantics). | |
| Bool | operator== (const FITSExtInfo &extinfo) |
| Relational operator. | |
| String | get_extexpr (void) |
| All extension information as a string. | |
| String | get_extname (void) |
| Return the extension name. | |
| Int | get_extversion (void) |
| Return the extension version. | |
| Bool | has_data (void) |
| Return whether there is data. | |
| void | add_kwlist (FitsKeywordList &kwlist) |
| Add a list of keywords. | |
| FitsKeyword * | get_keyword (const String kname) |
| Return a keyword. | |
Private Attributes | |
| String | name_p |
| uInt | extindex_p |
| String | extname_p |
| Int | extversion_p |
| Bool | hasdata_p |
| FitsKeywordList | kwlist_p |
class FitsKeywordList;
Class for storing FITS Image extension information
Public interface
The class stores the essential information on a FITS image extension.
The class stores the essential information on a FITS image extension, which is the FITS file name, the extension name, the extension version, the index within the FITS file.
Helper class for accessing multi-extension FITS files.
Definition at line 214 of file FITSImgParser.h.
| casacore::FITSExtInfo::FITSExtInfo | ( | const String & | name, |
| const uInt & | extindex, | ||
| const String & | extname, | ||
| const Int & | extversion, | ||
| const Bool & | hasdata | ||
| ) |
Construct the object.
|
inline |
Construct the object.
Definition at line 222 of file FITSImgParser.h.
References casacore::False, and FITSExtInfo().
Referenced by FITSExtInfo().
| casacore::FITSExtInfo::FITSExtInfo | ( | const FITSExtInfo & | other | ) |
Copy constructor (reference semantics)
| casacore::FITSExtInfo::~FITSExtInfo | ( | ) |
Destructor does nothing.
| void casacore::FITSExtInfo::add_kwlist | ( | FitsKeywordList & | kwlist | ) |
Add a list of keywords.
| String casacore::FITSExtInfo::get_extexpr | ( | void | ) |
All extension information as a string.
|
inline |
|
inline |
Return the extension version.
Definition at line 246 of file FITSImgParser.h.
References extversion_p.
|
inline |
Return a keyword.
Definition at line 255 of file FITSImgParser.h.
References casacore::String::c_str(), and kwlist_p.
|
inline |
| FITSExtInfo & casacore::FITSExtInfo::operator= | ( | const FITSExtInfo & | other | ) |
Assignment (reference semantics).
| Bool casacore::FITSExtInfo::operator== | ( | const FITSExtInfo & | extinfo | ) |
Relational operator.
|
private |
Definition at line 259 of file FITSImgParser.h.
|
private |
Definition at line 260 of file FITSImgParser.h.
Referenced by get_extname().
|
private |
Definition at line 261 of file FITSImgParser.h.
Referenced by get_extversion().
|
private |
Definition at line 262 of file FITSImgParser.h.
Referenced by has_data().
|
private |
Definition at line 263 of file FITSImgParser.h.
Referenced by get_keyword().
|
private |
Definition at line 258 of file FITSImgParser.h.