X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.cpp;h=4f0e245fc65c359528a7cf3e5a5d8c3760671740;hp=70c430ac9d7395722192fe3b5a29e16a4036174d;hb=86d4b8e3e52a422fe3a6956d6bbef27f1859717b;hpb=ae30ff422a495a6b1a4ad2893566628863ea222b diff --git a/pv/data/decode/row.cpp b/pv/data/decode/row.cpp index 70c430ac..4f0e245f 100644 --- a/pv/data/decode/row.cpp +++ b/pv/data/decode/row.cpp @@ -169,6 +169,11 @@ bool Row::has_hidden_classes() const return false; } +bool Row::class_is_visible(uint32_t ann_class_id) const +{ + return decoder_->get_ann_class_by_id(ann_class_id)->visible; +} + bool Row::operator<(const Row& other) const { return (decoder_ < other.decoder_) ||