------------------------------------------------------------------------------
| 1719 | |
| 1720 | //------------------------------------------------------------------------------ |
| 1721 | int vtkXMLWriter::WriteStringAttribute(const char* name, const char* value) |
| 1722 | { |
| 1723 | ostream& os = *(this->Stream); |
| 1724 | os << " " << name << "=\"" << value << "\""; |
| 1725 | |
| 1726 | os.flush(); |
| 1727 | if (os.fail()) |
| 1728 | { |
| 1729 | this->SetErrorCode(vtkErrorCode::GetLastSystemError()); |
| 1730 | } |
| 1731 | return os ? 1 : 0; |
| 1732 | } |
| 1733 | |
| 1734 | //------------------------------------------------------------------------------ |
| 1735 | // Methods used for serializing vtkInformation. ------------------------------ |
no test coverage detected