------------------------------------------------------------------------------
| 972 | |
| 973 | //------------------------------------------------------------------------------ |
| 974 | void vtkDataAssembly::SetAttribute(int id, const char* name, const char* value) |
| 975 | { |
| 976 | const auto& internals = (*this->Internals); |
| 977 | auto node = internals.FindNode(id); |
| 978 | auto attr = node.attribute(name); |
| 979 | if (!attr) |
| 980 | { |
| 981 | attr = node.append_attribute(name); |
| 982 | } |
| 983 | attr.set_value(value); |
| 984 | this->Modified(); |
| 985 | } |
| 986 | |
| 987 | //------------------------------------------------------------------------------ |
| 988 | void vtkDataAssembly::SetAttribute(int id, const char* name, int value) |
no test coverage detected