Quark
0.1
|
TODO: rewrite comment Abstract base class for sequences that can be diffed. More...
#include <DiffSequence.h++>
Public Member Functions | |
virtual | ~DiffSequence () |
void | setText (const QStringRef &text) |
const QStringRef & | text () const |
int | length () const |
const QStringRef & | at (int index) const |
virtual int | mapStartIndex (int startIndex) const |
virtual int | mapEndIndex (int endIndex) const |
bool | isEmpty () const |
virtual bool | canRecurse () const |
virtual DiffSequence * | recurse (const DiffRange &range) const |
Protected Member Functions | |
DiffSequence (bool canRecurse=false) | |
virtual void | split (const QStringRef &text, QVector< QStringRef > &elements)=0 |
TODO: rewrite comment Abstract base class for sequences that can be diffed.
The typical implementations would be "sequence of lines" and "sequence of characters".
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in DiffTokenSequence.
|
inlinevirtual |
Reimplemented in DiffTokenSequence.
|
inlinevirtual |
Reimplemented in DiffLineSequence.
|
inline |
|
protectedpure virtual |
Implemented in DiffLineSequence, DiffTokenSequence, and DiffCharSequence.
|
inline |