#include <Keyword.h>
Public Methods | |
| Keyword (const Keyword &right) | |
| Keyword (const string &keyname, ValueType keytype, HDU *p, const string &comment="") | |
| virtual | ~Keyword () |
| Keyword& | operator= (const Keyword &right) |
| bool | operator== (const Keyword &right) const |
| bool | operator!= (const Keyword &right) const |
| virtual Keyword* | clone () const=0 |
| virtual void | write ()=0 |
| fitsfile* | fitsPointer () const |
| const std::string& | name () const |
| const std::string& | comment () const |
Protected Methods | |
| ValueType | keytype () const |
| void | keytype (ValueType value) |
| const HDU* | parent () const |
Keywords consists of a name, a value and a comment field. Concrete templated subclasses, KeyData<T>, have a data member that holds the value of keyword.
Typically, the mandatory keywords for a given HDU type are not stored as object of type Keyword, but as intrinsic data types. The Keyword hierarchy is used to store user-supplied information.
|
|
copy constructor.
|
|
|
Keyword constructor.
This is the common behavior of Keywords of any type. Constructor is protected as the class is abstract. |
|
|
virtual destructor.
|
|
|
virtual copy constructor.
|
|
|
return the comment field of the keyword.
|
|
|
return a pointer to the FITS file containing the parent HDU.
|
|
|
set keyword type.
|
|
|
return the type of a keyword.
|
|
|
return the name of a keyword |
|
|
inequality operator.
|
|
|
assignment operator.
|
|
|
equality operator.
|
|
|
return a pointer to parent HDU.
|
|
|
write operation.
|
1.2.7 written by Dimitri van Heesch,
© 1997-2001