\doxysection{Bds\+Data\+File\+Cd.\+h}
\hypertarget{BdsDataFileCd_8h_source}{}\label{BdsDataFileCd_8h_source}\index{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileCd.h@{/src/blacknest/bds/bds/bdsDataLib/BdsDataFileCd.h}}
\mbox{\hyperlink{BdsDataFileCd_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ \ BdsDataFileCd.h\ BDRS\ Data\ File\ Access}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ T.Barnaby,\ \ BEAM\ Ltd,\ \ \ 2011-\/06-\/01}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *******************************************************************************}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#ifndef\ BdsDataFileCd\_H}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ BdsDataFileCd\_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}{struct\ }\mbox{\hyperlink{structBds_1_1CdChannel__1v0}{CdChannel\_1v0}}\ \{}
\DoxyCodeLine{00015\ \ \ \ \ BUInt8\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a30ce97a0e4080e8d4feff675d2925e96}{auth}};}
\DoxyCodeLine{00016\ \ \ \ \ BUInt8\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a66c64974963d2e5b25dd09079fc07da4}{compress}};}
\DoxyCodeLine{00017\ \ \ \ \ BUInt8\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a980f457fab9e5a08e746542a2cf3bf4a}{spare0}};}
\DoxyCodeLine{00018\ \ \ \ \ BUInt8\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a9968cc266cbf4a7cdca3fa071011a568}{spare1}};}
\DoxyCodeLine{00019\ \ \ \ \ BFloat32\ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a782351a0a1859f4fede3fc8cdbf1231e}{calibrationFactor}};}
\DoxyCodeLine{00020\ \ \ \ \ BFloat32\ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a9a18cba5d71db5e4d20d0e2496445709}{calibrationPeriod}};}
\DoxyCodeLine{00021\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a529d8f33ec9a1fd1b307d40ce0739bd1}{name}}[16];}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a56ebacfdfdbda15f84119f986df71214}{stationName}}[16];}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_a874271cdeb9f0396fc57df303e216584}{channelName}}[16];}
\DoxyCodeLine{00024\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0_ac3fa4af3c0c4695a565ca4231e44dedc}{channel}};}
\DoxyCodeLine{00025\ \};}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00028\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0}{CdDataFormatFrame\_1v0}}\ \{}
\DoxyCodeLine{00029\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_a5a38b3536869195d08e80b1a9ba5c477}{frameType}};}
\DoxyCodeLine{00030\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_a7c4858c8fc168b3bc55be1edab7da383}{frameLength}};}
\DoxyCodeLine{00031\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_aef0ee0d555dfd806289b0bc38d8201d3}{maxFrameLength}};}
\DoxyCodeLine{00032\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_a11d01220c4ecab90790948e8712ee3b4}{numChannels}};}
\DoxyCodeLine{00033\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_a5e6247335c375f5441c00833e8dadffa}{period}};}
\DoxyCodeLine{00034\ \ \ \ \ \mbox{\hyperlink{structBds_1_1CdChannel__1v0}{CdChannel\_1v0}}\ \ \mbox{\hyperlink{structBds_1_1CdDataFormatFrame__1v0_aec22fdf45aa85c8598142e8d8d8de3c4}{channels}}[100];}
\DoxyCodeLine{00035\ \};}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00038\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1CdDataChannel}{CdDataChannel}}\ \{}
\DoxyCodeLine{00039\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00040\ \ \ \ \ BString\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a17aa0a136c6297cd6086fc44d68cd2dc}{station}};}
\DoxyCodeLine{00041\ \ \ \ \ BString\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a8d08a46b85d2b54bf754b65ae74df3b8}{channel}};}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a9937da56c3d96c8737c3974032e015a0}{mode}}[24];}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a71bd3bf538ee72bb081665edafa4e486}{status}}[32];}
\DoxyCodeLine{00044\ \ \ \ \ BTimeStamp\ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_ae24aacebb1d0fb6efd7c73d13992fa09}{startTime}};}
\DoxyCodeLine{00045\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a761bee87733a25d73c6546753cff6915}{period}};}
\DoxyCodeLine{00046\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_aadb6f6f243907806dd16895624b1a277}{numSamples}};}
\DoxyCodeLine{00047\ \ \ \ \ BUInt32\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_ab0116eef5e41cc7f5bb22caa4e106219}{dataSize}};}
\DoxyCodeLine{00048\ \ \ \ \ BUInt8*\ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdDataChannel_a2d854321a95d5c8e5f770e901268ef3a}{data}};}
\DoxyCodeLine{00049\ \};}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00052\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1CdPacketData}{CdPacketData}}\ \{}
\DoxyCodeLine{00053\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00054\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a9acefd9cfab798eb2eb564ba02494cbc}{frameType}};}
\DoxyCodeLine{00055\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a508ac1c06a16e5fc3784ebd0a8cf14fa}{trailerOffset}};}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a4851a987b4c27487a156625b5d6eae8d}{creator}}[8];}
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_ae8358e580fa4e8dfcc86021bc3f7ac3f}{destination}}[8];}
\DoxyCodeLine{00058\ \ \ \ \ BUInt64\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_ad99e559d97f8aa859ee15c50e4c81805}{sequenceNum}};}
\DoxyCodeLine{00059\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a0ba61df3a019fb406f36d575f1976499}{series}};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a0a3fa6be12e4532c8e9cb4a93a52bfff}{numChannels}};}
\DoxyCodeLine{00062\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a38def049613ebc7e4603276f25e4c687}{period}};}
\DoxyCodeLine{00063\ \ \ \ \ BTimeStamp\ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a5d49f9d67b4cb72eccb195c2e8a97c75}{startTime}};}
\DoxyCodeLine{00064\ \ \ \ \ BArray<CdDataChannel>\ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a9d0d5d2cc7b33c0b8e18afa5ca666264}{channels}};}
\DoxyCodeLine{00065\ \ \ \ \ }
\DoxyCodeLine{00066\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a019a67a28d0975118f742b13a0f6ba82}{authKey}};}
\DoxyCodeLine{00067\ \ \ \ \ BUInt32\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a01de705fd39b57bf248f35478b6e9c24}{authSize}};}
\DoxyCodeLine{00068\ \ \ \ \ \textcolor{keywordtype}{char}*\ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_ad27a6f69eef6c570e22bc032a4a39707}{auth}};}
\DoxyCodeLine{00069\ \ \ \ \ BUInt64\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdPacketData_a9f88041144889e607935043fd28c3ea3}{crc}};}
\DoxyCodeLine{00070\ \};}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00073\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1CdFlag}{CdFlag}}\ \{}
\DoxyCodeLine{00074\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00075\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdFlag_afa433a8dd93f9cc8e151a31e7c023f87}{CdFlag}}()\{\ \mbox{\hyperlink{classBds_1_1CdFlag_a77d0827ec6201627e997ba7386e8fc59}{dead}}\ =\ \mbox{\hyperlink{classBds_1_1CdFlag_a758adf0e7e12880ace193c3d181e816b}{zeroed}}\ =\ 0;\ \};}
\DoxyCodeLine{00076\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdFlag_a77d0827ec6201627e997ba7386e8fc59}{dead}};}
\DoxyCodeLine{00077\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \mbox{\hyperlink{classBds_1_1CdFlag_a758adf0e7e12880ace193c3d181e816b}{zeroed}};}
\DoxyCodeLine{00078\ \};}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00081\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classBds_1_1DataFileCd}{DataFileCd}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{classBds_1_1DataFile}{DataFile}}\{}
\DoxyCodeLine{00082\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_ae593acbd43203eb6684ea54e4e3e10b0}{DataFileCd}}();}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a96f39d95665a2916b63dcf17a24b3c69}{getFeatures}}();\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00086\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFile_a3db096f327de3b65ced78b32aef07f07}{DataOrder}}\ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a12ce5be819c197f0310c4bb0f6413273}{getDataOrder}}();}
\DoxyCodeLine{00087\ \ \ \ \ BString\ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a59e6df631b62d6c1bf451b9b2314db60}{getFixesInfo}}();\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00088\ }
\DoxyCodeLine{00089\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a003e99b7f5bd092716ba5056bf84fdb4}{getInfo}}(\mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\&\ dataInfo,\ \mbox{\hyperlink{classBds_1_1DataFileOptions}{DataFileOptions}}\ options,\ BList<DataError>\&\ errors);}
\DoxyCodeLine{00090\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a4a3e0c63085a1f7beaded52595082617}{readData}}(BUInt32\ channel,\ BUInt\ segment,\ BUInt32\ blockNumber,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data);}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00092\ \ \ \ \ \textcolor{keyword}{static}\ DataFormats\ \ \ \mbox{\hyperlink{classBds_1_1DataFileCd_a7d4d22bc25924e237815fda0fc83e7b6}{getFormats}}();}
\DoxyCodeLine{00093\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00094\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readPacket\_1v0(\textcolor{keywordtype}{int}\ validateNext);}
\DoxyCodeLine{00095\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readPacket\_1v0\_Scan(BUInt64\&\ pos);}
\DoxyCodeLine{00096\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readBlock\_1v0(BUInt32\ channel,\ BUInt64\ pos,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data,\ \textcolor{keywordtype}{int}\ addInfo,\ \textcolor{keywordtype}{int}\ validateNext);}
\DoxyCodeLine{00097\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readPacket\_1v1(\textcolor{keywordtype}{int}\ validateNext);}
\DoxyCodeLine{00098\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readPacket\_1v1\_Scan(BUInt64\&\ pos);}
\DoxyCodeLine{00099\ \ \ \ \ BError\ \ \ \ \ \ \ \ \ \ \ \ readBlock\_1v1(BUInt32\ channel,\ BUInt64\ pos,\ \mbox{\hyperlink{classBds_1_1DataBlock}{DataBlock}}\&\ data,\ \textcolor{keywordtype}{int}\ addInfo,\ \textcolor{keywordtype}{int}\ validateNext);}
\DoxyCodeLine{00100\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataError}{DataError}}\ \ \ \ \ \ getBlockReorderInfo();\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00101\ }
\DoxyCodeLine{00102\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataFileOptions}{DataFileOptions}}\ \ \ \ \ \ \ \ \ \ ooptions;\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00103\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ohasYear2000Blocks;\ \ \ \ \ }
\DoxyCodeLine{00104\ \ \ \ \ \mbox{\hyperlink{classBds_1_1DataInfo}{DataInfo}}\ \ \ \ \ \ \ \ \ \ \ \ odataInfo;\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00105\ \ \ \ \ BBufferStore\ \ \ \ \ \ \ \ \ \ \ \ opacket;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00106\ \ \ \ \ BBufferStore\ \ \ \ \ \ \ \ \ \ \ \ opacketNext;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00107\ \ \ \ \ BArray<BArray<DataBlockPos>\ >\ \ \ \ oblockPositions;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00108\ \ \ \ \ }
\DoxyCodeLine{00109\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \ \ \ \ odataFormat;\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00110\ \ \ \ \ BArray<CdDataFormatFrame\_1v0>\ \ odataFormats;\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00111\ \ \ \ \ BArray<CdFlag>\ \ \ \ \ \ \ \ \ \ \ \ ochannelFlags;\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00112\ \};}
\DoxyCodeLine{00113\ }
\DoxyCodeLine{00114\ \}}
\DoxyCodeLine{00115\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
