MCPcopy Create free account
hub / github.com/KDE/labplot / value

Method value

src/backend/lib/IntervalAttribute.h:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 T value(int row) const {
57 for (int c = m_intervals.size() - 1; c >= 0; c--) {
58 if (m_intervals.at(c).contains(row))
59 return m_values.at(c);
60 }
61 return T();
62 }
63
64 void insertRows(int before, int count) {
65 QVector<Interval<int>> temp_list;

Callers 1

readAttributeIntMethod · 0.45

Calls 2

sizeMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected