30 #ifndef FITS_FITSKEYWORDUTIL_H
31 #define FITS_FITSKEYWORDUTIL_H
38 class ConstFitsKeywordList;
39 class FitsKeywordList;
40 class RecordInterface;
A Vector of integers, for indexing into Array<T> objects.
static void addHistory(RecordInterface &header, const String &history)
A 1-D Specialization of the Array class.
static Bool addKeywords(FitsKeywordList &out, const RecordInterface &in)
Add the fields from in to the out FitsKeywordList as keywords.
A class with static functions to help deal with FITS Keywords.
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 addComment(RecordInterface &header, const String &comment)
Add a comment/history to the supplied record.
static Bool fromTDIM(IPosition &shape, const String &tdim)
Convert a TDIMnnn keyword value into an IPosition.
bool Bool
Define the standard types used by Casacore.
list of read-only FITS keywords
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
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 void removeKeywords(RecordInterface &out, const Vector< String > &ignore)
Remove some keywords from a record.
linked list of FITS keywords
String: the storage and methods of handling collections of characters.
static Bool toTDIM(String &tdim, const IPosition &shape)
Convert an IPosition to a String appropriate for use as the value of a TDIMnnn keyword.
Abstract base class for Record classes.