MCPcopy Create free account
hub / github.com/ImageEngine/cortex / classNames

Method classNames

python/IECore/ClassLoader.py:82–89  ·  view source on GitHub ↗
( self, matchString = "*" )

Source from the content-addressed store, hash-verified

80 # performs glob style matching to narrow down
81 # the set of names returned.
82 def classNames( self, matchString = "*" ) :
83
84 self.__findAllClasses()
85
86 ### \todo Support re, and allow exclusions, etc...
87 n = [ x for x in self.__classes.keys() if fnmatch( x, matchString ) ]
88 n.sort()
89 return n
90
91 ## Returns the available versions of the specified
92 # class as a list of ints, with the latest version last.

Callers 4

doOperationMethod · 0.95
testMethod · 0.95
testFinalSlashMethod · 0.95
testRefreshMethod · 0.95

Calls 3

__findAllClassesMethod · 0.95
sortMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected