MCPcopy Create free account
hub / github.com/Kitware/VTK / InsertValue

Method InsertValue

Common/Core/vtkStringArray.cxx:502–514  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

500
501//------------------------------------------------------------------------------
502void vtkStringArray::InsertValue(vtkIdType id, ValueType f)
503{
504 if (id >= this->Size)
505 {
506 if (!this->ResizeAndExtend(id + 1))
507 {
508 return;
509 }
510 }
511 this->Array[id] = f;
512 this->MaxId = std::max(id, this->MaxId);
513 this->DataElementChanged(id);
514}
515
516//------------------------------------------------------------------------------
517vtkIdType vtkStringArray::InsertNextValue(ValueType f)

Callers 5

InsertNextValueMethod · 0.95
InsertTupleMethod · 0.95
InsertTuplesMethod · 0.95
InsertVariantValueMethod · 0.95

Calls 4

ResizeAndExtendMethod · 0.95
DataElementChangedMethod · 0.95
maxFunction · 0.50
ValueTypeEnum · 0.50

Tested by

no test coverage detected