• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

okteta

KPieceTable::Piece

KPieceTable::Piece Class Reference

#include <piece.h>

Inheritance diagram for KPieceTable::Piece:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file piece.h.


Public Types

enum  { OriginalStorage, ChangeStorage }

Public Member Functions

bool append (const Piece &other)
 Piece ()
 Piece (const KHE::KSection &storageSection, int storageId)
 Piece (int storageOffset, int size, int storageId)
bool prepend (const Piece &other)
Piece remove (const KHE::KSection &removeStorageSection)
Piece removeEndBehindLocal (int storageOffset)
Piece removeLocal (const KHE::KSection &localRemoveStorageSection)
Piece removeStartBeforeLocal (int storageOffset)
void setStorageId (int storageId)
Piece splitAt (int storageOffset)
Piece splitAtLocal (int localStorageOffset)
int storageId () const
Piece subPiece (const KSection &local) const

Protected Attributes

int mStorageId

Member Enumeration Documentation

anonymous enum

Enumerator:
OriginalStorage 
ChangeStorage 

Definition at line 36 of file piece.h.


Constructor & Destructor Documentation

KPieceTable::Piece::Piece ( int  storageOffset,
int  size,
int  storageId 
) [inline]

Definition at line 68 of file piece.h.

KPieceTable::Piece::Piece ( const KHE::KSection &  storageSection,
int  storageId 
) [inline]

Definition at line 70 of file piece.h.

KPieceTable::Piece::Piece (  )  [inline]

Definition at line 72 of file piece.h.


Member Function Documentation

bool KPieceTable::Piece::append ( const Piece &  other  )  [inline]

Definition at line 116 of file piece.h.

bool KPieceTable::Piece::prepend ( const Piece &  other  )  [inline]

Definition at line 111 of file piece.h.

Piece KPieceTable::Piece::remove ( const KHE::KSection &  removeStorageSection  )  [inline]

Reimplemented from KHE::KSection.

Definition at line 85 of file piece.h.

Piece KPieceTable::Piece::removeEndBehindLocal ( int  storageOffset  )  [inline]

Definition at line 99 of file piece.h.

Piece KPieceTable::Piece::removeLocal ( const KHE::KSection &  localRemoveStorageSection  )  [inline]

Reimplemented from KHE::KSection.

Definition at line 89 of file piece.h.

Piece KPieceTable::Piece::removeStartBeforeLocal ( int  storageOffset  )  [inline]

Definition at line 93 of file piece.h.

void KPieceTable::Piece::setStorageId ( int  storageId  )  [inline]

Definition at line 75 of file piece.h.

Piece KPieceTable::Piece::splitAt ( int  storageOffset  )  [inline]

Reimplemented from KHE::KSection.

Definition at line 77 of file piece.h.

Piece KPieceTable::Piece::splitAtLocal ( int  localStorageOffset  )  [inline]

Reimplemented from KHE::KSection.

Definition at line 81 of file piece.h.

int KPieceTable::Piece::storageId (  )  const [inline]

Definition at line 73 of file piece.h.

Piece KPieceTable::Piece::subPiece ( const KSection &  local  )  const [inline]

Definition at line 106 of file piece.h.


Member Data Documentation

int KPieceTable::Piece::mStorageId [protected]

Definition at line 65 of file piece.h.


The documentation for this class was generated from the following file:
  • piece.h

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal