\doxysection{Bds\+Data\+File\+Wra.\+h}
\hypertarget{BdsDataFileWra_8h_source}{}\label{BdsDataFileWra_8h_source}\index{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileWra.h@{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileWra.h}}
\mbox{\hyperlink{BdsDataFileWra_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ \ BdsDataFileWra.h\ \ \ \ BDRS\ Data\ File\ Access}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ T.Barnaby,\ \ BEAM\ Ltd,\ \ \ 2009-\/05-\/11}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *******************************************************************************}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#ifndef\ BdsDataFileWra\_H}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ BdsDataFileWra\_H}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <\mbox{\hyperlink{BdsDataFile_8h}{BdsDataFile.h}}>}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{namespaceBds}{Bds}}\ \{}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00014\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1DataFileWra}{DataFileWra}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{classBds_1_1DataFile}{DataFile}}\{}
\DoxyCodeLine{00015\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_a63c6dd570e27b992e40c54b4bce79f96}{DataFileWra}}();}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_ad2ccb88b616b6f1bb34e3e82eef440cd}{setFormat}}(BString\ format);}
\DoxyCodeLine{00019\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_af3a0d927f7f65408d0f5d3295d8829ae}{getFeatures}}();\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00020\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFile_a3db096f327de3b65ced78b32aef07f07}{DataOrder}}\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_a057182738c857fcc6adf5ab394553c41}{getDataOrder}}();}
\DoxyCodeLine{00021\ \ \ \ \ BString\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_ac120bc87f966874b54fe3dd7723233eb}{getFixesInfo}}();\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_ab6fa1427b2792f4626f5ffeea6d88bec}{getInfo}}(\mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\&\ dataInfo,\ \mbox{\hyperlink{classBds_1_1DataFileOptions}{DataFileOptions}}\ options,\ BList<DataError>\&\ errors);}
\DoxyCodeLine{00024\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_afeb87f5e2a3d22cf30b86d8d18d1d7cb}{readData}}(BUInt32\ channel,\ BUInt\ segment,\ BUInt32\ blockNumber,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data);}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ \ \ \ \textcolor{keyword}{static}\ DataFormats\ \ \ \mbox{\hyperlink{classBds_1_1DataFileWra_a61ebadd3233ae1f9a3da3833eec4ab74}{getFormats}}();}
\DoxyCodeLine{00027\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00028\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readBlock(BUInt32\ channel,\ BUInt64\ pos,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data);}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ omagic;}
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ oyear;}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ oblockYear;}
\DoxyCodeLine{00033\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ oblockSize;}
\DoxyCodeLine{00034\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ onumChannels;}
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{double}\ \ \ \ \ \ \ \ \ \ osampleRate;}
\DoxyCodeLine{00036\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\ \ \ \ \ \ \ \ odataInfo;}
\DoxyCodeLine{00037\ \ \ \ \ BArray<BUInt64>\ \ \ \ \ \ oblockPositions;}
\DoxyCodeLine{00038\ \};}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
