Public Member Functions | |
def | __init__ |
def | enter |
def | leave |
def | setLabel |
Private Attributes | |
__label |
Definition at line 6 of file SequenceVisitors.py.
def SequenceVisitors::PathValidator::__init__ | ( | self | ) |
Definition at line 7 of file SequenceVisitors.py.
def SequenceVisitors::PathValidator::enter | ( | self, | |
visitee | |||
) |
Definition at line 11 of file SequenceVisitors.py.
00012 : 00013 if isinstance(visitee,OutputModule): 00014 raise ValueError("Path "+self.__label+"cannot contain an OutputModule, '"+visitee.type_()+"', with label '"+visitee.label_()+"'") 00015 if hasattr(visitee, "label_") and not isinstance(visitee,Sequence): 00016 if not visitee.hasLabel_(): raise ValueError("Path "+self.__label+"contains a module of type '"+visitee.type_()+"' which has no assigned label.\n Most likely the module was never added to the process or it got replaced before being inserted into the process.")
def SequenceVisitors::PathValidator::leave | ( | self, | |
visitee | |||
) |
Definition at line 17 of file SequenceVisitors.py.
def SequenceVisitors::PathValidator::setLabel | ( | self, | |
label | |||
) |
Definition at line 9 of file SequenceVisitors.py.
SequenceVisitors::PathValidator::__label [private] |
Definition at line 7 of file SequenceVisitors.py.