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

Function hasValidKey

Common/Core/vtkDataArray.cxx:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template <typename InfoType, typename KeyType>
27bool hasValidKey(InfoType info, KeyType key, double range[2])
28{
29 if (info->Has(key))
30 {
31 info->Get(key, range);
32 return true;
33 }
34 return false;
35}
36
37template <typename InfoType, typename KeyType, typename ComponentKeyType>
38bool hasValidKey(InfoType info, KeyType key, ComponentKeyType ckey, double range[2], int comp)

Callers 2

ComputeFiniteRangeMethod · 0.85
ComputeRangeMethod · 0.85

Calls 3

GetInformationObjectMethod · 0.80
HasMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected