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

Method WriteVectorAttribute

IO/XML/vtkXMLWriter.cxx:1622–1632  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1620
1621//------------------------------------------------------------------------------
1622int vtkXMLWriter::WriteVectorAttribute(const char* name, int length, int* data)
1623{
1624 int res = vtkXMLWriterWriteVectorAttribute(*(this->Stream), name, length, data);
1625
1626 this->Stream->flush();
1627 if (this->Stream->fail())
1628 {
1629 this->SetErrorCode(vtkErrorCode::GetLastSystemError());
1630 }
1631 return res;
1632}
1633
1634//------------------------------------------------------------------------------
1635int vtkXMLWriter::WriteVectorAttribute(const char* name, int length, float* data)

Calls 2

flushMethod · 0.45

Tested by

no test coverage detected