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 85 of file ntuplePrintersDiff.py.
Definition at line 86 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff._DiffResult.__len__ | ( | self | ) |
Definition at line 155 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
def ntuplePrintersDiff._DiffResult.__str__ | ( | self | ) |
Definition at line 152 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, ALCARECOTkAlBeamHalo_cff.filter, join(), and harvestTrackValidationPlots.str.
|
private |
Definition at line 105 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.highlight(), and ntuplePrintersDiff._DiffResult.highlightLines().
def ntuplePrintersDiff._DiffResult.extend | ( | self, | |
diff | |||
) |
Definition at line 97 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult.setDifference().
Referenced by MatrixUtil.WF.__init__().
def ntuplePrintersDiff._DiffResult.hasDifference | ( | self | ) |
Definition at line 94 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Definition at line 115 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.highlightLines | ( | self, | |
plusregexs = [] , |
|||
minusregexs = [] |
|||
) |
Definition at line 125 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff, and ntuplePrintersDiff._DiffResult._highlightLine().
def ntuplePrintersDiff._DiffResult.lines | ( | self | ) |
Definition at line 144 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._diff.
Definition at line 91 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._DiffResult._hasDifference.
Referenced by ntuplePrintersDiff._DiffResult.extend().
|
private |
|
private |
Definition at line 88 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff._DiffResult.hasDifference(), and ntuplePrintersDiff._DiffResult.setDifference().