Changeset 2537 for branches/hpc33/src/STIdxIter.h
- Timestamp:
- 05/18/12 19:16:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STIdxIter.h
r2536 r2537 7 7 #include <casa/Arrays/Matrix.h> 8 8 #include <casa/Arrays/IPosition.h> 9 #include <casa/BasicSL/String.h> 9 10 10 11 #include "Scantable.h" … … 127 128 } ; 128 129 129 // class STIdxIterExAcc : public STIdxIterAcc 130 // { 131 // STIdxIterExAcc() ; 132 // STIdxIterExAcc( const string &name, 133 // const vector<string> &cols ) ; 134 // STIdxIterExAcc( const CountedPtr<Scantable> &s, 135 // const vector<string> &cols ) ; 136 // ~STIdxIterExAcc() ; 137 // protected: 138 // virtual void init( Table &t, 139 // const vector<string> &cols ) ; 140 // } ; 130 class STIdxIterExAcc : public STIdxIter 131 { 132 public: 133 STIdxIterExAcc() ; 134 STIdxIterExAcc( const string &name, 135 const vector<string> &cols ) ; 136 STIdxIterExAcc( const CountedPtr<Scantable> &s, 137 const vector<string> &cols ) ; 138 ~STIdxIterExAcc() ; 139 Int getSrcType() ; 140 String getSrcName() ; 141 protected: 142 virtual void init( Table &t, 143 const vector<string> &cols ) ; 144 private: 145 void processIntCol( Vector<Int> &in, 146 Vector<uInt> &out, 147 Block<Int> &val ) ; 148 void processStrCol( Vector<String> &in, 149 Vector<uInt> &out, 150 Block<String> &val ) ; 151 Block<Int> srctype_m ; 152 Block<String> srcname_m ; 153 uInt srctypeid_m ; 154 uInt srcnameid_m ; 155 } ; 141 156 142 157 } // namespace
Note: See TracChangeset
for help on using the changeset viewer.