Changeset 2536 for branches/hpc33/src/STIdxIter.h
- Timestamp:
- 05/18/12 17:50:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STIdxIter.h
r2533 r2536 57 57 void next() ; 58 58 Vector<uInt> getRows( StorageInitPolicy policy=COPY ) ; 59 // private:60 // Block<uInt> storage_m ;61 // IPosition pos_m ;62 59 } ; 63 60 … … 70 67 Vector<uInt> getRows( StorageInitPolicy policy=COPY ) ; 71 68 private: 72 Int isChanged( Vector<uInt> &idx ) ;69 Int isChanged( Block<uInt> &idx ) ; 73 70 uInt *updateStorage( Int &icol, uInt *base, uInt &v ) ; 74 71 75 Vector<uInt> prev_m ; 76 // Block<uInt> storage_m ; 77 // IPosition pos_m ; 72 Block<uInt> prev_m ; 78 73 Block<uInt> len_m ; 74 Block<Bool> skip_m ; 79 75 } ; 80 76 … … 93 89 void next() { iter_m->next() ; } ; 94 90 vector<uInt> getRowsSTL() { return tovector( iter_m->getRows() ) ; } ; 91 // !!!you should not use policy=TAKE_OVER since it causes problem!!! 95 92 Vector<uInt> getRows( StorageInitPolicy policy=COPY ) ; 96 93 protected: … … 107 104 STIdxIterNormal() ; 108 105 STIdxIterNormal( const string &name, 109 106 const vector<string> &cols ) ; 110 107 STIdxIterNormal( const CountedPtr<Scantable> &s, 111 108 const vector<string> &cols ) ; 112 109 ~STIdxIterNormal() ; 113 110 protected: … … 121 118 STIdxIterAcc() ; 122 119 STIdxIterAcc( const string &name, 123 120 const vector<string> &cols ) ; 124 121 STIdxIterAcc( const CountedPtr<Scantable> &s, 125 122 const vector<string> &cols ) ; 126 123 ~STIdxIterAcc() ; 127 124 protected: 128 v oid init( Table &t,129 const vector<string> &cols ) ;125 virtual void init( Table &t, 126 const vector<string> &cols ) ; 130 127 } ; 128 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 // } ; 131 141 132 142 } // namespace
Note: See TracChangeset
for help on using the changeset viewer.