Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1SDFITSTable.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:51:10 2011 Кодировка: Поисковые слова: п п п п п п п п п п п п п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п |
SDFITSTable is a FITSTable which follows the Single Dish FITS Convention. More...
#include <SDFITSTable.h>
Public Types | |
enum | CoreKeyword { OBJECT, TELESCOP, BANDWID, DATEOBS, EXPOSURE, TSYS, NUM_CORE_KEYWORDS, UNKNOWN } |
the core keywords, UNKNOWN is not a core keyword, NUM_CORE_KEYWORDS is a place holder More... | |
Public Member Functions | |
SDFITSTable (const String &fileName, uInt whichHDU=1) | |
construct from a file | |
~SDFITSTable () | |
The destructor. | |
virtual Bool | reopen (const String &fileName) |
Attach this SDFITSTable to a new file name, same HDU# as at open time. | |
virtual Bool | isSDFITS () const |
is this a valid SDFITS file | |
Static Public Member Functions | |
static CoreKeyword | coreKeyword (const String &name) |
translate to/from core keyword names to enumeration | |
static String | coreKeywordName (CoreKeyword kw) |
Private Member Functions | |
void | sdfits_shuffle () |
the array of keyword names the regular FITSTable::reopen does nearly everything fine, this function moves stuff out of the keywords and into the output record as appropriate | |
SDFITSTable () | |
undefined an inaccessible | |
SDFITSTable (const SDFITSTable &) | |
SDFITSTable & | operator= (const SDFITSTable &) |
Static Private Member Functions | |
static void | init_kwNames () |
kwNames initialization function | |
static Bool | isSDFitsColumn (const String &name) |
check to see if the named keyword should be turned into a column, all non-reserved keywords will always be turned into a column. | |
Private Attributes | |
Bool | isSDFITS_p |
Static Private Attributes | |
static Block< String > | kwNames |
block of core keyword names |
SDFITSTable is a FITSTable which follows the Single Dish FITS Convention.
Public interface
SDFITSTable is derived from FITSTable. It contains additional checks and behaviour appropriate to the Single Dish FITS Convention hence this is a Single Dish FITS Table, or SDFITSTable.
This class behaves much like FITSTable. It additionally verifies that the indicated HDU in the input FITS file follows the SDFITS convention (it has all of the required columns) and it treats keywords as virtual columns when appropriate. These virtual columns will appear as fields in the currentRecord and description and will NOT appear in the keywords.
It was useful to encapsulate this behaviour in a class so that the checks on a valid SDFITS table and the treatment of keywords as virtual columns would not need to appear everywhere it might be used.
Definition at line 86 of file SDFITSTable.h.
the core keywords, UNKNOWN is not a core keyword, NUM_CORE_KEYWORDS is a place holder
Definition at line 91 of file SDFITSTable.h.
casa::SDFITSTable::~SDFITSTable | ( | ) |
The destructor.
casa::SDFITSTable::SDFITSTable | ( | ) | [private] |
undefined an inaccessible
casa::SDFITSTable::SDFITSTable | ( | const SDFITSTable & | ) | [private] |
static CoreKeyword casa::SDFITSTable::coreKeyword | ( | const String & | name | ) | [static] |
translate to/from core keyword names to enumeration
static String casa::SDFITSTable::coreKeywordName | ( | CoreKeyword | kw | ) | [static] |
static void casa::SDFITSTable::init_kwNames | ( | ) | [static, private] |
kwNames initialization function
virtual Bool casa::SDFITSTable::isSDFITS | ( | ) | const [inline, virtual] |
check to see if the named keyword should be turned into a column, all non-reserved keywords will always be turned into a column.
SDFITSTable& casa::SDFITSTable::operator= | ( | const SDFITSTable & | ) | [private] |
Attach this SDFITSTable to a new file name, same HDU# as at open time.
Reimplemented from casa::FITSTable.
void casa::SDFITSTable::sdfits_shuffle | ( | ) | [private] |
the array of keyword names the regular FITSTable::reopen does nearly everything fine, this function moves stuff out of the keywords and into the output record as appropriate
Bool casa::SDFITSTable::isSDFITS_p [private] |
Definition at line 112 of file SDFITSTable.h.
Referenced by isSDFITS().
Block<String> casa::SDFITSTable::kwNames [static, private] |
block of core keyword names
Definition at line 115 of file SDFITSTable.h.