translator.intermediateBuilder.annotated.annotatedComparator
index
/home/yentl/UA/devs-eindwerk/translator/translator/intermediateBuilder/annotated/annotatedComparator.py

 
Classes
       
translator.intermediateBuilder.annotated.annotatedArithmetic.AnnotatedArithmetic(translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode)
AnnotatedComparator

 
class AnnotatedComparator(translator.intermediateBuilder.annotated.annotatedArithmetic.AnnotatedArithmetic)
    AnnotatedComparator is the annotated version of the comparator
 
 
Method resolution order:
AnnotatedComparator
translator.intermediateBuilder.annotated.annotatedArithmetic.AnnotatedArithmetic
translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode
translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement
builtins.object

Methods defined here:
__init__(self, arithmetic, coordinates)
Constructor
bindArithmeticWithComp(self, annotatedComponentList, annotatedConnectionList, inputsFound, connectedInputs)
Overwrites the parent function (but has the same meaning)
bindArithmeticWithInputWires(self, annotatedConnectionList, inputsFound, connectedInputs)
Overwrites the parent function (but has the same meaning)
bindCompWithComp(self, coordinate, inputComp, annotatedConnectionList, inputsFound, connectedInputs=[(270, 170), (270, 250), (270, 150), (260, 450), (270, 230)], extraInfo=None)
Overwrites the parent function (but has the same meaning)
bindOutput(self, annotatedConnectionList, annotatedComponentList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName='')
Overwrites the parent function (but has the same meaning)
getInputCoordinates(self, list)
Overwrites the parent function (but has the same meaning)
getOutputCoordinates(self, list)
Overwrites the parent function (but has the same meaning)
setInputRight(self, coordinate, annotatedConnection, inputsFound, extraInfo)
Overwrites the parent function (but has the same meaning)

Methods inherited from translator.intermediateBuilder.annotated.annotatedArithmetic.AnnotatedArithmetic:
bindWithInputWiresOrComp(self, annotatedComponentList, annotatedConnectionList)
Overwrites the parent function (but has the same meaning)

Methods inherited from translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode:
bindOutputWtihExtraInfoOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, extraInfo, collide, faultList, circuitName='')
Binds the specified coordinate with the output it matches with (and sets the right extraInfo)
bindWithComp(self, coordinate, annotatedComp, annotatedConnectionList, inputsFound, coordinatesToCheck, connectedInputs=[], extraInfo=None)
If the coordinate equals the component coordinates, we can bind the component with the other component
bindWithInputWires(self, coordinate, annotatedConnection, annotatedConnectionList, inputsFound, connectedInputs=[(450, 510), (310, 140), (120, 170), (230, 310), (260, 170), (200, 340), (200, 310), (560, 250), (310, 300), (150, 270), (170, 200), (170, 230), (270, 300), (270, 390), (410, 410), (420, 520), (400, 640), (70, 160), (230, 190), (110, 180), ...], extraInfo=None)
Binds a component with its input wires)
findExtraCoordinates(self)
Searches for extra coordinates, that weren't specified in the xml tree
invertFacing(self)
Inverts the facing of the node

Methods inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
bindDirectlyConnectedOutputWires(self, coordinates, tmpAnnotatedConnectionList, annotatedConnectionList, collide)
Bind all wires that have their starting point or ending point directly connected to the output pin (equals coordinates)
bindIndirectlyConnectedOutputWires(self, tmpAnnotatedConnectionList, annotatedConnectionList, inputList, collide)
Bind all wires that have their starting point or ending point indirectly connected to the output pin
Wires whose starting points aren't directly connected to a component, but who are still connected to a component by means of another wire or multiple wires, 
also need to be bound
bindOutputOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName, component=None)
Binds the specified coordinate with the output it matches with
testOtherCompOutputs(self, coordinatesTo, annotatedComponentList, faultList, circuitName='')
Test whether one input pin, gets two or more input signals

Data descriptors inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)