MCPcopy Create free account
hub / github.com/Kitware/VTK / operator--

Method operator--

Common/Core/vtkDataArrayValueRange_Generic.h:157–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 VTK_ITER_INLINE
158 IdStorage operator--(int) noexcept // postfix
159 {
160 auto v = this->ValueId--;
161 auto t = this->TupleId;
162 auto c = this->ComponentId--;
163 if (this->ComponentId < 0)
164 {
165 this->ComponentId = this->GetTupleSize() - 1;
166 --this->TupleId;
167 }
168 return IdStorage{ v, t, c, this->NumComps };
169 }
170
171 VTK_ITER_INLINE
172 ValueIdType Convert(TupleIdType tuple, ComponentIdType comp) const noexcept

Callers

nothing calls this directly

Calls 1

GetTupleSizeMethod · 0.95

Tested by

no test coverage detected