Daff - Data Diff

daff.Unit

The row/column number for related content in the local table, the remote table, and the parent table (if there is one).

Type: class

Constructor:

new(?l : Int, ?r : Int, ?p : Int)

Parameters:

  • l the row/column number in the local table (-1 means absent)
  • r the row/column number in the remote table (-1 means absent)
  • p the row/column number in the parent table (-1 means absent, -2 means there is no parent)

Variables:

l : Int
  The row/column number in the local table.
p : Int
  The row/column number in the parent table.
r : Int
  The row/column number in the remote table.

Methods:

fromString (txt : String) : Bool
  Read from a serialized version of the row/column numbers

Parameters: txt the string to read

Returns: true on success

lp () : Int

Returns: the row/column number in the parent table if present, otherwise in the local table

toBase26String () : String

Returns: as for toString(), but representing row/column numbers as A,B,C,D,…,AA,AB,AC,AD,….

toString () : String

Returns: a text serialization of the row/column numbers, as LL:RR when the parent is absent, and PP|LL:RR when the parent is present