\section{Kate\-Buf\-Block\-List Class Reference}
\label{classKateBufBlockList}\index{KateBufBlockList@{KateBufBlockList}}
list which allows O(1) inserts/removes will not delete the elements on remove will use the next/prev\-Node pointers in the Kate\-Buf\-Blocks ! internal use: loaded/clean/dirty block lists  


{\tt \#include $<$katebuffer.h$>$}

Collaboration diagram for Kate\-Buf\-Block\-List:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=287pt]{classKateBufBlockList__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Kate\-Buf\-Block\-List} ()
\item 
uint {\bf count} () const 
\item 
{\bf Kate\-Buf\-Block} $\ast$ {\bf first} ()
\item 
{\bf Kate\-Buf\-Block} $\ast$ {\bf last} ()
\item 
bool {\bf is\-First} ({\bf Kate\-Buf\-Block} $\ast$buf)
\item 
bool {\bf is\-Last} ({\bf Kate\-Buf\-Block} $\ast$buf)
\item 
void {\bf append} ({\bf Kate\-Buf\-Block} $\ast$buf)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static void {\bf remove} ({\bf Kate\-Buf\-Block} $\ast$buf)
\end{CompactItemize}


\subsection{Detailed Description}
list which allows O(1) inserts/removes will not delete the elements on remove will use the next/prev\-Node pointers in the Kate\-Buf\-Blocks ! internal use: loaded/clean/dirty block lists 

\begin{Desc}
\item[Author:]Christoph Cullmann $<${\tt cullmann@kde.org}$>$ \end{Desc}




Definition at line 248 of file katebuffer.h.

\subsection{Constructor \& Destructor Documentation}
\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!KateBufBlockList@{KateBufBlockList}}
\index{KateBufBlockList@{KateBufBlockList}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Kate\-Buf\-Block\-List::Kate\-Buf\-Block\-List ()}\label{classKateBufBlockList_a0}


Default Constructor. 



Definition at line 1476 of file katebuffer.cpp.

\subsection{Member Function Documentation}
\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!count@{count}}
\index{count@{count}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}uint Kate\-Buf\-Block\-List::count () const\hspace{0.3cm}{\tt  [inline]}}\label{classKateBufBlockList_a1}


count of blocks in this list 

\begin{Desc}
\item[Returns:]count of blocks \end{Desc}


Definition at line 261 of file katebuffer.h.

Referenced by Kate\-Buf\-Block::Kate\-Buf\-Block().\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!first@{first}}
\index{first@{first}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Kate\-Buf\-Block}$\ast$ Kate\-Buf\-Block\-List::first ()\hspace{0.3cm}{\tt  [inline]}}\label{classKateBufBlockList_a2}


first block in this list or 0 

\begin{Desc}
\item[Returns:]head of list \end{Desc}


Definition at line 267 of file katebuffer.h.

Referenced by Kate\-Buf\-Block::Kate\-Buf\-Block().\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!last@{last}}
\index{last@{last}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Kate\-Buf\-Block}$\ast$ Kate\-Buf\-Block\-List::last ()\hspace{0.3cm}{\tt  [inline]}}\label{classKateBufBlockList_a3}


last block in this list or 0 

\begin{Desc}
\item[Returns:]end of list \end{Desc}


Definition at line 273 of file katebuffer.h.\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!isFirst@{isFirst}}
\index{isFirst@{isFirst}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Kate\-Buf\-Block\-List::is\-First ({\bf Kate\-Buf\-Block} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [inline]}}\label{classKateBufBlockList_a4}


is buf the last block? 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]block to test \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]is this block the first one? \end{Desc}


Definition at line 280 of file katebuffer.h.\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!isLast@{isLast}}
\index{isLast@{isLast}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Kate\-Buf\-Block\-List::is\-Last ({\bf Kate\-Buf\-Block} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [inline]}}\label{classKateBufBlockList_a5}


is buf the last block? 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]block to test \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]is this block the last one? \end{Desc}


Definition at line 287 of file katebuffer.h.

Referenced by Kate\-Buf\-Block::line(), and Kate\-Buf\-Block::mark\-Dirty().\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!append@{append}}
\index{append@{append}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Kate\-Buf\-Block\-List::append ({\bf Kate\-Buf\-Block} $\ast$ {\em buf})}\label{classKateBufBlockList_a6}


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

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]block to append \end{description}
\end{Desc}


Definition at line 1483 of file katebuffer.cpp.

References Kate\-Buf\-Block::list, Kate\-Buf\-Block::list\-Next, and Kate\-Buf\-Block::list\-Prev.

Referenced by Kate\-Buf\-Block::Kate\-Buf\-Block(), Kate\-Buf\-Block::line(), and Kate\-Buf\-Block::mark\-Dirty().\index{KateBufBlockList@{Kate\-Buf\-Block\-List}!remove@{remove}}
\index{remove@{remove}!KateBufBlockList@{Kate\-Buf\-Block\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void Kate\-Buf\-Block\-List::remove ({\bf Kate\-Buf\-Block} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [inline, static]}}\label{classKateBufBlockList_e0}


remove the block from the list it belongs to ! 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]block to remove \end{description}
\end{Desc}


Definition at line 300 of file katebuffer.h.

References Kate\-Buf\-Block::list, and remove\-Internal().

Referenced by Kate\-Buf\-Block::$\sim$Kate\-Buf\-Block().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
katebuffer.h\item 
katebuffer.cpp\end{CompactItemize}
