TwiceAsNice
2019-02-18
|
A FITS header unit. More...
#include <FitsCard.h>
Public Member Functions | |
void | set (const Basda::VinoFitsCard &_card) |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them. More... | |
void | set (const std::string &_key, const std::string &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const char *_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, int _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, bool _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, size_t _precision, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const VinoFitsCardBox &_box) |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist. More... | |
VinoFitsCard | get (const std::string &_key) |
search for a key in the existing card set More... | |
int | write (fitsfile *) |
insert all cards into a header-data unit More... | |
size_t | size () const |
number of cards in the set More... | |
void | read (const std::string &_filename) |
read a file that contains ASCII template cards, one per line More... | |
VinoFitsCardBox & | merge (const VinoFitsCardBox &_fbox) |
Merge Basda::VinoFitsCardBox merge into this. More... | |
void | set (const Basda::VinoFitsCard &_card) |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them. More... | |
void | set (const std::string &_key, const std::string &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const char *_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, int _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, bool _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, size_t _precision, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const VinoFitsCardBox &_box) |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist. More... | |
VinoFitsCard | get (const std::string &_key) |
search for a key in the existing card set More... | |
int | write (fitsfile *) |
size_t | size () const |
number of cards in the set More... | |
void | read (const std::string &_filename) |
VinoFitsCardBox & | merge (const VinoFitsCardBox &_fbox) |
void | set (const Basda::VinoFitsCard &_card) |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them. More... | |
void | set (const std::string &_key, const std::string &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const char *_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, int _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, bool _val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const std::string &_key, const double &_val, size_t _precision, const std::string &_comment) |
add a card to the stack. If a card with the same key exists, it is replaced. More... | |
void | set (const VinoFitsCardBox &_box) |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist. More... | |
VinoFitsCard | get (const std::string &_key) |
search for a key in the existing card set More... | |
int | write (fitsfile *) |
size_t | size () const |
number of cards in the set More... | |
void | read (const std::string &_filename) |
VinoFitsCardBox & | merge (const VinoFitsCardBox &_fbox) |
![]() | |
bool | operator== (const VinoFitsCardBoxVar &__rhs) const |
bool | operator< (const VinoFitsCardBoxVar &__rhs) const |
bool | operator!= (const VinoFitsCardBoxVar &__rhs) const |
bool | operator<= (const VinoFitsCardBoxVar &__rhs) const |
bool | operator> (const VinoFitsCardBoxVar &__rhs) const |
bool | operator>= (const VinoFitsCardBoxVar &__rhs) const |
bool | operator== (const VinoFitsCardBoxVar &__rhs) const |
bool | operator< (const VinoFitsCardBoxVar &__rhs) const |
bool | operator!= (const VinoFitsCardBoxVar &__rhs) const |
bool | operator<= (const VinoFitsCardBoxVar &__rhs) const |
bool | operator> (const VinoFitsCardBoxVar &__rhs) const |
bool | operator>= (const VinoFitsCardBoxVar &__rhs) const |
Protected Member Functions | |
SeqVinoFitsCardVarIterator | find (const std::string &) |
search for a key More... | |
SeqVinoFitsCardVarIterator | find (const std::string &) |
SeqVinoFitsCardVarIterator | find (const std::string &) |
Additional Inherited Members | |
![]() | |
::Basda::SeqVinoFitsCardVar | mdata |
A FITS header unit.
A set of FITS header cards in a FITS header.
|
protected |
search for a key
_key | The key to be found in the cards |
|
protected |
|
protected |
|
inline |
search for a key in the existing card set
_key | the key to be searched for |
|
inline |
search for a key in the existing card set
_key | the key to be searched for |
|
inline |
search for a key in the existing card set
_key | the key to be searched for |
VinoFitsCardBox& Basda::VinoFitsCardBox::merge | ( | const VinoFitsCardBox & | _fbox | ) |
VinoFitsCardBox& Basda::VinoFitsCardBox::merge | ( | const VinoFitsCardBox & | _fbox | ) |
Basda::VinoFitsCardBox & Basda::VinoFitsCardBox::merge | ( | const VinoFitsCardBox & | _fbox | ) |
void Basda::VinoFitsCardBox::read | ( | const std::string & | _filename | ) |
void Basda::VinoFitsCardBox::read | ( | const std::string & | _file | ) |
read a file that contains ASCII template cards, one per line
_file | the name of the ASCII file to be parsed. If the file cannot be read (or does not exist) this is a no-op. |
void Basda::VinoFitsCardBox::read | ( | const std::string & | _filename | ) |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them.
_card | The new header card. |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them.
_card | The new header card. |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced, otherwise the new card is appended. So the order of the cards is preserved and follows the order of adding them.
_card | The new header card. |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_precision | precision in the double value |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_precision | precision in the double value |
_comment | comment inside the new card |
|
inline |
add a card to the stack. If a card with the same key exists, it is replaced.
_key | keyword of the new card |
_val | value of the new card |
_precision | precision in the double value |
_comment | comment inside the new card |
|
inline |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist.
_box | The additional cards to be added. |
|
inline |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist.
_box | The additional cards to be added. |
|
inline |
add the cards of another card box to this one. Cards of the other box replace cards in here if they already exist.
_box | The additional cards to be added. |
|
inline |
number of cards in the set
|
inline |
number of cards in the set
|
inline |
number of cards in the set
int Basda::VinoFitsCardBox::write | ( | fitsfile * | ) |
int Basda::VinoFitsCardBox::write | ( | fitsfile * | ) |
int Basda::VinoFitsCardBox::write | ( | fitsfile * | _file | ) |
insert all cards into a header-data unit
_file | the current position of the cfitsio representation |