okteta
KPieceTable::Piece Class Reference
#include <piece.h>
Inheritance diagram for KPieceTable::Piece:

Public Types | |
enum | { OriginalStorage, ChangeStorage } |
Public Member Functions | |
Piece (Address storageOffset, Size size, int storageId) | |
Piece (const AddressRange &storageRange, int storageId) | |
Piece () | |
bool | append (const Piece &other) |
bool | prepend (const Piece &other) |
Piece | remove (const AddressRange &removeStorageRange) |
Piece | removeEndBehindLocal (Address storageOffset) |
Piece | removeLocal (const AddressRange &localRemoveStorageRange) |
Piece | removeStartBeforeLocal (Address storageOffset) |
void | setStorageId (int storageId) |
Piece | splitAt (Address storageOffset) |
Piece | splitAtLocal (Address localStorageOffset) |
int | storageId () const |
Piece | subPiece (const AddressRange &local) const |
![]() | |
NumberRange (N startIndex, N endIndex) | |
NumberRange (const NumberRange &other) | |
NumberRange () | |
~NumberRange () | |
void | adaptToReplacement (N offset, S removedLength, S insertedLength) |
bool | append (const NumberRange &other) |
bool | isJoinable (const NumberRange &other) const |
N | localIndex (N index) const |
NumberRange | localRange (const NumberRange &other) const |
void | moveToEnd (N end) |
void | moveToStart (N other) |
N | nextBeforeStart () const |
N | nextBehindEnd () const |
NumberRange & | operator= (const NumberRange &other) |
bool | operator== (const NumberRange &other) const |
bool | prepend (const NumberRange &other) |
NumberRange | remove (const NumberRange &removeRange) |
NumberRange | removeLocal (const NumberRange &removeRange) |
void | restrictEndByWidth (S width) |
void | setByWidth (N other, S width) |
void | setEndByWidth (S width) |
void | setEndNextBefore (const NumberRange &other) |
void | setEndNextBefore (N index) |
void | setStartByWidth (S width) |
void | setStartNextBehind (const NumberRange &other) |
void | setStartNextBehind (N index) |
NumberRange | splitAt (N index) |
NumberRange | splitAtLocal (N index) |
N | startForInclude (const NumberRange &other) const |
NumberRange | subRange (const NumberRange &localRange) const |
S | width () const |
![]() | |
Range (NS, NE) | |
Range () | |
~Range () | |
N | end () const |
bool | endsBefore (NValue) const |
bool | endsBefore (const Range &R) const |
bool | endsBehind (NValue) const |
bool | endsBehind (const Range &R) const |
void | extendEndTo (NLimit) |
void | extendStartTo (NLimit) |
void | extendTo (const Range &Limit) |
bool | includes (NValue) const |
bool | includes (const Range &R) const |
bool | includesInside (NValue) const |
bool | includesInside (const Range &R) const |
bool | isEmpty () const |
bool | isValid () const |
void | moveBy (ND) |
void | moveEndBy (ND) |
void | moveStartBy (ND) |
Range & | operator= (const Range &R) |
bool | operator== (const Range &R) const |
bool | overlaps (const Range &R) const |
void | restrictEndTo (NLimit) |
void | restrictStartTo (NLimit) |
void | restrictTo (const Range &Limit) |
void | set (NS, NE) |
void | set (const Range &R) |
void | setEnd (NE) |
void | setStart (NS) |
N | start () const |
bool | startsBefore (NValue) const |
bool | startsBefore (const Range &R) const |
bool | startsBehind (NValue) const |
bool | startsBehind (const Range &R) const |
void | unset () |
Protected Attributes | |
int | mStorageId |
![]() | |
N | End |
N | Start |
Additional Inherited Members | |
![]() | |
static NumberRange | fromWidth (N startIndex, S width) |
static NumberRange | fromWidth (S width) |
![]() | |
const N | null () const |
Detailed Description
Member Enumeration Documentation
Constructor & Destructor Documentation
|
inline |
Member Function Documentation
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Member Data Documentation
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 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:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.