Public Member Functions | |
def | __init__ (self, diff=[], hasDifference=False) |
def | __len__ (self) |
def | __str__ (self) |
def | extend (self, diff) |
def | hasDifference (self) |
def | highlight (self, plus=False, minus=False) |
def | highlightLines (self, plusregexs=[], minusregexs=[]) |
def | lines (self) |
def | setDifference (self, diff=True) |
Private Member Functions | |
def | _highlightLine (self, line, plus, minus) |
Private Attributes | |
_diff | |
_hasDifference | |
Definition at line 86 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff._DiffResult.__init__ | ( | self, | |
diff = [] , |
|||
hasDifference = False |
|||
) |
Definition at line 87 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff._DiffResult.__len__ | ( | self | ) |
Definition at line 156 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
def ntuplePrintersDiff._DiffResult.__str__ | ( | self | ) |
Definition at line 153 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, join(), and str.
|
private |
Definition at line 106 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.highlight(), and ntuplePrintersDiff._DiffResult.highlightLines().
def ntuplePrintersDiff._DiffResult.extend | ( | self, | |
diff | |||
) |
Definition at line 98 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, mps_setup.append, and ntuplePrintersDiff._DiffResult.setDifference().
Referenced by MatrixUtil.WF.__init__().
def ntuplePrintersDiff._DiffResult.hasDifference | ( | self | ) |
Definition at line 95 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Definition at line 116 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.highlightLines | ( | self, | |
plusregexs = [] , |
|||
minusregexs = [] |
|||
) |
Definition at line 126 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.lines | ( | self | ) |
Definition at line 145 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
def ntuplePrintersDiff._DiffResult.setDifference | ( | self, | |
diff = True |
|||
) |
Definition at line 92 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Referenced by ntuplePrintersDiff._DiffResult.extend().
|
private |
Definition at line 88 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.__len__(), ntuplePrintersDiff._DiffResult.__str__(), ntuplePrintersDiff._DiffResult.extend(), ntuplePrintersDiff._DiffResult.highlight(), ntuplePrintersDiff._DiffResult.highlightLines(), and ntuplePrintersDiff._DiffResult.lines().
|
private |
Definition at line 89 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.hasDifference(), and ntuplePrintersDiff._DiffResult.setDifference().