28 #ifndef IMAGES_FITSImgParser_H
29 #define IMAGES_FITSImgParser_H
221 const Int &extversion,
const Bool &hasdata);
Bool find_qualimgs(void)
Find and store all set of extensions that can be loaded as a quality image.
A 1-D Specialization of the Array class.
String get_maskext(const Int &ext_index)
Get the mask extension name for the given data extension.
Bool get_quality_data(const String &extexpr, Int &data_HDU, Int &error_HDU, String &error_type, Int &mask_HDU, String &mask_type, Int &mask_value)
Find all necessary access information for the extensions to be loaded as a quality image...
FITSExtInfo * extensions_p
void setup(void)
Setup the object (used by constructors).
Int find_extension(const String &extname, const Int &extversion=-1)
Find an extension; return -1 if not found.
uInt get_firstdata_index(void)
Get the index of the first extension with data.
String get_extlist_string(const String &delimiter, const String &qualmarker="", const String &fitsmarker="", const Bool &listall=True)
Get a string representation of the extension list.
FITSImgParser(const String &name)
Construct a parser from the FITS file.
Bool index_is_HDUtype(const Int &ext_index, const String &hdutype)
Check whether the extension has a certain HDU type.
String get_extname(void)
Return the extension name.
Bool get_extlist(const String &extexpr, Vector< String > &extlist)
Extract the list of extensions from the extension expression.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
static const char * storeKwords_p[]
Bool operator==(const FITSExtInfo &extinfo)
Relational operator.
static const int nKwords_p
~FITSImgParser()
Destructor, does not much.
void process_extension(HeaderDataUnit *h, const uInt &extindex)
Get the information on an extension.
const Char * c_str() const
Get char array.
uInt get_numhdu(void)
Get the number of extensions.
Vector< String > qualimglist_p
Bool is_qualityimg(const String &extexpr)
Check whether the extensions named in the extension expression can be loaded as a quality image...
bool Bool
Define the standard types used by Casacore.
~FITSExtInfo()
Destructor does nothing.
Bool has_qualityimg(void)
Get the flag indicating at least one quality image.
Class for handling FITS Image extensions.
FITSExtInfo & operator=(const FITSExtInfo &other)
Assignment (reference semantics).
Int get_dataindex(const Vector< Int > &extindex)
Get the first extension with HDU type "data" from the list of indices.
Bool has_data(void)
Return whether there is data.
Bool confirm_fix_keywords(const Int &ext_index)
Check the keywords with fixed values.
linked list of FITS keywords
String get_extexpr(void)
All extension information as a string.
String get_errorext(const Int &ext_index)
Get the error extension name for the given data extension.
String: the storage and methods of handling collections of characters.
Int get_extversion(void)
Return the extension version.
Int get_index(const FITSExtInfo &extinfo)
Identify the index of an extension.
String fitsname(Bool stripPath=False) const
Returns the name of the disk file.
FITSExtInfo()
Construct the object.
FITSImgParser & operator=(const FITSImgParser &other)
Assignment (reference semantics).
void add_kwlist(FitsKeywordList &kwlist)
Add a list of keywords.
FitsKeyword * get_keyword(const String kname)
Return a keyword.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.