okteta
#include <grouppiecetablechange.h>
Protected Attributes | |
int | mAppliedChangesCount |
Size | mAppliedChangesDataSize |
QStack < AbstractPieceTableChange * > | mChangeStack |
QString | mDescription |
GroupPieceTableChange * | mParent |
bool | mTryToMergeAppendedChange |
Additional Inherited Members | |
Public Types inherited from KPieceTable::AbstractPieceTableChange | |
enum | TypeId { InsertId, RemoveId, ReplaceId, SwapRangesId, FillId, ReplaceOneId, GroupId } |
Detailed Description
class
Definition at line 48 of file grouppiecetablechange.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 108 of file grouppiecetablechange.h.
|
virtual |
Definition at line 183 of file grouppiecetablechange.cpp.
Member Function Documentation
bool KPieceTable::GroupPieceTableChange::appendChange | ( | AbstractPieceTableChange * | change | ) |
Definition at line 75 of file grouppiecetablechange.cpp.
|
inline |
- Returns
- number of changes currently applied
Definition at line 120 of file grouppiecetablechange.h.
int KPieceTable::GroupPieceTableChange::appliedChangesDataSize | ( | ) | const |
- Returns
- true if the current change is the base
- size of the data used by the applied changes
|
virtual |
Implements KPieceTable::AbstractPieceTableChange.
Definition at line 54 of file grouppiecetablechange.cpp.
AddressRangeList KPieceTable::GroupPieceTableChange::applyGroup | ( | PieceTable * | pieceTable | ) | const |
Definition at line 112 of file grouppiecetablechange.cpp.
|
inline |
- Returns
- description of the change with the id changeId
Definition at line 122 of file grouppiecetablechange.h.
|
inline |
- Returns
- number of changes in the history
Definition at line 119 of file grouppiecetablechange.h.
|
virtual |
returns the size of the added data. Default returns 0.
Reimplemented from KPieceTable::AbstractPieceTableChange.
Definition at line 178 of file grouppiecetablechange.cpp.
|
virtual |
Implements KPieceTable::AbstractPieceTableChange.
Definition at line 39 of file grouppiecetablechange.cpp.
|
inline |
Definition at line 118 of file grouppiecetablechange.h.
ArrayChangeMetricsList KPieceTable::GroupPieceTableChange::groupMetrics | ( | bool | reverted = false | ) | const |
Definition at line 153 of file grouppiecetablechange.cpp.
|
inline |
- Returns
- description of the change at the head, empty if there is none
Definition at line 121 of file grouppiecetablechange.h.
|
virtual |
returns true if successful, false otherwise. Default returns false.
Reimplemented from KPieceTable::AbstractPieceTableChange.
Definition at line 44 of file grouppiecetablechange.cpp.
|
virtual |
Implements KPieceTable::AbstractPieceTableChange.
Definition at line 70 of file grouppiecetablechange.cpp.
|
inline |
Definition at line 117 of file grouppiecetablechange.h.
|
virtual |
Implements KPieceTable::AbstractPieceTableChange.
Definition at line 62 of file grouppiecetablechange.cpp.
AddressRangeList KPieceTable::GroupPieceTableChange::revertGroup | ( | PieceTable * | pieceTable | ) | const |
Definition at line 131 of file grouppiecetablechange.cpp.
|
inline |
Definition at line 116 of file grouppiecetablechange.h.
|
virtual |
Implements KPieceTable::AbstractPieceTableChange.
Definition at line 37 of file grouppiecetablechange.cpp.
Member Data Documentation
|
protected |
Definition at line 100 of file grouppiecetablechange.h.
|
protected |
Definition at line 102 of file grouppiecetablechange.h.
|
protected |
Definition at line 95 of file grouppiecetablechange.h.
|
protected |
Definition at line 98 of file grouppiecetablechange.h.
|
protected |
Definition at line 96 of file grouppiecetablechange.h.
|
protected |
if true, try to merge changes
Definition at line 104 of file grouppiecetablechange.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.