\hypertarget{OTF__WBuffer_8h}{\section{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+W\+Buffer.h File Reference}
\label{OTF__WBuffer_8h}\index{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+W\+Buffer.\+h@{ompi/contrib/vt/vt/extlib/otf/otflib/\+O\+T\+F\+\_\+\+W\+Buffer.\+h}}
}


Provides write access to trace buffers.  


{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include $<$stdio.\+h$>$}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+inttypes.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+File.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+Filenames.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}O\+T\+F\+\_\+\+Key\+Value.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structstruct__OTF__WBuffer}{struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{OTF__WBuffer_8h_a68d95538686fa1e65dc09a996e709ccc}{typedef struct \hyperlink{structstruct__OTF__WBuffer}{struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer} {\bfseries O\+T\+F\+\_\+\+W\+Buffer}}\label{OTF__WBuffer_8h_a68d95538686fa1e65dc09a996e709ccc}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{OTF__WBuffer_8h_a8eb0aeeae84027b8820281adc5a718ad}{\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$ \hyperlink{OTF__WBuffer_8h_a8eb0aeeae84027b8820281adc5a718ad}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+open} (const char $\ast$filename, \hyperlink{group__fm_ga621c18447ec33f803cc270a9494b0685}{O\+T\+F\+\_\+\+File\+Manager} $\ast$manager)}\label{OTF__WBuffer_8h_a8eb0aeeae84027b8820281adc5a718ad}

\begin{DoxyCompactList}\small\item\em Constructor -\/ internal use only. \end{DoxyCompactList}\item 
\hypertarget{OTF__WBuffer_8h_a0cd4eb1154f984607c80724c5d43b473}{int \hyperlink{OTF__WBuffer_8h_a0cd4eb1154f984607c80724c5d43b473}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+close} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer)}\label{OTF__WBuffer_8h_a0cd4eb1154f984607c80724c5d43b473}

\begin{DoxyCompactList}\small\item\em Destructor -\/ internal use only. \end{DoxyCompactList}\item 
int \hyperlink{OTF__WBuffer_8h_a517cd666c9ece6a80931b627a36bdaf6}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, size\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Set the size of the buffer. \end{DoxyCompactList}\item 
void \hyperlink{OTF__WBuffer_8h_ac19f437cd25720d08c1bafd71d37187e}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint32\+\_\+t size)
\begin{DoxyCompactList}\small\item\em Set the size of the zbuffer. \end{DoxyCompactList}\item 
int \hyperlink{OTF__WBuffer_8h_a7b537e20d0caf4dc7ce315031dc5c485}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer)
\begin{DoxyCompactList}\small\item\em Writes the buffer contents to 'file' and marks the buffer empty again. \end{DoxyCompactList}\item 
int \hyperlink{OTF__WBuffer_8h_ac91816ae9d72fd64e5a82bb2ed3a1fad}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, size\+\_\+t space)
\begin{DoxyCompactList}\small\item\em Ask the buffer to guarantee at least 'space' bytes at current writing position before the next flush is necessary. \end{DoxyCompactList}\item 
int \hyperlink{OTF__WBuffer_8h_aa2875b5133458a41de68f497a76d24cf}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint64\+\_\+t t, uint32\+\_\+t p)
\begin{DoxyCompactList}\small\item\em Set process state machine to 'p' and time stamp state machine to 't'. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_ada1ffd85cac7d1bb0b94b296a8cd814f}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, const char $\ast$keyword)
\begin{DoxyCompactList}\small\item\em Append a key word to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_ab3ccdb37e986e5544ccd9a7fefd2d0a7}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, const char $\ast$string)
\begin{DoxyCompactList}\small\item\em Append a string to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a2fa0a05eec49b3607f252ca8f31071b9}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, const char character)
\begin{DoxyCompactList}\small\item\em Append a char to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a2b57097cf40f9de23f1fd717d5c2b7e0}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint8\+\_\+t value)
\begin{DoxyCompactList}\small\item\em This function append an 8bit unsigned integer 'value' in hex format to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_ade5366bd34c58f49b99e101798af55e2}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint16\+\_\+t value)
\begin{DoxyCompactList}\small\item\em This function append an 16bit unsigned integer 'value' in hex format to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a2653caa6e85916041c027affaebc251a}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint32\+\_\+t value)
\begin{DoxyCompactList}\small\item\em This function append an unsigned integer 'value' in hex format to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a4af0498286efc5de59a514ad887ca001}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, uint64\+\_\+t value)
\begin{DoxyCompactList}\small\item\em This function append an 64bit unsigned integer 'value' in hex format to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_ad7e53487988fb42d682618c1a8c93e40}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer)
\begin{DoxyCompactList}\small\item\em Append a newline character to the buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a86c416b7f8d93c4740568727f5919673}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$wbuffer, const uint8\+\_\+t $\ast$value, uint32\+\_\+t len)
\begin{DoxyCompactList}\small\item\em This function append an byte array in hex format to the write buffer. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a731d380ed3fb79334939ee8a76de7587}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$buffer, \hyperlink{OTF__KeyValue_8h_a3c1206093519ec017e36984704075a89}{O\+T\+F\+\_\+\+Key\+Value\+Pair} $\ast$pair)
\begin{DoxyCompactList}\small\item\em Append a Key\+Value\+Pair to the buffer (short format). \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a5131062cf71993e458d5fb85566276ca}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$buffer, \hyperlink{OTF__KeyValue_8h_a3c1206093519ec017e36984704075a89}{O\+T\+F\+\_\+\+Key\+Value\+Pair} $\ast$pair)
\begin{DoxyCompactList}\small\item\em Append a Key\+Value\+Pair to the buffer (long format). \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a26da8ffc957ec4c3c558174bf659fb42}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$buffer, \hyperlink{OTF__KeyValue_8h_acaf1284a372072cdb927e73406f16db0}{O\+T\+F\+\_\+\+Key\+Value\+List} $\ast$list)
\begin{DoxyCompactList}\small\item\em Append a Key\+Value\+List to the buffer (short format). \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{OTF__WBuffer_8h_a74d9d95341faed8097f3dc144c780308}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long} (\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$buffer, \hyperlink{OTF__KeyValue_8h_acaf1284a372072cdb927e73406f16db0}{O\+T\+F\+\_\+\+Key\+Value\+List} $\ast$list)
\begin{DoxyCompactList}\small\item\em Append a Key\+Value\+List to the buffer (long format). \end{DoxyCompactList}\item 
\hypertarget{OTF__WBuffer_8h_afb01e66dba2f3ae0c30dbd872cb10f94}{\hyperlink{structstruct__OTF__WBuffer}{O\+T\+F\+\_\+\+W\+Buffer} $\ast$ \hyperlink{OTF__WBuffer_8h_afb01e66dba2f3ae0c30dbd872cb10f94}{O\+T\+F\+\_\+\+W\+Buffer\+\_\+open\+\_\+zlevel} (const char $\ast$filename, \hyperlink{group__fm_ga621c18447ec33f803cc270a9494b0685}{O\+T\+F\+\_\+\+File\+Manager} $\ast$manager, O\+T\+F\+\_\+\+File\+Compression compression)}\label{OTF__WBuffer_8h_afb01e66dba2f3ae0c30dbd872cb10f94}

\begin{DoxyCompactList}\small\item\em internal use \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Provides write access to trace buffers. 



\subsection{Function Documentation}
\hypertarget{OTF__WBuffer_8h_a7b537e20d0caf4dc7ce315031dc5c485}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a7b537e20d0caf4dc7ce315031dc5c485}


Writes the buffer contents to 'file' and marks the buffer empty again. 



References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+File\+\_\+write(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+close(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+flush().

\hypertarget{OTF__WBuffer_8h_ac91816ae9d72fd64e5a82bb2ed3a1fad}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{size\+\_\+t}]{space}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ac91816ae9d72fd64e5a82bb2ed3a1fad}


Ask the buffer to guarantee at least 'space' bytes at current writing position before the next flush is necessary. 

Return 1 on success. 

References O\+T\+F\+\_\+\+W\+Buffer\+\_\+flush(), struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos, and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::size.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8().

\hypertarget{OTF__WBuffer_8h_a517cd666c9ece6a80931b627a36bdaf6}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Size (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{size\+\_\+t}]{size}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a517cd666c9ece6a80931b627a36bdaf6}


Set the size of the buffer. 

Cannot shrink buffer but only extend. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::size.



