okteta
revertablepiecetable.cpp
Go to the documentation of this file.
45 void RevertablePieceTable::getChangeData( ArrayChangeMetrics* metrics, Address* storageOffset, int versionIndex ) const
72 bool RevertablePieceTable::replace( const AddressRange& removeRange, Size insertLength, Size* storageSize )
103 new ReplacePieceTableChange( AddressRange::fromWidth(dataOffset,1), 1, *storageSize, replacedPieces );
void getChangeData(ArrayChangeMetrics *metrics, Address *storageOffset, int versionIndex) const
Definition: piecetablechangehistory.cpp:48
PieceTable mPieceTable
Definition: revertablepiecetable.h:98
Size appliedChangesDataSize() const
Definition: piecetablechangehistory.h:124
void getChangeData(ArrayChangeMetrics *metrics, Address *storageOffset, int versionIndex) const
Definition: revertablepiecetable.cpp:45
bool replace(const AddressRange &removeRange, Size insertLength, Size *storageSize)
Definition: revertablepiecetable.cpp:72
RevertablePieceTable()
Definition: revertablepiecetable.cpp:37
bool swap(Address firstStart, const AddressRange &secondRange)
Definition: revertablepiecetable.cpp:85
Definition: piecelist.h:35
bool replaceOne(Address dataOffset, Size *storageSize)
Definition: revertablepiecetable.cpp:95
static NumberRange fromWidth(AddressstartIndex, Sizewidth)
constructs a range by width
void swap(Address firstStart, const AddressRange &secondRange)
Definition: piecetable.cpp:311
Piece replaceOne(Address dataOffset, Address storageOffset, int storageId=Piece::ChangeStorage)
Definition: piecetable.cpp:406
PieceTableChangeHistory mChangeHistory
Definition: revertablepiecetable.h:99
Definition: piece.h:38
PieceList remove(const AddressRange &removeRange)
Definition: piecetable.cpp:192
void insert(Address insertDataOffset, Size insertLength, Address storageOffset)
Definition: piecetable.cpp:73
bool remove(const AddressRange &removeRange)
Definition: revertablepiecetable.cpp:62
bool insert(Address pos, Size length, Size *storageSize)
Definition: revertablepiecetable.cpp:50
bool appendChange(AbstractPieceTableChange *change)
returns true, if a new change is appended, false if merged
Definition: piecetablechangehistory.cpp:89
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.