// // C++ Interface: STFocus // // Description: // // // Author: Malte Marquarding , (C) 2006 // // Copyright: See COPYING file that comes with this distribution // // #ifndef ASAPSTFOCUS_H #define ASAPSTFOCUS_H #include #include #include #include #include "STSubTable.h" namespace asap { /** The Focus subtable of the Scantable @author Malte Marquarding */ class STFocus : public STSubTable { public: STFocus() {;} STFocus(casa::Table tab); STFocus( const Scantable& parent ); virtual ~STFocus(); STFocus& operator=(const STFocus& other); casa::uInt addEntry( casa::Float rotation, casa::Float angle, casa::Float ftan); void getEntry( casa::Float& rotation, casa::Float& angle, casa::Float& ftan, casa::uInt id) const; const casa::String& name() const { return name_; } private: void setup(); static const casa::String name_; //casa::Table table_; //casa::ScalarColumn freqidCol_; casa::ScalarColumn rotationCol_, angleCol_, tanCol_; }; } #endif