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

Method enabled

Filters/Temporal/vtkDataObjectMeshCache.h:107–111  ·  view source on GitHub ↗

* Return true if the cache can safely and meaningfully be used. */

Source from the content-addressed store, hash-verified

105 * Return true if the cache can safely and meaningfully be used.
106 */
107 bool enabled()
108 {
109 return this->OriginalDataDefined && this->ConsumerDefined && this->CacheDefined &&
110 this->ConsumerUnmodified && this->OriginalMeshUnmodified && this->AttributesIdsExists;
111 }
112
113 /**
114 * Return true if and only if every members are equals.

Callers 11

UseCacheIfPossibleMethod · 0.80
TestDefaultFunction · 0.80
TestCacheInitializationFunction · 0.80
TestModifiedTimeFunction · 0.80
TestAttributesIdsFunction · 0.80
TestInvalidateCacheFunction · 0.80
TestUseCacheFunction · 0.80
TestMeshOnlyFunction · 0.80
TestGhostCellsFunction · 0.80
TestUseCompositeCacheFunction · 0.80
TestUnsupportedInputsFunction · 0.80

Calls

no outgoing calls

Tested by 10

TestDefaultFunction · 0.64
TestCacheInitializationFunction · 0.64
TestModifiedTimeFunction · 0.64
TestAttributesIdsFunction · 0.64
TestInvalidateCacheFunction · 0.64
TestUseCacheFunction · 0.64
TestMeshOnlyFunction · 0.64
TestGhostCellsFunction · 0.64
TestUseCompositeCacheFunction · 0.64
TestUnsupportedInputsFunction · 0.64