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 87 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff._DiffResult.__init__ | ( | self, | |
diff = [] , |
|||
hasDifference = False |
|||
) |
Definition at line 88 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff._DiffResult.__len__ | ( | self | ) |
Definition at line 157 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
def ntuplePrintersDiff._DiffResult.__str__ | ( | self | ) |
Definition at line 154 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, join(), and str.
|
private |
Definition at line 107 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.highlight(), and ntuplePrintersDiff._DiffResult.highlightLines().
def ntuplePrintersDiff._DiffResult.extend | ( | self, | |
diff | |||
) |
Definition at line 99 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 96 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Definition at line 117 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.highlightLines | ( | self, | |
plusregexs = [] , |
|||
minusregexs = [] |
|||
) |
Definition at line 127 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.lines | ( | self | ) |
Definition at line 146 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
def ntuplePrintersDiff._DiffResult.setDifference | ( | self, | |
diff = True |
|||
) |
Definition at line 93 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Referenced by ntuplePrintersDiff._DiffResult.extend().
|
private |
Definition at line 89 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 90 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.hasDifference(), and ntuplePrintersDiff._DiffResult.setDifference().