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

Method GetMTime

Common/DataModel/vtkGenericAttributeCollection.cxx:345–359  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Collection is composite object and need to check each part for MTime.

Source from the content-addressed store, hash-verified

343// Description:
344// Collection is composite object and need to check each part for MTime.
345vtkMTimeType 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:

Callers 1

ComputeNumbersMethod · 0.95

Calls 3

GetNumberOfAttributesMethod · 0.95
GetAttributeMethod · 0.95
GetMTimeFunction · 0.85

Tested by

no test coverage detected