\hypertarget{BdsDataFileCd_8cpp}{}\section{/src/blacknest/bds/bds/bds\+Data\+Lib/\+Bds\+Data\+File\+Cd.cpp File Reference}
\label{BdsDataFileCd_8cpp}\index{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileCd.cpp@{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileCd.cpp}}
{\ttfamily \#include $<$Bds\+Data\+File\+Cd.\+h$>$}\newline
{\ttfamily \#include $<$arpa/inet.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$canada\+\_\+compress.\+h$>$}\newline
{\ttfamily \#include $<$B\+Endian.\+h$>$}\newline
{\ttfamily \#include $<$B\+Debug.\+h$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structBds_1_1DataFrameHead__1v0}{Bds\+::\+Data\+Frame\+Head\+\_\+1v0}}
\item 
struct \mbox{\hyperlink{structBds_1_1DataSubFrameHead__1v0}{Bds\+::\+Data\+Sub\+Frame\+Head\+\_\+1v0}}
\item 
struct \mbox{\hyperlink{structBds_1_1Header__1v0}{Bds\+::\+Header\+\_\+1v0}}
\item 
struct \mbox{\hyperlink{structBds_1_1Header__1v1}{Bds\+::\+Header\+\_\+1v1}}
\item 
struct \mbox{\hyperlink{structBds_1_1Trailer}{Bds\+::\+Trailer}}
\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespaceBds}{Bds}}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a97bfef446f67b04c653a8158b8ffbb8f}{L\+D\+E\+B\+UG}}~0
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a20bf2b4fbff8706d639934b4e680ab3e}{dprintf}}(fmt,  a...)
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a6f86970c4669562848ea39a63c82cec9}{I\+N\+C\+L\+U\+D\+E\+\_\+\+C\+H\+A\+N\+N\+E\+L\+\_\+\+A\+U\+TH}}~1
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a84ec5c699c38b6a2817f2d2fbd14f4f9}{A\+L\+L\+O\+W\+\_\+\+T\+I\+M\+E\+S\+T\+A\+M\+P\+\_\+\+J\+I\+T\+T\+ER}}~1
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a1f519154128bfb233d386d4b43053b7b}{T\+I\+M\+E\+S\+T\+A\+M\+P\+\_\+\+J\+I\+T\+T\+ER}}~100
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a13a7203bfd594fce1205c5364fdf3c19}{M\+U\+L\+T\+I\+P\+L\+E\+\_\+\+S\+E\+G\+M\+E\+NT}}~0
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a73dd3f39110c3a36804ecdd719441050}{S\+E\+G\+M\+E\+N\+T\+\_\+\+G\+AP}}~3600000
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a3cfcf123d4ead264289232f91f2c9ca5}{ntohll}}(x)~\+\_\+\+\_\+bswap\+\_\+64(x)
\item 
\#define \mbox{\hyperlink{BdsDataFileCd_8cpp_a9f4bf0773c45ad9a9753a1b784a13fbb}{htonll}}(x)~\mbox{\hyperlink{BdsDataFileCd_8cpp_a3cfcf123d4ead264289232f91f2c9ca5}{ntohll}}(x)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{namespaceBds_a8970ce5790b06f9de11f8541082f6db7}{Bds\+::crc\+Init}} ()
\item 
static uint64\+\_\+t \mbox{\hyperlink{namespaceBds_a79937217126a2e6b159c4f51a479bada}{Bds\+::crc64}} (const void $\ast$buffer, const uint32\+\_\+t len)
\item 
\textbf{ B\+String} \mbox{\hyperlink{namespaceBds_ae8e02b6cd51360152ddb8656ba3339fa}{Bds\+::get\+Hex\+String}} (char $\ast$\textbf{ data}, int len)
\item 
int \mbox{\hyperlink{namespaceBds_ab34f789dcd8fb681f64d20f34f910380}{Bds\+::duplicate\+Dump}} (Data\+Block \&data1, Data\+Block \&data2, int channel)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const int \mbox{\hyperlink{BdsDataFileCd_8cpp_afbce4eba04136a0798c88e058f98299b}{Error\+Format\+No\+Data\+Format}} = 100
\item 
static uint64\+\_\+t \mbox{\hyperlink{namespaceBds_ade9774ef083260e251f4d23581cb9a59}{Bds\+::crc\+Vec}} \mbox{[}256\mbox{]}
\item 
static int \mbox{\hyperlink{namespaceBds_a6bd5fb9078a8e7630477562af6168b0d}{Bds\+::crc\+Init\+Done}}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{BdsDataFileCd_8cpp_a84ec5c699c38b6a2817f2d2fbd14f4f9}\label{BdsDataFileCd_8cpp_a84ec5c699c38b6a2817f2d2fbd14f4f9}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!ALLOW\_TIMESTAMP\_JITTER@{ALLOW\_TIMESTAMP\_JITTER}}
\index{ALLOW\_TIMESTAMP\_JITTER@{ALLOW\_TIMESTAMP\_JITTER}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{ALLOW\_TIMESTAMP\_JITTER}{ALLOW\_TIMESTAMP\_JITTER}}
{\footnotesize\ttfamily \#define A\+L\+L\+O\+W\+\_\+\+T\+I\+M\+E\+S\+T\+A\+M\+P\+\_\+\+J\+I\+T\+T\+ER~1}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a20bf2b4fbff8706d639934b4e680ab3e}\label{BdsDataFileCd_8cpp_a20bf2b4fbff8706d639934b4e680ab3e}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!dprintf@{dprintf}}
\index{dprintf@{dprintf}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{dprintf}{dprintf}}
{\footnotesize\ttfamily \#define dprintf(\begin{DoxyParamCaption}\item[{}]{fmt,  }\item[{}]{a... }\end{DoxyParamCaption})}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a9f4bf0773c45ad9a9753a1b784a13fbb}\label{BdsDataFileCd_8cpp_a9f4bf0773c45ad9a9753a1b784a13fbb}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!htonll@{htonll}}
\index{htonll@{htonll}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{htonll}{htonll}}
{\footnotesize\ttfamily \#define htonll(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~\mbox{\hyperlink{BdsDataFileCd_8cpp_a3cfcf123d4ead264289232f91f2c9ca5}{ntohll}}(x)}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a6f86970c4669562848ea39a63c82cec9}\label{BdsDataFileCd_8cpp_a6f86970c4669562848ea39a63c82cec9}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!INCLUDE\_CHANNEL\_AUTH@{INCLUDE\_CHANNEL\_AUTH}}
\index{INCLUDE\_CHANNEL\_AUTH@{INCLUDE\_CHANNEL\_AUTH}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{INCLUDE\_CHANNEL\_AUTH}{INCLUDE\_CHANNEL\_AUTH}}
{\footnotesize\ttfamily \#define I\+N\+C\+L\+U\+D\+E\+\_\+\+C\+H\+A\+N\+N\+E\+L\+\_\+\+A\+U\+TH~1}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a97bfef446f67b04c653a8158b8ffbb8f}\label{BdsDataFileCd_8cpp_a97bfef446f67b04c653a8158b8ffbb8f}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!LDEBUG@{LDEBUG}}
\index{LDEBUG@{LDEBUG}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{LDEBUG}{LDEBUG}}
{\footnotesize\ttfamily \#define L\+D\+E\+B\+UG~0}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a13a7203bfd594fce1205c5364fdf3c19}\label{BdsDataFileCd_8cpp_a13a7203bfd594fce1205c5364fdf3c19}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!MULTIPLE\_SEGMENT@{MULTIPLE\_SEGMENT}}
\index{MULTIPLE\_SEGMENT@{MULTIPLE\_SEGMENT}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{MULTIPLE\_SEGMENT}{MULTIPLE\_SEGMENT}}
{\footnotesize\ttfamily \#define M\+U\+L\+T\+I\+P\+L\+E\+\_\+\+S\+E\+G\+M\+E\+NT~0}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a3cfcf123d4ead264289232f91f2c9ca5}\label{BdsDataFileCd_8cpp_a3cfcf123d4ead264289232f91f2c9ca5}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!ntohll@{ntohll}}
\index{ntohll@{ntohll}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{ntohll}{ntohll}}
{\footnotesize\ttfamily \#define ntohll(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})~\+\_\+\+\_\+bswap\+\_\+64(x)}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a73dd3f39110c3a36804ecdd719441050}\label{BdsDataFileCd_8cpp_a73dd3f39110c3a36804ecdd719441050}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!SEGMENT\_GAP@{SEGMENT\_GAP}}
\index{SEGMENT\_GAP@{SEGMENT\_GAP}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{SEGMENT\_GAP}{SEGMENT\_GAP}}
{\footnotesize\ttfamily \#define S\+E\+G\+M\+E\+N\+T\+\_\+\+G\+AP~3600000}

\mbox{\Hypertarget{BdsDataFileCd_8cpp_a1f519154128bfb233d386d4b43053b7b}\label{BdsDataFileCd_8cpp_a1f519154128bfb233d386d4b43053b7b}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!TIMESTAMP\_JITTER@{TIMESTAMP\_JITTER}}
\index{TIMESTAMP\_JITTER@{TIMESTAMP\_JITTER}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{TIMESTAMP\_JITTER}{TIMESTAMP\_JITTER}}
{\footnotesize\ttfamily \#define T\+I\+M\+E\+S\+T\+A\+M\+P\+\_\+\+J\+I\+T\+T\+ER~100}



\subsection{Variable Documentation}
\mbox{\Hypertarget{BdsDataFileCd_8cpp_afbce4eba04136a0798c88e058f98299b}\label{BdsDataFileCd_8cpp_afbce4eba04136a0798c88e058f98299b}} 
\index{BdsDataFileCd.cpp@{BdsDataFileCd.cpp}!ErrorFormatNoDataFormat@{ErrorFormatNoDataFormat}}
\index{ErrorFormatNoDataFormat@{ErrorFormatNoDataFormat}!BdsDataFileCd.cpp@{BdsDataFileCd.cpp}}
\subsubsection{\texorpdfstring{ErrorFormatNoDataFormat}{ErrorFormatNoDataFormat}}
{\footnotesize\ttfamily const int Error\+Format\+No\+Data\+Format = 100}

