MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / list_annotation

Method list_annotation

DSView/pv/data/decoderstack.cpp:337–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337bool DecoderStack::list_annotation(pv::data::decode::Annotation *ann,
338 uint16_t row_index, uint64_t col_index)
339{
340 for (auto i = _rows.begin(); i != _rows.end(); i++) {
341 auto iter = _rows_lshow.find((*i).first);
342 if (iter != _rows_lshow.end() && (*iter).second) {
343 if (row_index-- == 0) {
344 return (*i).second->get_annotation(ann, col_index);
345 }
346 }
347 }
348
349 return false;
350}
351
352
353bool DecoderStack::list_row_title(int row, QString &title)

Callers 5

dataMethod · 0.80
item_clickedMethod · 0.80
nav_table_viewMethod · 0.80
search_preMethod · 0.80
search_nxtMethod · 0.80

Calls 2

get_annotationMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected