Ignore:
Timestamp:
04/05/06 14:31:47 (18 years ago)
Author:
mar637
Message:

implemented data export for the asap2 Scantable as in Ticket #4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STWriterWrapper.h

    r982 r988  
    2727//#                        AUSTRALIA
    2828//#
    29 //# $Id:
     29//# $Id:$
    3030//#---------------------------------------------------------------------------
    31 #ifndef SDWRITERWRAPPER_H
    32 #define SDWRITERWRAPPER_H
     31#ifndef STWRITERWRAPPER_H
     32#define STWRITERWRAPPER_H
    3333
    3434#include <vector>
    3535#include <string>
     36
     37#include "ScantableWrapper.h"
    3638
    3739#include "STWriter.h"
     
    3941namespace asap {
    4042
    41 class SDMemTableWrapper;
    42 
    4343class STWriterWrapper : public STWriter {
    4444public:
    45   STWriterWrapper(const string &format = "SDFITS") : STWriter(format) {;}
     45  STWriterWrapper(const string& format = "SDFITS") : STWriter(format) {;}
    4646
    47   casa::Int write(const SDMemTableWrapper &table, const string &filename, bool toStokes) {
    48     return STWriter::write(table.getCP(), filename, toStokes);
     47  casa::Int write(const ScantableWrapper& table, const string &filename) {
     48    return STWriter::write(table.getCP(), filename);
    4949  }
    5050};
Note: See TracChangeset for help on using the changeset viewer.