18 #include "FitsError.h" 
  208             WrongKeywordValueType (
const String& diag, 
bool silent = 
true);
 
  220         virtual std::ostream & put (std::ostream &s) 
const = 0;
 
  222         virtual void write ();
 
  231         const String& 
comment () 
const;
 
  232         const String& 
name () 
const;
 
  233         bool isLongStr () 
const;
 
  237       template <
typename T>
 
  238       T& 
value(T& val) 
const;
 
  240       template <
typename T>
 
  244         Keyword (
const String &keyname,
 
  247                  const String &comment = 
"",
 
  248                  bool isLongStr = 
false);
 
  250         virtual void copy (
const Keyword& right);
 
  251         virtual bool compare (
const Keyword &right) 
const;
 
  271       friend std::ostream &operator << (std::ostream &s, 
const Keyword &right);
 
  273 #ifndef SPEC_TEMPLATE_IMP_DEFECT 
  274 #ifndef SPEC_TEMPLATE_DECL_DEFECT 
  295   inline void Keyword::setParent (HDU* parent)
 
  325   inline bool Keyword::isLongStr ()
 const 
ValueType keytype() const 
return the type of a keyword 
Definition: Keyword.h:300
virtual ~Keyword()
virtual destructor 
Definition: Keyword.cxx:55
const String & comment() const 
return the comment field of the keyword 
Definition: Keyword.h:315
virtual Keyword * clone() const =0
virtual copy constructor 
const String & name() const 
return the name of a keyword 
Definition: Keyword.h:320
Abstract base class defining the interface for Keyword objects. 
Definition: Keyword.h:198
Base class for all HDU [Header-Data Unit] objects. 
Definition: HDU.h:673
virtual void write()
left in for historical reasons, this seldom needs to be called by users 
Definition: Keyword.cxx:97
FitsException is the base class for all exceptions thrown by this library. 
Definition: FitsError.h:93
Keyword(const Keyword &right)
copy constructor 
Definition: Keyword.cxx:36
ValueType
CCfits value types and their CFITSIO equivalents (in caps) 
Definition: CCfits.h:81
std::ostream & operator<<(std::ostream &s, const Column &right)
output operator for Column objects. 
Definition: Column.h:1337
T & value(T &val) const 
get the keyword value 
Definition: KeywordT.h:29
const HDU * parent() const 
return a pointer to parent HDU. 
Definition: Keyword.h:310
bool operator==(const Keyword &right) const 
equality operator 
Definition: Keyword.cxx:67
bool operator!=(const Keyword &right) const 
inequality operator 
Definition: Keyword.cxx:72
void setValue(const T &newValue)
modify the value of an existing Keyword and write it to the file 
Definition: KeywordT.h:44
fitsfile * fitsPointer() const 
return a pointer to the FITS file containing the parent HDU. 
Definition: Keyword.cxx:109
Keyword & operator=(const Keyword &right)
assignment operator 
Definition: Keyword.cxx:60