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

Method operator=

Common/Core/vtkDataArrayValueRange_Generic.h:339–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338 VTK_ITER_INLINE
339 ValueReference operator=(const ValueReference& o) noexcept
340 {
341 if (this->Array)
342 { // Already initialized. Assign the value, not the reference:
343 return *this = static_cast<APIType>(o);
344 }
345 else
346 { // Initialize the reference:
347 this->Array = o.Array;
348 this->Id = o.Id;
349 return *this;
350 }
351 }
352
353 VTK_ITER_INLINE
354 ValueReference operator=(ValueReference&& o) noexcept

Callers

nothing calls this directly

Calls 8

GetTupleSizeMethod · 0.80
GetComponentIdMethod · 0.80
GetValueIdMethod · 0.80
GetNumberOfComponentsMethod · 0.45
SetComponentMethod · 0.45
GetTupleIdMethod · 0.45
SetValueMethod · 0.45
SetTypedComponentMethod · 0.45

Tested by

no test coverage detected