MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / OutputIterPeers

Function OutputIterPeers

src/tw/textdbviewer.cpp:270–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270static void OutputIterPeers(cDbDataSourceIter dbIter,
271 const iFCOPropDisplayer* pPD,
272 const iFCONameTranslator* pNT,
273 TOSTREAM* pOut,
274 bool fDetails)
275{
276 for (dbIter.SeekBegin(); !dbIter.Done(); dbIter.Next())
277 {
278 // TODO: this obviously needs to be expanded upon.
279 cTextDBViewer::OutputFCO(dbIter, pPD, pNT, pOut, fDetails);
280
281 if (dbIter.CanDescend())
282 OutputIterChildren(dbIter, pPD, pNT, pOut, fDetails);
283 }
284}
285
286
287static void OutputDatabaseHeader(const cFCODbHeader& dbHeader, TOSTREAM* pOut)

Callers 3

OutputIterChildrenFunction · 0.85
OutputObjectSummaryFunction · 0.85
OutputObjectDetailFunction · 0.85

Calls 5

OutputIterChildrenFunction · 0.85
SeekBeginMethod · 0.45
DoneMethod · 0.45
NextMethod · 0.45
CanDescendMethod · 0.45

Tested by

no test coverage detected