Public Member Functions | |
def | __str__ |
def | dumpSequenceConfig |
def | dumpSequencePython |
def | hasLabel_ |
def | label |
def | label_ |
def | setLabel |
Private Member Functions | |
def | _findDependencies |
Private Attributes | |
__label |
A 'mixin' used to denote that the class can be paired with a label (e.g. an EDProducer)
def Mixins::_Labelable::__str__ | ( | self | ) |
Reimplemented in SequenceTypes::_ModuleSequenceType.
def Mixins::_Labelable::_findDependencies | ( | self, | |
knownDeps, | |||
presentDeps | |||
) | [private] |
Definition at line 420 of file Mixins.py.
00421 : 00422 #print 'in labelled' 00423 myDeps=knownDeps.get(self.label_(),None) 00424 if myDeps!=None: 00425 if presentDeps != myDeps: 00426 raise RuntimeError("the module "+self.label_()+" has two dependencies \n" 00427 +str(presentDeps)+"\n" 00428 +str(myDeps)+"\n" 00429 +"Please modify sequences to rectify this inconsistency") 00430 else: 00431 myDeps=set(presentDeps) 00432 knownDeps[self.label_()]=myDeps 00433 presentDeps.add(self.label_()) 00434
def Mixins::_Labelable::dumpSequenceConfig | ( | self | ) |
Reimplemented in SequenceTypes::_ModuleSequenceType.
def Mixins::_Labelable::dumpSequencePython | ( | self | ) |
Reimplemented in SequenceTypes::_ModuleSequenceType.
def Mixins::_Labelable::hasLabel_ | ( | self | ) |
def Mixins::_Labelable::label | ( | self | ) |
def Mixins::_Labelable::label_ | ( | self | ) |
def Mixins::_Labelable::setLabel | ( | self, | |
label | |||
) |
Mixins::_Labelable::__label [private] |