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

Method SetValueByName

Common/DataModel/vtkTable.cxx:631–641  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

629
630//------------------------------------------------------------------------------
631void vtkTable::SetValueByName(vtkIdType row, const char* col, vtkVariant value)
632{
633 int colIndex = -1;
634 this->RowData->GetAbstractArray(col, colIndex);
635 if (colIndex < 0)
636 {
637 vtkErrorMacro(<< "Could not find column named " << col);
638 return;
639 }
640 this->SetValue(row, colIndex, value);
641}
642
643//------------------------------------------------------------------------------
644template <typename iterT>

Callers 15

RandomizeValuesFunction · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
AggregateMethod · 0.80
AssessMethod · 0.80
AssessMethod · 0.80
AggregateMethod · 0.80
DeriveMethod · 0.80
ComputeMarginalsMethod · 0.80
ComputeMarginalsMethod · 0.80
DeriveMethod · 0.80

Calls 2

SetValueMethod · 0.95
GetAbstractArrayMethod · 0.80

Tested by 2

RandomizeValuesFunction · 0.64