Referenced by O\+T\+F\+\_\+\+Master\+Control\+\_\+write(), O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Def\+Buffer(), O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Event\+Buffer(), O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Marker\+Buffer(), O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Snapshot\+Buffer(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Stats\+Buffer().

\hypertarget{OTF__WBuffer_8h_aa2875b5133458a41de68f497a76d24cf}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process}]{\setlength{\rightskip}{0pt plus 5cm}int O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint64\+\_\+t}]{t, }
\item[{uint32\+\_\+t}]{p}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_aa2875b5133458a41de68f497a76d24cf}


Set process state machine to 'p' and time stamp state machine to 't'. 

If 'p' is the current process and 't' is the current time stamp nothing is done. If the process has changed a process record will be written. If the time has changed the new time stamp and the current process will be written. If 't' is lower than the current time stamp it is regarded as an error. Return != 1 on success and 0 on error. 

References O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64(), struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::process, and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::time.



Referenced by O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+No\+Op\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_ac19f437cd25720d08c1bafd71d37187e}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Z\+Buffer\+Size (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint32\+\_\+t}]{size}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ac19f437cd25720d08c1bafd71d37187e}


Set the size of the zbuffer. 



Referenced by O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Def\+Buffer(), O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Event\+Buffer(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+get\+Snapshot\+Buffer().

\hypertarget{OTF__WBuffer_8h_a86c416b7f8d93c4740568727f5919673}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{const uint8\+\_\+t $\ast$}]{value, }
\item[{uint32\+\_\+t}]{len}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a86c416b7f8d93c4740568727f5919673}


This function append an byte array in hex format to the write buffer. 

Buffer flush is done if necessary. The return value is the number of written characters. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short().

\hypertarget{OTF__WBuffer_8h_a2fa0a05eec49b3607f252ca8f31071b9}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Char (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{const char}]{character}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a2fa0a05eec49b3607f252ca8f31071b9}


Append a char to the write buffer. 

Buffer flush is done if necessary. Return the number of bytes written (=1). 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Master\+Control\+\_\+write(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes().

\hypertarget{OTF__WBuffer_8h_a74d9d95341faed8097f3dc144c780308}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Key\+Value\+List} $\ast$}]{list}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a74d9d95341faed8097f3dc144c780308}


Append a Key\+Value\+List to the buffer (long format). 

Return the number of bytes written. 

References O\+T\+F\+\_\+\+Key\+Value\+List\+\_\+reset(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long().



Referenced by O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Creator\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Definition\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Or\+Group\+Attributes\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Time\+Range(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Timer\+Resolution\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+No\+Op\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_a26da8ffc957ec4c3c558174bf659fb42}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Key\+Value\+List} $\ast$}]{list}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a26da8ffc957ec4c3c558174bf659fb42}


Append a Key\+Value\+List to the buffer (short format). 

Return the number of bytes written. 

References O\+T\+F\+\_\+\+Key\+Value\+List\+\_\+reset(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short().



Referenced by O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Creator\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Definition\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Or\+Group\+Attributes\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Time\+Range(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Timer\+Resolution\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+No\+Op\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_a5131062cf71993e458d5fb85566276ca}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Key\+Value\+Pair} $\ast$}]{pair}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a5131062cf71993e458d5fb85566276ca}


Append a Key\+Value\+Pair to the buffer (long format). 

Return the number of bytes written. 

References O\+T\+F\+\_\+\+Double\+To\+Int64(), O\+T\+F\+\_\+\+Float\+To\+Int32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8().



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+long().

\hypertarget{OTF__WBuffer_8h_a731d380ed3fb79334939ee8a76de7587}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{buffer, }
\item[{{\bf O\+T\+F\+\_\+\+Key\+Value\+Pair} $\ast$}]{pair}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a731d380ed3fb79334939ee8a76de7587}


Append a Key\+Value\+Pair to the buffer (short format). 

Return the number of bytes written. 

References O\+T\+F\+\_\+\+Double\+To\+Int64(), O\+T\+F\+\_\+\+Float\+To\+Int32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Bytes(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8().



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+List\+\_\+short().

\hypertarget{OTF__WBuffer_8h_ada1ffd85cac7d1bb0b94b296a8cd814f}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Keyword (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{const char $\ast$}]{keyword}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ada1ffd85cac7d1bb0b94b296a8cd814f}


