Changeset 16088 for trunk/FACT++/src
- Timestamp:
- 05/23/13 19:08:42 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r15407 r16088 1556 1556 for (list<RunNumberType>::const_iterator it=fRunNumber.begin(); it!=fRunNumber.end(); it++) 1557 1557 str << " " << it->runNumber; 1558 if (fRunNumber. size()==0)1558 if (fRunNumber.empty()) 1559 1559 str << " <none>"; 1560 1560 Message(str); … … 1607 1607 for (set<string>::const_iterator it=fBlackList.begin(); it != fBlackList.end(); it++) 1608 1608 Message(" -> "+*it); 1609 if (fBlackList. size()==0)1609 if (fBlackList.empty()) 1610 1610 Message(" <empty>"); 1611 1611 … … 1613 1613 for (set<string>::const_iterator it=fWhiteList.begin(); it != fWhiteList.end(); it++) 1614 1614 Message(" -> "+*it); 1615 if (fWhiteList. size()==0)1615 if (fWhiteList.empty()) 1616 1616 Message(" <empty>"); 1617 1617 … … 1621 1621 for (set<string>::const_iterator it=fGrouping.begin(); it != fGrouping.end(); it++) 1622 1622 Message(" -> "+*it); 1623 if (fGrouping. size()==0)1623 if (fGrouping.empty()) 1624 1624 Message(" <no grouping>"); 1625 1625 -
trunk/FACT++/src/fitsdump.cc
r15246 r16088 153 153 fout << ::right << setw(20) << it->second.value; 154 154 155 if ( it->second.comment.size()>0)155 if (!it->second.comment.empty()) 156 156 fout << " / " << it->second.comment; 157 157 fout << '\n'; … … 186 186 const fits::Table::Columns &fColMap = GetColumns(); 187 187 188 if (names. size()==0)188 if (names.empty()) 189 189 for (auto it=fColMap.begin(); it!=fColMap.end(); it++) 190 190 if (it->second.num>0) … … 509 509 510 510 const vector<MyColumn> vec = InitColumnsRoot(names); 511 if (vec. size()==0)511 if (vec.empty()) 512 512 return; 513 513 … … 825 825 826 826 const vector<MyColumn> cols = InitColumns(conf.Vec<string>("col")); 827 if (cols. size()==0)827 if (cols.empty()) 828 828 return false; 829 829 -
trunk/FACT++/src/ftmctrl.cc
r15186 r16088 2386 2386 // ---------- Setup clock conditioner frequencies ---------- 2387 2387 const vector<uint16_t> freq = conf.Vec<uint16_t>("clock-conditioner.frequency"); 2388 if (freq. size()==0)2388 if (freq.empty()) 2389 2389 T::Warn("No frequencies for the clock-conditioner defined."); 2390 2390 else … … 2432 2432 // ---------- Setup run types --------- 2433 2433 const vector<string> types = conf.Vec<string>("run-type"); 2434 if (types. size()==0)2434 if (types.empty()) 2435 2435 T::Warn("No run-types defined."); 2436 2436 else -
trunk/FACT++/src/ratecontrol.cc
r16081 r16088 100 100 // return; 101 101 102 if ( fThresholds.size()==0)102 if (!fThresholds.empty()) 103 103 return; 104 104 … … 371 371 int HandleTriggerRates(const EventImp &evt) 372 372 { 373 if (fThresholds. size()==0)373 if (fThresholds.empty()) 374 374 return GetCurrentState(); 375 375 … … 804 804 // ---------- Setup run types --------- 805 805 const vector<string> types = conf.Vec<string>("run-type"); 806 if (types. size()==0)806 if (types.empty()) 807 807 Warn("No run-types defined."); 808 808 else
Note:
See TracChangeset
for help on using the changeset viewer.