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

Method InitializeFromXML

Common/DataModel/vtkDataAssembly.cxx:480–494  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

478
479//------------------------------------------------------------------------------
480bool vtkDataAssembly::InitializeFromXML(const char* xmlcontents)
481{
482 this->Initialize();
483 if (xmlcontents == nullptr || xmlcontents[0] == '\0')
484 {
485 return true;
486 }
487
488 if (!this->Internals->Parse(xmlcontents, this))
489 {
490 this->Initialize();
491 return false;
492 }
493 return true;
494}
495
496//------------------------------------------------------------------------------
497std::string vtkDataAssembly::SerializeToXML(vtkIndent indent) const

Callers 7

ReadDataAssemblyFunction · 0.80
ReadMeshMethod · 0.80
ReadMeshMethod · 0.80
UpdateAssemblyMethod · 0.80
ReadCompositeDataMethod · 0.80
TestDataAssemblyFunction · 0.80

Calls 2

InitializeMethod · 0.95
ParseMethod · 0.45

Tested by 1

TestDataAssemblyFunction · 0.64