------------------------------------------------------------------------------ Description: Collection is composite object and need to check each part for MTime.
| 343 | // Description: |
| 344 | // Collection is composite object and need to check each part for MTime. |
| 345 | vtkMTimeType vtkGenericAttributeCollection::GetMTime() |
| 346 | { |
| 347 | vtkMTimeType result; |
| 348 | vtkMTimeType mtime; |
| 349 | |
| 350 | result = vtkObject::GetMTime(); |
| 351 | |
| 352 | for (int i = 0; i < this->GetNumberOfAttributes(); ++i) |
| 353 | { |
| 354 | mtime = this->GetAttribute(i)->GetMTime(); |
| 355 | result = (mtime > result ? mtime : result); |
| 356 | } |
| 357 | |
| 358 | return result; |
| 359 | } |
| 360 | |
| 361 | //------------------------------------------------------------------------------ |
| 362 | // Description: |
no test coverage detected