MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / clear

Method clear

DSView/pv/data/decode/rowdata.cpp:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void RowData::clear()
51{
52 std::lock_guard<std::mutex> lock(_global_visitor_mutex);
53
54 //destroy objercts
55 for (Annotation *p : _annotations){
56 delete p;
57 }
58 _annotations.clear();
59 _item_count = 0;
60 _min_annotation = 0;
61}
62
63uint64_t RowData::get_max_sample()
64{

Callers 2

resetMethod · 0.45
annotation.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected