9 #ifndef KEYWORDCREATOR_H
10 #define KEYWORDCREATOR_H 1
15 #include "FitsError.h"
31 KeywordCreator (HDU* p);
32 virtual ~KeywordCreator();
34 virtual Keyword* MakeKeyword (
const String& keyName,
const String& comment = String(
""),
bool isLongStr =
false) = 0;
35 static Keyword* getKeyword (
const String& keyName, HDU* p);
37 virtual void reset ();
38 virtual Keyword* createKeyword (
const String& keyName,
const String& comment = String(
""),
bool isLongStr =
false);
41 static Keyword* getKeyword (
const String& keyName,
ValueType keyType, HDU* p);
42 static Keyword* getKeyword (
int keyNumber, HDU* p);
47 static Keyword* getKeywordFromCard(
char* card, HDU* p,
const String& keyName=
string(
""));
57 KeywordCreator(
const KeywordCreator &right);
58 KeywordCreator & operator=(
const KeywordCreator &right);
60 static Keyword* parseRecord (
const String& name,
const String& valueString,
const String& comment, HDU* hdu,
bool isLongStr =
false);
61 static bool isContinued (
const String& value);
62 static void getLongValueString (HDU* p,
const String& keyName, String& value, String& comment);
79 inline void KeywordCreator::reset ()
85 inline HDU* KeywordCreator::forHDU ()
Namespace enclosing all CCfits classes and globals definitions.
Definition: AsciiTable.cxx:26
ValueType
CCfits value types and their CFITSIO equivalents (in caps)
Definition: CCfits.h:81