source: branches/polybatch/src/STFit.h@ 2859

Last change on this file since 2859 was 1924, checked in by Malte Marquarding, 14 years ago

Ticket #206: use STFitEntry as return objetc instead of pointer wrnagling.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
RevLine 
[960]1//
2// C++ Interface: STFit
3//
4// Description:
5//
6//
7// Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAPSTFIT_H
13#define ASAPSTFIT_H
[468]14
15#include <casa/aips.h>
16#include <casa/BasicSL/String.h>
[960]17#include <tables/Tables/Table.h>
18#include <tables/Tables/ScalarColumn.h>
19#include <tables/Tables/ArrayColumn.h>
[468]20
[960]21#include "STSubTable.h"
[468]22namespace asap {
23
[960]24class STFitEntry;
25/**
26The Fit subtable of the Scantable
27
28@author Malte Marquarding
29*/
30class STFit : public STSubTable {
[468]31public:
[960]32 STFit() {;}
[1353]33 explicit STFit(casa::Table tab);
34 explicit STFit( const Scantable& parent);
[468]35
[960]36 virtual ~STFit();
[468]37
[960]38 STFit& operator=(const STFit& other);
[468]39
[960]40 casa::uInt addEntry( const STFitEntry& fit, casa::Int id=-1 );
[972]41 void getEntry( STFitEntry& fit, casa::uInt id ) const;
[468]42
[960]43 const casa::String& name() const { return name_; }
44
[468]45private:
[960]46 void setup();
47 static const casa::String name_;
48 casa::ArrayColumn<casa::String> funcCol_;
49 casa::ArrayColumn<casa::Int> compCol_;
50 casa::ArrayColumn<casa::Double> parCol_;
[1924]51 // casa::ArrayColumn<casa::Double> errCol_;
[960]52 casa::ArrayColumn<casa::Bool> maskCol_;
53 casa::ArrayColumn<casa::String> frameCol_;
[468]54};
55
[960]56}
[468]57
58#endif
Note: See TracBrowser for help on using the repository browser.