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

Method FinishPrimaryElement

IO/XML/vtkXMLHyperTreeGridWriter.cxx:929–943  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

927
928//------------------------------------------------------------------------------
929int vtkXMLHyperTreeGridWriter::FinishPrimaryElement(vtkIndent indent)
930{
931 ostream& os = *(this->Stream);
932
933 // End the primary element.
934 os << indent << "</" << this->GetDataSetName() << ">\n";
935
936 os.flush();
937 if (os.fail())
938 {
939 this->SetErrorCode(vtkErrorCode::OutOfDiskSpaceError);
940 return 0;
941 }
942 return 1;
943}
944
945//------------------------------------------------------------------------------
946void vtkXMLHyperTreeGridWriter::WriteAppendedArrayDataHelper(

Callers 1

WriteDataMethod · 0.95

Calls 2

GetDataSetNameMethod · 0.95
flushMethod · 0.45

Tested by

no test coverage detected