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 | |
KateBufBlockList () | |
uint | count () const |
KateBufBlock * | first () |
KateBufBlock * | last () |
bool | isFirst (KateBufBlock *buf) |
bool | isLast (KateBufBlock *buf) |
void | append (KateBufBlock *buf) |
Static Public Member Functions | |
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
- Author:
- Christoph Cullmann <cullmann@kde.org>
Definition at line 248 of file katebuffer.h.
Constructor & Destructor Documentation
|
Default Constructor. Definition at line 1337 of file katebuffer.cpp. |
Member Function Documentation
|
count of blocks in this list
Referenced by KateBufBlock::KateBufBlock(). |
|
first block in this list or 0
Referenced by KateBufBlock::KateBufBlock(). |
|
last block in this list or 0
|
|
is buf the last block?
|
|
is buf the last block?
Referenced by KateBufBlock::line(), and KateBufBlock::markDirty(). |
|
append a block to this list ! will remove it from the list it belonged before !
References KateBufBlock::list, KateBufBlock::listNext, KateBufBlock::listPrev, and removeInternal(). Referenced by KateBufBlock::KateBufBlock(), KateBufBlock::line(), and KateBufBlock::markDirty(). |
|
remove the block from the list it belongs to !
References KateBufBlock::list, and removeInternal(). Referenced by KateBufBlock::~KateBufBlock(). |
The documentation for this class was generated from the following files: