\hypertarget{classLineBuffer}{}\section{Line\+Buffer Class Reference}
\label{classLineBuffer}\index{Line\+Buffer@{Line\+Buffer}}


{\ttfamily \#include $<$line\+\_\+buffer.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classLineBuffer_a637893678418fa0ae4517891b3f1d1c1}{append} (const char $\ast$line, size\+\_\+t size)
\item 
bool \hyperlink{classLineBuffer_aeeb6e44909d8847341b43c99555bbf46}{has\+\_\+lines} ()
\item 
const char $\ast$ \hyperlink{classLineBuffer_a361228fec97d5160370b9ab185e03ea6}{c\+\_\+str} ()
\item 
std\+::string \hyperlink{classLineBuffer_ae5eb2bcd8c98c58df8fa525c4d498613}{get\+\_\+next\+\_\+line} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
After appending, data can be retrieved as lines. 

Definition at line 27 of file line\+\_\+buffer.\+h.



\subsection{Member Function Documentation}
\hypertarget{classLineBuffer_a637893678418fa0ae4517891b3f1d1c1}{}\label{classLineBuffer_a637893678418fa0ae4517891b3f1d1c1} 
\index{Line\+Buffer@{Line\+Buffer}!append@{append}}
\index{append@{append}!Line\+Buffer@{Line\+Buffer}}
\subsubsection{\texorpdfstring{append()}{append()}}
{\footnotesize\ttfamily void Line\+Buffer\+::append (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line,  }\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})}

Insert data in buffer. 

Definition at line 28 of file line\+\_\+buffer.\+cpp.

\hypertarget{classLineBuffer_a361228fec97d5160370b9ab185e03ea6}{}\label{classLineBuffer_a361228fec97d5160370b9ab185e03ea6} 
\index{Line\+Buffer@{Line\+Buffer}!c\+\_\+str@{c\+\_\+str}}
\index{c\+\_\+str@{c\+\_\+str}!Line\+Buffer@{Line\+Buffer}}
\subsubsection{\texorpdfstring{c\+\_\+str()}{c\_str()}}
{\footnotesize\ttfamily const char $\ast$ Line\+Buffer\+::c\+\_\+str (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Peek the complete buffer contents. 

Definition at line 34 of file line\+\_\+buffer.\+cpp.

\hypertarget{classLineBuffer_ae5eb2bcd8c98c58df8fa525c4d498613}{}\label{classLineBuffer_ae5eb2bcd8c98c58df8fa525c4d498613} 
\index{Line\+Buffer@{Line\+Buffer}!get\+\_\+next\+\_\+line@{get\+\_\+next\+\_\+line}}
\index{get\+\_\+next\+\_\+line@{get\+\_\+next\+\_\+line}!Line\+Buffer@{Line\+Buffer}}
\subsubsection{\texorpdfstring{get\+\_\+next\+\_\+line()}{get\_next\_line()}}
{\footnotesize\ttfamily std\+::string Line\+Buffer\+::get\+\_\+next\+\_\+line (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Return and remove first line in buffer, possibly \char`\"{}\char`\"{}. 

Definition at line 40 of file line\+\_\+buffer.\+cpp.

\hypertarget{classLineBuffer_aeeb6e44909d8847341b43c99555bbf46}{}\label{classLineBuffer_aeeb6e44909d8847341b43c99555bbf46} 
\index{Line\+Buffer@{Line\+Buffer}!has\+\_\+lines@{has\+\_\+lines}}
\index{has\+\_\+lines@{has\+\_\+lines}!Line\+Buffer@{Line\+Buffer}}
\subsubsection{\texorpdfstring{has\+\_\+lines()}{has\_lines()}}
{\footnotesize\ttfamily bool Line\+Buffer\+::has\+\_\+lines (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Check if \hyperlink{classLineBuffer_ae5eb2bcd8c98c58df8fa525c4d498613}{get\+\_\+next\+\_\+line()} returns a non-\/empty string. 

Definition at line 22 of file line\+\_\+buffer.\+cpp.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/mk/tmp/lirc/lib/line\+\_\+buffer.\+h (6f8ea22 2016-\/08-\/09 14\+:47\+:27 +0200)\item 
/home/mk/tmp/lirc/lib/\hyperlink{line__buffer_8cpp}{line\+\_\+buffer.\+cpp (6f8ea22 2016-\/08-\/09 14\+:47\+:27 +0200)}\end{DoxyCompactItemize}
