( rootParameter, classTypeFilter=(IECore.Parameterised,), classNameFilter="*" )
| 58 | # The classNameFilter parameter specified an optional string which will be |
| 59 | # used with fnmatch to filter based on the class path. |
| 60 | def findClasses( rootParameter, classTypeFilter=(IECore.Parameterised,), classNameFilter="*" ) : |
| 61 | |
| 62 | result = [] |
| 63 | __findClassesWalk( rootParameter, [], [], classTypeFilter, re.compile( fnmatch.translate( classNameFilter ) ), result ) |
| 64 | return result |
| 65 | |
| 66 | def __findClassesWalk( parameter, parameterPath, uiPath, classTypeFilter, classNameFilter, result ) : |
| 67 |
nothing calls this directly
no test coverage detected