30 #ifndef FITS_FITSKEYWORDUTIL_H
31 #define FITS_FITSKEYWORDUTIL_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/ArrayFwd.h>
38 class ConstFitsKeywordList;
39 class FitsKeywordList;
40 class RecordInterface;
list of read-only FITS keywords
static FitsKeywordList makeKeywordList(Bool primHead=True, Bool binImage=True)
Make an initial FitsKeywordList for either a FITS primary header or a FITS extension header (image or...
static Bool toTDIM(String &tdim, const IPosition &shape)
Convert an IPosition to a String appropriate for use as the value of a TDIMnnn keyword.
static Bool fromTDIM(IPosition &shape, const String &tdim)
Convert a TDIMnnn keyword value into an IPosition.
static void addHistory(RecordInterface &header, const String &history)
static void addComment(RecordInterface &header, const String &comment)
Add a comment/history to the supplied record.
static Bool getKeywords(RecordInterface &out, ConstFitsKeywordList &in, const Vector< String > &ignore, Bool ignoreHistory=True)
Extract keywords from in and define them in out.
static void removeKeywords(RecordInterface &out, const Vector< String > &ignore)
Remove some keywords from a record.
static Bool addKeywords(FitsKeywordList &out, const RecordInterface &in)
Add the fields from in to the out FitsKeywordList as keywords.
linked list of FITS keywords
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
bool Bool
Define the standard types used by Casacore.