\doxysection{Bds\+Data\+File\+Log.\+h}
\hypertarget{BdsDataFileLog_8h_source}{}\label{BdsDataFileLog_8h_source}\index{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileLog.h@{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileLog.h}}
\mbox{\hyperlink{BdsDataFileLog_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ \ BdsDataFileLog.h\ \ \ \ Data\ File\ Access}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ T.Barnaby,\ \ BEAM\ Ltd,\ \ \ 2008-\/06-\/24}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *******************************************************************************}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#ifndef\ BdsDataFileLog\_H}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ BdsDataFileLog\_H}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <\mbox{\hyperlink{BdsDataFile_8h}{BdsDataFile.h}}>}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <\mbox{\hyperlink{BdsD_8h}{BdsD.h}}>}}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespaceBds}{Bds}}\ \{}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00015\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1DataFileLog}{DataFileLog}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{classBds_1_1DataFile}{DataFile}}\ \{}
\DoxyCodeLine{00016\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a496ec645cd2d02beaf5dfcd5fc63e031}{DataFileLog}}();}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a154333da083ac91b7f169d1983dccba5}{open}}(BString\ fileName,\ BString\ mode);}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFile_a3db096f327de3b65ced78b32aef07f07}{DataOrder}}\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a2a0b92b319addba3525b83b12bbf4b3e}{getDataOrder}}();}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a08747782c366981b90be4a6d26e8f89b}{getFeatures}}();}
\DoxyCodeLine{00023\ \ \ \ \ }
\DoxyCodeLine{00024\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a4614c19c241e31f98671a3d7cd18abf4}{getInfo}}(\mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\&\ dataInfo,\ \mbox{\hyperlink{classBds_1_1DataFileOptions}{DataFileOptions}}\ options,\ BList<DataError>\&\ errors);}
\DoxyCodeLine{00025\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a2bff29beb50327c0720668aee6ce6a2e}{readData}}(BUInt32\ channel,\ BUInt\ segment,\ BUInt32\ blockNumber,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data);}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a2040aabfd1b1fe60a0de8fcaf26dd879}{setFormat}}(BString\ format);}
\DoxyCodeLine{00028\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a3c1254edfeffd4b2cc4e3037e588e749}{setInfo}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\&\ dataInfo,\ \textcolor{keyword}{const}\ \mbox{\hyperlink{classBds_1_1ChannelInfos}{ChannelInfos}}\&\ channelInfos,\ \mbox{\hyperlink{classBds_1_1DataFile_a470ee46f21caaaf26365b9503b428153}{WriteOptionsList}}\ options\ =\ \mbox{\hyperlink{classBds_1_1DataFile_a470ee46f21caaaf26365b9503b428153a420fa6e5eaacb8e210c3ade68bbe64e6}{WriteOptionSensorData}});}
\DoxyCodeLine{00029\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a5a319163903ffc76151588c95b2e23a2}{start}}(BUInt\ channel,\ BUInt\ segment);}
\DoxyCodeLine{00030\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_acc2a580e5550a0add27da4afea5486ca}{writeData}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data);}
\DoxyCodeLine{00031\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a7d399659d6d729fcb1714ec4c97e7da5}{end}}();}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keyword}{static}\ DataFormats\ \ \ \mbox{\hyperlink{classBds_1_1DataFileLog_a9ec3f117e13c74cc778bbc9043ad6fc2}{getFormats}}();}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00036\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readBlock(BUInt32\ channel,\ BUInt64\ pos,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data,\ BUInt64\&\ posNext);}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\ \ \ \ \ \ \ \ odataInfo;}
\DoxyCodeLine{00039\ \ \ \ \ \mbox{\hyperlink{classBds_1_1ChannelInfos}{ChannelInfos}}\ \ \ \ \ \ \ \ ochannelInfos;}
\DoxyCodeLine{00040\ \ \ \ \ BString\ \ \ \ \ \ \ \ \ \ oformat;}
\DoxyCodeLine{00041\ \ \ \ \ BArray<DataBlockPos>\ \ \ \ oblockPositions;}
\DoxyCodeLine{00042\ \};}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \}}
\DoxyCodeLine{00045\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
