コード例 #1
0
ファイル: model_object.py プロジェクト: woutersmet/Zeo_thesis
 def __init__(self, **initstate):
     # some debugging code
     #Node.count += 1
     #print " PLUS => Initializing " + str(self.__class__) + " (" + str(Node.count) + ") " + hex(id(self))
     Node.__init__(self)
     # initialisation of non state variables
     self.initnonstate()
     # further initialize the state (the properties)
     self.initstate(**initstate)
コード例 #2
0
ファイル: model_object.py プロジェクト: yuhangwang/zeobuilder
 def __init__(self, **initstate):
     # some debugging code
     #Node.count += 1
     #print " PLUS => Initializing " + str(self.__class__) + " (" + str(Node.count) + ") " + hex(id(self))
     Node.__init__(self)
     # initialisation of non state variables
     self.initnonstate()
     # further initialize the state (the properties)
     self.initstate(**initstate)
コード例 #3
0
 def __init__(self, prefix):
     Node.__init__(self)
     self.target = None
     self.prefix = prefix
     self.icon = self.overlay_icon
コード例 #4
0
ファイル: reference.py プロジェクト: molmod/zeobuilder
 def __init__(self, prefix):
     Node.__init__(self)
     self.target = None
     self.prefix = prefix
     self.icon = self.overlay_icon