List of all members.
Detailed Description
Definition at line 6 of file SequenceVisitors.py.
Constructor & Destructor Documentation
def SequenceVisitors::PathValidator::__init__ |
( |
|
self | ) |
|
Member Function Documentation
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 |
|
) |
| |
def SequenceVisitors::PathValidator::setLabel |
( |
|
self, |
|
|
|
label |
|
) |
| |
Member Data Documentation