• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Member Functions | Static Public Member Functions | List of all members
KateBufBlockList Class Reference

#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

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

Author
Christoph Cullmann cullm.nosp@m.ann@.nosp@m.kde.o.nosp@m.rg

Definition at line 248 of file katebuffer.h.

Constructor & Destructor Documentation

◆ KateBufBlockList()

KateBufBlockList::KateBufBlockList ( )

Default Constructor.

Definition at line 1582 of file katebuffer.cpp.

Member Function Documentation

◆ append()

void KateBufBlockList::append ( KateBufBlock *  buf)

append a block to this list ! will remove it from the list it belonged before !

Parameters
bufblock to append

Definition at line 1589 of file katebuffer.cpp.

◆ count()

uint KateBufBlockList::count ( ) const
inline

count of blocks in this list

Returns
count of blocks

Definition at line 261 of file katebuffer.h.

◆ first()

KateBufBlock* KateBufBlockList::first ( )
inline

first block in this list or 0

Returns
head of list

Definition at line 267 of file katebuffer.h.

◆ isFirst()

bool KateBufBlockList::isFirst ( KateBufBlock *  buf)
inline

is buf the last block?

Parameters
bufblock to test
Returns
is this block the first one?

Definition at line 280 of file katebuffer.h.

◆ isLast()

bool KateBufBlockList::isLast ( KateBufBlock *  buf)
inline

is buf the last block?

Parameters
bufblock to test
Returns
is this block the last one?

Definition at line 287 of file katebuffer.h.

◆ last()

KateBufBlock* KateBufBlockList::last ( )
inline

last block in this list or 0

Returns
end of list

Definition at line 273 of file katebuffer.h.

◆ remove()

static void KateBufBlockList::remove ( KateBufBlock *  buf)
inlinestatic

remove the block from the list it belongs to !

Parameters
bufblock to remove

Definition at line 300 of file katebuffer.h.


The documentation for this class was generated from the following files:
  • katebuffer.h
  • katebuffer.cpp

kate

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

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kate by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |