------------------------------------------------------------------------------
| 299 | |
| 300 | //------------------------------------------------------------------------------ |
| 301 | const char* vtkXMLDataElement::GetAttribute(const char* name) |
| 302 | { |
| 303 | if (!name) |
| 304 | { |
| 305 | return nullptr; |
| 306 | } |
| 307 | |
| 308 | int i; |
| 309 | for (i = 0; i < this->NumberOfAttributes; ++i) |
| 310 | { |
| 311 | if (strcmp(this->AttributeNames[i], name) == 0) |
| 312 | { |
| 313 | return this->AttributeValues[i]; |
| 314 | } |
| 315 | } |
| 316 | return nullptr; |
| 317 | } |
| 318 | |
| 319 | //------------------------------------------------------------------------------ |
| 320 | const char* vtkXMLDataElement::GetAttributeName(int idx) |
no outgoing calls
no test coverage detected