casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MeasurementSet2.h
Go to the documentation of this file.
00001 #if ! defined (MeasurementSet2_H_121204_1015)
00002 #define MeasurementSet2_H_121204_1015
00003 
00004 #include <ms/MeasurementSets.h>
00005 
00006 namespace casa {
00007 
00008 class String;
00009 class MSSelection;
00010 
00011 class MeasurementSet2 : public MeasurementSet {
00012 
00013 public:
00014 
00015     ~MeasurementSet2 ();
00016 
00017     MeasurementSet2 (const MeasurementSet2 & other);
00018     MeasurementSet2 & operator= (const MeasurementSet2 & other);
00019 
00020     const MSSelection * getMSSelection () const;
00021     Bool wasCreatedWithSelection () const;
00022 
00023     static MeasurementSet2 create (const String & filename, const MSSelection * msSelection);
00024 
00025 protected:
00026 
00027     MeasurementSet2 (const Table & table, MSSelection * msSelection);
00028 
00029 private:
00030 
00031     MSSelection * msSelection_p;     // [own]
00032     Bool wasCreatedWithSelection_p;
00033 
00034 };
00035 
00036 } // end namespace casa
00037 
00038 #endif // ! defined (MeasurementSet2_H_121204_1015)