LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Compare::CompareSequence Class Reference

Look for the moved lines. More...

Collaboration diagram for Compare::CompareSequence:
[legend]

Public Member Functions

 CompareSequence (CompareData &rD1, CompareData &rD2, const MovedData &rMD1, const MovedData &rMD2)
 Find the differing lines. More...
 

Private Member Functions

void Compare (sal_uLong nStt1, sal_uLong nEnd1, sal_uLong nStt2, sal_uLong nEnd2)
 
sal_uLong CheckDiag (sal_uLong nStt1, sal_uLong nEnd1, sal_uLong nStt2, sal_uLong nEnd2, sal_uLong *pCost)
 

Private Attributes

CompareDatarData1
 
CompareDatarData2
 
const MovedDatarMoved1
 
const MovedDatarMoved2
 
std::unique_ptr< long[]> pMemory
 
long * pFDiag
 
long * pBDiag
 

Detailed Description

Look for the moved lines.

Definition at line 223 of file doccomp.cxx.

Constructor & Destructor Documentation

Compare::CompareSequence::CompareSequence ( CompareData rD1,
CompareData rD2,
const MovedData rMD1,
const MovedData rMD2 
)

Find the differing lines.

Definition at line 776 of file doccomp.cxx.

References Compare(), Compare::MovedData::GetCount(), pBDiag, pFDiag, and pMemory.

Member Function Documentation

sal_uLong Compare::CompareSequence::CheckDiag ( sal_uLong  nStt1,
sal_uLong  nEnd1,
sal_uLong  nStt2,
sal_uLong  nEnd2,
sal_uLong pCost 
)
private

Definition at line 839 of file doccomp.cxx.

References x, and y.

void Compare::CompareSequence::Compare ( sal_uLong  nStt1,
sal_uLong  nEnd1,
sal_uLong  nStt2,
sal_uLong  nEnd2 
)
private

Definition at line 789 of file doccomp.cxx.

References Compare::Compare().

Referenced by CompareSequence().

Member Data Documentation

long * Compare::CompareSequence::pBDiag
private

Definition at line 228 of file doccomp.cxx.

Referenced by CompareSequence().

long* Compare::CompareSequence::pFDiag
private

Definition at line 228 of file doccomp.cxx.

Referenced by CompareSequence().

std::unique_ptr<long[]> Compare::CompareSequence::pMemory
private

Definition at line 227 of file doccomp.cxx.

Referenced by CompareSequence().

CompareData& Compare::CompareSequence::rData1
private

Definition at line 225 of file doccomp.cxx.

CompareData & Compare::CompareSequence::rData2
private

Definition at line 225 of file doccomp.cxx.

const MovedData& Compare::CompareSequence::rMoved1
private

Definition at line 226 of file doccomp.cxx.

const MovedData & Compare::CompareSequence::rMoved2
private

Definition at line 226 of file doccomp.cxx.


The documentation for this class was generated from the following file: