Changeset 995 for trunk/src/STSelector.cpp
- Timestamp:
- 04/06/06 13:29:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STSelector.cpp
r954 r995 33 33 intselections_(other.intselections_), 34 34 stringselections_(other.stringselections_), 35 taql_(other.taql_),36 35 poltypes_(other.poltypes_), 37 order_(other.order_) { 36 order_(other.order_), 37 taql_(other.taql_) 38 { 38 39 } 39 40 … … 110 111 { 111 112 order_.resize(order.size(), True); 112 for ( int i=0;i<order.size();++i) {113 for (unsigned int i=0;i<order.size();++i) { 113 114 order_[i] = order[i]; 114 115 } … … 121 122 } 122 123 TableExprNode query; 123 intidmap::const_iterator it = intselections_.begin();124 for (it ; it != intselections_.end(); ++it) {124 intidmap::const_iterator it; 125 for (it= intselections_.begin(); it != intselections_.end(); ++it) { 125 126 TableExprNode theset(Vector<Int>( (*it).second )); 126 127 if ( query.isNull() ) { … … 130 131 } 131 132 } 132 stringidmap::const_iterator it1 = stringselections_.begin();133 for (it1 ; it1 != stringselections_.end(); ++it1) {133 stringidmap::const_iterator it1; 134 for (it1 = stringselections_.begin(); it1 != stringselections_.end(); ++it1) { 134 135 TableExprNode theset(mathutil::toVectorString( (*it1).second )); 135 136 if ( query.isNull() ) { … … 243 244 poltypes_.clear(); 244 245 std::vector<int> polints; 245 std::vector<std::string>::const_iterator strit = pols.begin();246 for (strit ; strit != pols.end(); ++strit) {246 std::vector<std::string>::const_iterator strit; 247 for (strit = pols.begin(); strit != pols.end(); ++strit) { 247 248 std::pair<int, std::string> val; 248 249 try {
Note:
See TracChangeset
for help on using the changeset viewer.