10 #define NEWKEYWORD_H 1 
   13 #include "KeywordCreator.h" 
   25   class NewKeyword : 
public KeywordCreator  
 
   30         NewKeyword (HDU* p, T value);
 
   31         virtual ~NewKeyword();
 
   34         virtual Keyword* MakeKeyword (
const String& keyName, 
const String& keyComment = String(
""), 
bool isLongStr = 
false);
 
   35         const T keyData () 
const;
 
   36         void keyData (T value);
 
   46         NewKeyword(
const NewKeyword< T > &right);
 
   47         NewKeyword< T > & operator=(
const NewKeyword< T > &right);
 
   62   inline const T NewKeyword<T>::keyData ()
 const 
   68   inline void NewKeyword<T>::keyData (T value)
 
   76   NewKeyword<T>::NewKeyword (HDU* p, T value)
 
   77       : KeywordCreator(p), m_keyData(value)
 
   83   NewKeyword<T>::~NewKeyword()
 
   89   Keyword* NewKeyword<T>::MakeKeyword (
const String& keyName, 
const String& keyComment, 
bool isLongStr)
 
   91   FITSUtil::MatchType<T> keyType;
 
   92   return new KeyData<T>(keyName,keyType(),m_keyData,forHDU(),keyComment,isLongStr);