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

Method keys

Wrapping/Python/vtkmodules/util/data_model.py:73–81  ·  view source on GitHub ↗

Returns the names of the arrays as a list.

(self)

Source from the content-addressed store, hash-verified

71 return self.HasArray(aname)
72
73 def keys(self):
74 """Returns the names of the arrays as a list."""
75 kys = []
76 narrays = self.GetNumberOfArrays()
77 for i in range(narrays):
78 name = self.GetAbstractArray(i).GetName()
79 if name:
80 kys.append(name)
81 return tuple(kys)
82
83 def values(self):
84 """Returns the arrays as a tuple."""

Callers 15

__eq__Method · 0.95
__iter__Method · 0.95
GetUrlNameMethod · 0.45
addDirectoryToZipFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
testTypeContainerFunction · 0.45
create_module_tableFunction · 0.45
reindentFunction · 0.45
parse_valgrind.pyFile · 0.45
MakeEdgeListFunction · 0.45
mainFunction · 0.45

Calls 5

GetAbstractArrayMethod · 0.80
rangeClass · 0.50
GetNumberOfArraysMethod · 0.45
GetNameMethod · 0.45
appendMethod · 0.45

Tested by 3

testTypeContainerFunction · 0.36
mainFunction · 0.36
testMethod · 0.36