bool CMOOSRemoteLite::PrintCustomSummary() { ostringstream os; os<<"\n****** User Custom Summary ******"<<endl; STRING_LIST::iterator p; for(p = m_CustomSummaryList.begin();p!=m_CustomSummaryList.end();p++) { string sWhat = *p; CMOOSVariable * pVar = GetMOOSVar(sWhat); if(pVar==NULL) continue; //make left justified os.setf(ios::left); os<<setw(20)<<sWhat.c_str()<<"t="; os.setf(ios::fixed); if(!pVar->IsFresh()) { os<<setw(10)<<"****"; os<<setw(3)<<" : "; os<<setw(10)<<"****"; } else { os<<setw(10)<<setprecision(1)<<pVar->GetTime()-GetAppStartTime(); os<<setw(3)<<" : "; if(pVar->IsDouble()) { os<<setw(10)<<setprecision(1)<<pVar->GetDoubleVal(); } else { os<<setw(10)<<pVar->GetStringVal().c_str();; } } os<<endl; } os<<ends; MOOSTrace("%s",string(os.str()).c_str()); return true; }