Append a key word to the write buffer. 

A key word is a string without quotes. Buffer flush is done if necessary. Return the number of bytes written. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Creator\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Definition\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Or\+Group\+Attributes\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Time\+Range(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Timer\+Resolution\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+No\+Op\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_ad7e53487988fb42d682618c1a8c93e40}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Newline (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ad7e53487988fb42d682618c1a8c93e40}


Append a newline character to the buffer. 

Buffer flush is done if necessary. Return the number of bytes written. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Master\+Control\+\_\+write(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Creator\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Definition\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Or\+Group\+Attributes\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Time\+Range(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Timer\+Resolution\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+No\+Op\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_ab3ccdb37e986e5544ccd9a7fefd2d0a7}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+String (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{const char $\ast$}]{string}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ab3ccdb37e986e5544ccd9a7fefd2d0a7}


Append a string to the write buffer. 

A string is surrounded by quotes. Buffer flush is done if necessary. Return the number of bytes written. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Creator\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Definition\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Event\+Comment\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Snapshot\+Comment\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Summary\+Comment\+K\+V().

\hypertarget{OTF__WBuffer_8h_ade5366bd34c58f49b99e101798af55e2}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint16 (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint16\+\_\+t}]{value}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_ade5366bd34c58f49b99e101798af55e2}


This function append an 16bit unsigned integer 'value' in hex format to the write buffer. 

Buffer flush is done if necessary. The return value is the number of written characters. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short().

\hypertarget{OTF__WBuffer_8h_a2653caa6e85916041c027affaebc251a}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint32 (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint32\+\_\+t}]{value}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a2653caa6e85916041c027affaebc251a}


This function append an unsigned integer 'value' in hex format to the write buffer. 

Buffer flush is done if necessary. The return value is the number of written characters. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+Master\+Control\+\_\+write(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Attribute\+List\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Assignments(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Function\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Key\+Value\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Group\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Or\+Group\+Attributes\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Process\+Substitutes(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+File\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Scl\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Leave\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Recv\+Msg\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Msg\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V().

\hypertarget{OTF__WBuffer_8h_a4af0498286efc5de59a514ad887ca001}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint64 (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint64\+\_\+t}]{value}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a4af0498286efc5de59a514ad887ca001}


This function append an 64bit unsigned integer 'value' in hex format to the write buffer. 

Buffer flush is done if necessary. The return value is the number of written characters. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+set\+Time\+And\+Process(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+Collop\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Begin\+File\+Op\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Collop\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Counter\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Time\+Range(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Def\+Timer\+Resolution\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+Collective\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+End\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Enter\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Group\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+File\+Operation\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Group\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Function\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Marker\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Message\+Summary\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Open\+File\+Snapshot\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Get\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+K\+V(), O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+R\+M\+A\+Put\+Remote\+End\+K\+V(), and O\+T\+F\+\_\+\+W\+Stream\+\_\+write\+Send\+Snapshot\+K\+V().

\hypertarget{OTF__WBuffer_8h_a2b57097cf40f9de23f1fd717d5c2b7e0}{\index{O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}!O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8}}
\index{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8@{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8}!O\+T\+F\+\_\+\+W\+Buffer.\+h@{O\+T\+F\+\_\+\+W\+Buffer.\+h}}
\subsubsection[{O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8}]{\setlength{\rightskip}{0pt plus 5cm}uint32\+\_\+t O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Uint8 (
\begin{DoxyParamCaption}
\item[{{\bf O\+T\+F\+\_\+\+W\+Buffer} $\ast$}]{wbuffer, }
\item[{uint8\+\_\+t}]{value}
\end{DoxyParamCaption}
)}}\label{OTF__WBuffer_8h_a2b57097cf40f9de23f1fd717d5c2b7e0}


This function append an 8bit unsigned integer 'value' in hex format to the write buffer. 

Buffer flush is done if necessary. The return value is the number of written characters. 

References struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::buffer, O\+T\+F\+\_\+\+W\+Buffer\+\_\+guarantee(), and struct\+\_\+\+O\+T\+F\+\_\+\+W\+Buffer\+::pos.



Referenced by O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+long(), and O\+T\+F\+\_\+\+W\+Buffer\+\_\+write\+Key\+Value\+Pair\+\_\+short().

