Ignore:
Timestamp:
03/06/06 11:24:02 (18 years ago)
Author:
mar637
Message:

SDMemTable -> Scnatable handling (asap2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFillerWrapper.h

    r871 r872  
    11//#---------------------------------------------------------------------------
    2 //# SDReaderWrapper.h: Wrapper classes to use CountedPtr
     2//# STFillerWrapper.h: Wrapper classes to use CountedPtr
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
     
    2727//#                        AUSTRALIA
    2828//#
    29 //# $Id:
     29//# $Id:$
    3030//#---------------------------------------------------------------------------
    31 #ifndef SDREADERWRAPPER_H
    32 #define SDREADERWRAPPER_H
     31#ifndef STFILLERWRAPPER_H
     32#define STFILLERWRAPPER_H
    3333
    34 #include <vector>
    3534#include <string>
    3635
    37 #include "SDMemTableWrapper.h"
    38 #include "SDReader.h"
     36#include "ScantableWrapper.h"
     37#include "STFiller.h"
    3938
    4039namespace asap {
    4140
    42 class SDReaderWrapper : public SDReader {
     41class STFillerWrapper : public STFiller {
    4342public:
    44   SDReaderWrapper() {;}
    45   SDReaderWrapper(const std::string& filename, int ifSel=-1, int beamSel=-1) :
    46      SDReader(filename,ifSel,beamSel) {;}
    47   SDReaderWrapper(SDMemTableWrapper tbl) :
    48     SDReader(tbl.getCP()){;}
    49   SDMemTableWrapper getSDMemTable() const {
    50     return SDMemTableWrapper(getTable());
     43  STFillerWrapper() {;}
     44  STFillerWrapper(const std::string& filename, int ifSel=-1, int beamSel=-1) :
     45     STFiller(filename, ifSel, beamSel) {;}
     46  STFillerWrapper(ScantableWrapper tbl) :
     47    STFiller(tbl.getCP()){;}
     48  ScantableWrapper getScantable() const {
     49    return ScantableWrapper(getTable());
    5150  }
    5251};
Note: See TracChangeset for help on using the changeset viewer.