////////////////////////////////////////////////////////////////////////// OutputFCO //////////////////////////////////////////////////////////////////////////
| 197 | // OutputFCO |
| 198 | /////////////////////////////////////////////////////////////////////////////// |
| 199 | void cTextDBViewer::OutputFCO(cDbDataSourceIter& dbIter, |
| 200 | const iFCOPropDisplayer* pPD, |
| 201 | const iFCONameTranslator* pNT, |
| 202 | TOSTREAM* pOut, |
| 203 | bool fDetails) |
| 204 | { |
| 205 | InitOStream(pOut); |
| 206 | |
| 207 | if (dbIter.HasFCOData()) |
| 208 | { |
| 209 | iFCO* pFCO = dbIter.CreateFCO(); |
| 210 | |
| 211 | if (fDetails) |
| 212 | { |
| 213 | (*pOut) << TSS_GetString(cTW, tw::STR_OBJECT_NAME) << _T(" ") |
| 214 | << pNT->ToStringDisplay(pFCO->GetName()).c_str() << endl |
| 215 | << endl; |
| 216 | DisplayFCOProps(pFCO, pPD, pOut); |
| 217 | (*pOut) << endl << endl; |
| 218 | } |
| 219 | else |
| 220 | PrintFCOShort(pFCO, pPD, pNT, pOut, DETAILS_MARGIN); |
| 221 | |
| 222 | pFCO->Release(); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | |
| 227 | //========================================================================= |
nothing calls this directly
no test coverage detected