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

Method swap

ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:1429–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427}
1428
1429void
1430XdmfArray::swap(const shared_ptr<XdmfArray> array)
1431{
1432 std::swap(mArray, array->mArray);
1433 std::swap(mArrayPointerNumValues, array->mArrayPointerNumValues);
1434 std::swap(mDimensions, array->mDimensions);
1435 std::swap(mHeavyDataControllers, array->mHeavyDataControllers);
1436 this->setIsChanged(true);
1437}
1438
1439void
1440XdmfArray::traverse(const shared_ptr<XdmfBaseVisitor> visitor)

Callers 9

readReferenceMethod · 0.95
traverseMethod · 0.45
populateItemMethod · 0.45
populateItemMethod · 0.45
populateItemMethod · 0.45
populateItemMethod · 0.45
XdmfArraySwapWithArrayFunction · 0.45
visitMethod · 0.45

Calls 2

setIsChangedMethod · 0.80
swapFunction · 0.50

Tested by

no test coverage detected