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

Method readItems

ThirdParty/xdmf3/vtkxdmf3/core/XdmfCoreReader.cpp:353–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353std::vector<shared_ptr<XdmfItem> >
354XdmfCoreReader::readItems(const std::string & filePath) const
355{
356 mImpl->openFile(filePath);
357 const xmlNodePtr currNode = xmlDocGetRootElement(mImpl->mDocument);
358 const std::vector<shared_ptr<XdmfItem> > toReturn =
359 mImpl->read(currNode->children);
360 mImpl->closeFile();
361 return toReturn;
362}
363
364shared_ptr<XdmfItem>
365XdmfCoreReader::read(const std::string & filePath) const

Callers

nothing calls this directly

Calls 4

xmlDocGetRootElementFunction · 0.85
openFileMethod · 0.45
readMethod · 0.45
closeFileMethod · 0.45

Tested by

no test coverage detected