Changeset 872 for trunk/src/STFillerWrapper.h
- Timestamp:
- 03/06/06 11:24:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFillerWrapper.h
r871 r872 1 1 //#--------------------------------------------------------------------------- 2 //# S DReaderWrapper.h: Wrapper classes to use CountedPtr2 //# STFillerWrapper.h: Wrapper classes to use CountedPtr 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: 29 //# $Id:$ 30 30 //#--------------------------------------------------------------------------- 31 #ifndef S DREADERWRAPPER_H32 #define S DREADERWRAPPER_H31 #ifndef STFILLERWRAPPER_H 32 #define STFILLERWRAPPER_H 33 33 34 #include <vector>35 34 #include <string> 36 35 37 #include "S DMemTableWrapper.h"38 #include "S DReader.h"36 #include "ScantableWrapper.h" 37 #include "STFiller.h" 39 38 40 39 namespace asap { 41 40 42 class S DReaderWrapper : public SDReader {41 class STFillerWrapper : public STFiller { 43 42 public: 44 S DReaderWrapper() {;}45 S DReaderWrapper(const std::string& filename, int ifSel=-1, int beamSel=-1) :46 S DReader(filename,ifSel,beamSel) {;}47 S DReaderWrapper(SDMemTableWrapper tbl) :48 S DReader(tbl.getCP()){;}49 S DMemTableWrapper getSDMemTable() const {50 return S DMemTableWrapper(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()); 51 50 } 52 51 };
Note: See TracChangeset
for help on using the changeset viewer.