X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.h;fp=pv%2Fdata%2Fdecode%2Frowdata.h;h=01c65b6e84ace4c4a1d4b44e3e11ba5bca78d758;hp=3cd454e3fb31b932da4870c0847d699a470f21e9;hb=21ea5e700fdde6a6eb2c0969649fcb1d8ea6d283;hpb=287d607f16c890e33355337436f182205baf466c diff --git a/pv/data/decode/rowdata.h b/pv/data/decode/rowdata.h index 3cd454e3..01c65b6e 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); - -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; + void push_annotation(const Annotation &a); 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; }; }