LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
CharArrayComparator Class Reference
Inheritance diagram for CharArrayComparator:
[legend]
Collaboration diagram for CharArrayComparator:
[legend]

Public Member Functions

 CharArrayComparator (const SwTextNode *pNode1, const SwTextNode *pNode2)
 
virtual bool Compare (int nIdx1, int nIdx2) const override
 
virtual int GetLen1 () const override
 
virtual int GetLen2 () const override
 
- Public Member Functions inherited from ArrayComparator
virtual ~ArrayComparator ()
 

Private Attributes

const SwTextNodepTextNd1
 
const SwTextNodepTextNd2
 

Detailed Description

Definition at line 294 of file doccomp.cxx.

Constructor & Destructor Documentation

CharArrayComparator::CharArrayComparator ( const SwTextNode pNode1,
const SwTextNode pNode2 
)
inline

Definition at line 300 of file doccomp.cxx.

Member Function Documentation

bool CharArrayComparator::Compare ( int  nIdx1,
int  nIdx2 
) const
overridevirtual
virtual int CharArrayComparator::GetLen1 ( ) const
inlineoverridevirtual

Implements ArrayComparator.

Definition at line 306 of file doccomp.cxx.

References SwTextNode::GetText().

Referenced by Compare().

virtual int CharArrayComparator::GetLen2 ( ) const
inlineoverridevirtual

Implements ArrayComparator.

Definition at line 307 of file doccomp.cxx.

References SwTextNode::GetText().

Referenced by Compare().

Member Data Documentation

const SwTextNode* CharArrayComparator::pTextNd1
private

Definition at line 297 of file doccomp.cxx.

Referenced by Compare().

const SwTextNode * CharArrayComparator::pTextNd2
private

Definition at line 297 of file doccomp.cxx.

Referenced by Compare().


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