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

Method __init__

python/IECore/ClassParameter.py:43–52  ·  view source on GitHub ↗
( self, name, description, searchPathEnvVar, className="", classVersion=0, userData=None )

Source from the content-addressed store, hash-verified

41class ClassParameter( IECore.CompoundParameter ) :
42
43 def __init__( self, name, description, searchPathEnvVar, className="", classVersion=0, userData=None ) :
44
45 IECore.CompoundParameter.__init__( self, name, description, userData=userData )
46
47 self.__classInstance = None
48 self.__className = ""
49 self.__classVersion = 0
50 self.__searchPathEnvVar = searchPathEnvVar
51
52 self.setClass( className, classVersion, searchPathEnvVar )
53
54 ## Return the class being held. If withClassLoaderArgs is True then a tuple is returned
55 # in the following form : ( class, className, classVersion, searchPathEnvVar ).

Callers

nothing calls this directly

Calls 1

setClassMethod · 0.95

Tested by

no test coverage detected