okteta
#include <revertablepiecetable.h>
 | 
|   | RevertablePieceTable () | 
|   | 
| int  | appliedChangesCount () const  | 
|   | 
| QString  | changeDescription (int change) const  | 
|   | 
| int  | changesCount () const  | 
|   | 
| void  | closeGroupedChange (const QString &description) | 
|   | 
| void  | finishChange () | 
|   | 
| void  | getChangeData (ArrayChangeMetrics *metrics, Address *storageOffset, int versionIndex) const  | 
|   | 
| bool  | getStorageData (int *storageId, Address *storageOffset, Address dataOffset) const  | 
|   | 
| QString  | headChangeDescription () const  | 
|   | 
| void  | init (Size size) | 
|   | 
| bool  | insert (Address pos, Size length, Size *storageSize) | 
|   | 
| bool  | isAtBase () const  | 
|   | 
| void  | openGroupedChange (const QString &description) | 
|   | 
| bool  | remove (const AddressRange &removeRange) | 
|   | 
| bool  | replace (const AddressRange &removeRange, Size insertLength, Size *storageSize) | 
|   | 
| bool  | replace (Address removeStart, Size removeLength, Size insertLength, Size *storageSize) | 
|   | 
| bool  | replaceOne (Address dataOffset, Size *storageSize) | 
|   | 
| bool  | revertBeforeChange (int changeId, AddressRangeList *changedRanges, ArrayChangeMetricsList *changeList) | 
|   | 
| void  | setBeforeCurrentChangeAsBase (bool hide) | 
|   | 
| Size  | size () const  | 
|   | 
| bool  | swap (Address firstStart, const AddressRange &secondRange) | 
|   | 
| bool  | swap (Address firstStart, Address secondStart, Size secondLength) | 
|   | 
Definition at line 34 of file revertablepiecetable.h.
 
      
        
          | KPieceTable::RevertablePieceTable::RevertablePieceTable  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | int KPieceTable::RevertablePieceTable::appliedChangesCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | QString KPieceTable::RevertablePieceTable::changeDescription  | 
          ( | 
          int  | 
          change | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int KPieceTable::RevertablePieceTable::changesCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void KPieceTable::RevertablePieceTable::closeGroupedChange  | 
          ( | 
          const QString &  | 
          description | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
closes the current group and sets the parent group as current if there is one 
- Parameters
 - 
  
    | description | sets a new description for the group if not empty  | 
  
   
Definition at line 144 of file revertablepiecetable.h.
 
 
  
  
      
        
          | void KPieceTable::RevertablePieceTable::finishChange  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
closes the current change, so any following operation will not be tried to merge 
Definition at line 148 of file revertablepiecetable.h.
 
 
      
        
          | void KPieceTable::RevertablePieceTable::getChangeData  | 
          ( | 
          ArrayChangeMetrics *  | 
          metrics,  | 
        
        
           | 
           | 
          Address *  | 
          storageOffset,  | 
        
        
           | 
           | 
          int  | 
          versionIndex  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
  
  
      
        
          | bool KPieceTable::RevertablePieceTable::getStorageData  | 
          ( | 
          int *  | 
          storageId,  | 
         
        
           | 
           | 
          Address *  | 
          storageOffset,  | 
         
        
           | 
           | 
          Address  | 
          dataOffset  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | QString KPieceTable::RevertablePieceTable::headChangeDescription  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void KPieceTable::RevertablePieceTable::init  | 
          ( | 
          Size  | 
          size | ) | 
           | 
        
      
 
 
      
        
          | bool KPieceTable::RevertablePieceTable::insert  | 
          ( | 
          Address  | 
          pos,  | 
        
        
           | 
           | 
          Size  | 
          length,  | 
        
        
           | 
           | 
          Size *  | 
          storageSize  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | bool KPieceTable::RevertablePieceTable::isAtBase  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void KPieceTable::RevertablePieceTable::openGroupedChange  | 
          ( | 
          const QString &  | 
          description | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
opens a group of changes 
- Parameters
 - 
  
    | description | sets the description of the group  | 
  
   
Definition at line 139 of file revertablepiecetable.h.
 
 
      
        
          | bool KPieceTable::RevertablePieceTable::remove  | 
          ( | 
          const AddressRange &  | 
          removeRange | ) | 
           | 
        
      
 
 
      
        
          | bool KPieceTable::RevertablePieceTable::replace  | 
          ( | 
          const AddressRange &  | 
          removeRange,  | 
        
        
           | 
           | 
          Size  | 
          insertLength,  | 
        
        
           | 
           | 
          Size *  | 
          storageSize  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | bool KPieceTable::RevertablePieceTable::replace  | 
          ( | 
          Address  | 
          removeStart,  | 
         
        
           | 
           | 
          Size  | 
          removeLength,  | 
         
        
           | 
           | 
          Size  | 
          insertLength,  | 
         
        
           | 
           | 
          Size *  | 
          storageSize  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | bool KPieceTable::RevertablePieceTable::replaceOne  | 
          ( | 
          Address  | 
          dataOffset,  | 
        
        
           | 
           | 
          Size *  | 
          storageSize  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
closes the current change, so any following operation will not be tried to merge currently it also closes any opened groups 
- Parameters
 - 
  
    | changeId |  | 
    | changedRanges |  | 
    | changeList |  | 
  
   
Definition at line 150 of file revertablepiecetable.h.
 
 
  
  
      
        
          | void KPieceTable::RevertablePieceTable::setBeforeCurrentChangeAsBase  | 
          ( | 
          bool  | 
          hide | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | Size KPieceTable::RevertablePieceTable::size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | bool KPieceTable::RevertablePieceTable::swap  | 
          ( | 
          Address  | 
          firstStart,  | 
        
        
           | 
           | 
          const AddressRange &  | 
          secondRange  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | bool KPieceTable::RevertablePieceTable::swap  | 
          ( | 
          Address  | 
          firstStart,  | 
         
        
           | 
           | 
          Address  | 
          secondStart,  | 
         
        
           | 
           | 
          Size  | 
          secondLength  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | PieceTable KPieceTable::RevertablePieceTable::mPieceTable | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files:
 
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
KDE's Doxygen guidelines are available online.