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

Method getClass

python/IECore/ClassParameter.py:56–61  ·  view source on GitHub ↗
( self, withClassLoaderArgs=False )

Source from the content-addressed store, hash-verified

54 ## Return the class being held. If withClassLoaderArgs is True then a tuple is returned
55 # in the following form : ( class, className, classVersion, searchPathEnvVar ).
56 def getClass( self, withClassLoaderArgs=False ) :
57
58 if withClassLoaderArgs :
59 return ( self.__classInstance, self.__className, self.__classVersion, self.__searchPathEnvVar )
60 else :
61 return self.__classInstance
62
63 ## Sets the class being held. The specified class is loaded using a ClassLoader and
64 # the class' parameters are added to this parameter as children.

Callers 11

testConstructorMethod · 0.95
testGetClassMethod · 0.95
testSetNoClassMethod · 0.95
__findClassesWalkFunction · 0.45
copyClassesFunction · 0.45
_grabClassParameterMethod · 0.45
_applyClassParameterMethod · 0.45
_applyClassVectorMethod · 0.45
_addClassToVectorMethod · 0.45
testFindClassesMethod · 0.45
testClassesMethod · 0.45

Calls

no outgoing calls

Tested by 4

testConstructorMethod · 0.76
testGetClassMethod · 0.76
testSetNoClassMethod · 0.76
testFindClassesMethod · 0.36