X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.h;h=265c4e37bf61d01fca007bb14880588e0f83d613;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=3cd454e3fb31b932da4870c0847d699a470f21e9;hpb=f9101a91fc942a28515872ae6c7285973bd54b91;p=pulseview.git diff --git a/pv/data/decode/rowdata.h b/pv/data/decode/rowdata.h index 3cd454e..265c4e3 100644 --- a/pv/data/decode/rowdata.h +++ b/pv/data/decode/rowdata.h @@ -44,25 +44,10 @@ public: std::vector &dest, uint64_t start_sample, uint64_t end_sample) const; - void push_annotation(const Annotation& a); + void push_annotation(const Annotation &a); private: - bool index_entry_start_sample_gt( - const uint64_t sample, const size_t index) const; - bool index_entry_end_sample_lt( - const size_t index, const uint64_t sample) const; - bool index_entry_end_sample_gt( - const uint64_t sample, const size_t index) const; - -private: - std::vector _annotations; - - /** - * _ann_start_index and _ann_end_index contain lists of annotions - * (represented by offsets in the _annotations vector), sorted in - * ascending ordered by the start_sample and end_sample respectively. - */ - std::vector _ann_start_index, _ann_end_index; + std::vector annotations_; }; }