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

Class UrlCounterDict

Web/Python/vtkmodules/web/vtkjs_helper.py:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 return
112
113 class UrlCounterDict(dict):
114 Counter = 0
115
116 def GetUrlName(self, name):
117 if name not in self.keys():
118 self[name] = str(objNameToUrls.Counter)
119 self.Counter = self.Counter + 1
120 return self[name]
121
122 def InitIndex(sourcePath, destObj):
123 with open(sourcePath, "r") as sourceFile:

Callers 1

zipAllTimeStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected