Kate
KateBufBlockList Class Reference
list which allows O(1) inserts/removes will not delete the elements on remove will use the next/prevNode pointers in the KateBufBlocks ! internal use: loaded/clean/dirty block lists More...
#include <katebuffer.h>
| Public Member Functions | |
| void | append (KateBufBlock *buf) | 
| uint | count () const | 
| KateBufBlock * | first () | 
| bool | isFirst (KateBufBlock *buf) | 
| bool | isLast (KateBufBlock *buf) | 
| KateBufBlockList () | |
| KateBufBlock * | last () | 
| Static Public Member Functions | |
| static void | remove (KateBufBlock *buf) | 
Detailed Description
list which allows O(1) inserts/removes will not delete the elements on remove will use the next/prevNode pointers in the KateBufBlocks ! internal use: loaded/clean/dirty block lists
Definition at line 248 of file katebuffer.h.
Constructor & Destructor Documentation
| KateBufBlockList::KateBufBlockList | ( | ) | 
Member Function Documentation
| void KateBufBlockList::append | ( | KateBufBlock * | buf | ) | 
append a block to this list ! will remove it from the list it belonged before !
- Parameters:
- 
  buf block to append 
Definition at line 1589 of file katebuffer.cpp.
| uint KateBufBlockList::count | ( | ) | const  [inline] | 
| KateBufBlock* KateBufBlockList::first | ( | ) |  [inline] | 
| bool KateBufBlockList::isFirst | ( | KateBufBlock * | buf | ) |  [inline] | 
is buf the last block?
- Parameters:
- 
  buf block to test 
- Returns:
- is this block the first one?
Definition at line 280 of file katebuffer.h.
| bool KateBufBlockList::isLast | ( | KateBufBlock * | buf | ) |  [inline] | 
is buf the last block?
- Parameters:
- 
  buf block to test 
- Returns:
- is this block the last one?
Definition at line 287 of file katebuffer.h.
| KateBufBlock* KateBufBlockList::last | ( | ) |  [inline] | 
| static void KateBufBlockList::remove | ( | KateBufBlock * | buf | ) |  [inline, static] | 
remove the block from the list it belongs to !
- Parameters:
- 
  buf block to remove 
Definition at line 300 of file katebuffer.h.
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference