MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / getnamespace

Function getnamespace

codegen/api_shared.py:285–289  ·  view source on GitHub ↗
(classname)

Source from the content-addressed store, hash-verified

283 return thetype
284
285def getnamespace(classname):
286 if(classname.find('::') != -1):
287 return classname[:classname.find('::')]
288 else:
289 return ''
290
291def getclasswithoutnamespace(classname):
292 if(classname.rfind('::') != -1):

Callers 11

loadfileFunction · 0.85
outputenumsFunction · 0.85
outputstructsFunction · 0.85
outputinterfacesFunction · 0.85
outputfntablesFunction · 0.85
outputfntabledeclsFunction · 0.85
outputfntableinitFunction · 0.85
outputfntableaccessFunction · 0.85
outputfntablefuncsFunction · 0.85
outputclassesFunction · 0.85
openvr_capi.h.pyFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected