BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
ResultHandle.cxx
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/rdbModel/src/Db/ResultHandle.cxx,v 1.1.1.1 2005/10/17 06:10:53 maqm Exp $
2
4
5namespace rdbModel {
6
7 void ResultHandle::cleanFieldPtrs(std::vector<std::string*>& fields) {
8 for (unsigned i = 0; i < fields.size(); i++) {
9 if (fields[i] != 0) delete fields[i];
10 }
11 fields.resize(0);
12 }
13
14}
static void cleanFieldPtrs(std::vector< std::string * > &fields)