------------------------------------------------------------------------------
| 727 | |
| 728 | //------------------------------------------------------------------------------ |
| 729 | void vtkVariantArray::InsertValue(vtkIdType id, ValueType value) |
| 730 | { |
| 731 | if (id >= this->Size) |
| 732 | { |
| 733 | if (!this->ResizeAndExtend(id + 1)) |
| 734 | { |
| 735 | return; |
| 736 | } |
| 737 | } |
| 738 | this->Array[id] = value; |
| 739 | this->MaxId = std::max(id, this->MaxId); |
| 740 | this->DataElementChanged(id); |
| 741 | } |
| 742 | |
| 743 | //------------------------------------------------------------------------------ |
| 744 | void vtkVariantArray::SetVariantValue(vtkIdType id, ValueType value) |
no test coverage detected