int _tmain(int argc, _TCHAR* argv[]) { CWDB wdb; LoadDefinitions(); char* file = (char*)malloc(0xff); if( !argv[1] ) file = "itemcache.wdb"; else wtoc(file,argv[1],256); if (!wdb.loadWDB(file)) return 0; if(memcmp(wdb.getDef()->getSignature(),"BDIW",4)) return 0; wdb.parseWDB(); makeCSV(&wdb); return 0; }
std::string BTagCalibration::makeCSV() const { std::stringstream buff; makeCSV(buff); return buff.str(); }