source: branches/newfiller/src/STFit.h@ 2067

Last change on this file since 2067 was 1353, checked in by mar637, 18 years ago

added explicit keyword for single arument constructors

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
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
14
15#include <casa/aips.h>
16#include <casa/BasicSL/String.h>
17#include <tables/Tables/Table.h>
18#include <tables/Tables/ScalarColumn.h>
19#include <tables/Tables/ArrayColumn.h>
20
21#include "STSubTable.h"
22namespace asap {
23
24class STFitEntry;
25/**
26The Fit subtable of the Scantable
27
28@author Malte Marquarding
29*/
30class STFit : public STSubTable {
31public:
32 STFit() {;}
33 explicit STFit(casa::Table tab);
34 explicit STFit( const Scantable& parent);
35
36 virtual ~STFit();
37
38 STFit& operator=(const STFit& other);
39
40 casa::uInt addEntry( const STFitEntry& fit, casa::Int id=-1 );
41 void getEntry( STFitEntry& fit, casa::uInt id ) const;
42
43 const casa::String& name() const { return name_; }
44
45private:
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_;
51 casa::ArrayColumn<casa::Bool> maskCol_;
52 casa::ArrayColumn<casa::String> frameCol_;
53};
54
55}
56
57#endif
Note: See TracBrowser for help on using the repository browser.