\doxysection{Bds\+::Data\+Format\+All Class Reference}
\hypertarget{classBds_1_1DataFormatAll}{}\label{classBds_1_1DataFormatAll}\index{Bds::DataFormatAll@{Bds::DataFormatAll}}


This class defines the interface for generic data file access.  




{\ttfamily \#include $<$Bds\+Data\+Lib.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classBds_1_1DataFormatAll_a2fe9c3926ec912f4774e8e66b994e043}{Data\+Format\+All}} ()
\item 
\mbox{\hyperlink{classBds_1_1DataFormatAll_a20267ec9f5350311a3d8f73748e526ce}{\texorpdfstring{$\sim$}{\string~}\+Data\+Format\+All}} ()
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1DataFormatAll_a6eb3f073ad3efdf58463b886bfb37bfb}{format\+List}} (\mbox{\hyperlink{namespaceBds_abc3599496fa901d0481742571a256def}{Data\+Formats}} \&formats)
\item 
\textbf{ BError} \mbox{\hyperlink{classBds_1_1DataFormatAll_adef1f2263ca41912449dd1e61ad3ef68}{format\+Get}} (\textbf{ BString} \textbf{ format}, \mbox{\hyperlink{classBds_1_1DataFile}{Data\+File}} \texorpdfstring{$\ast$}{*}\&data\+File, \mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617b}{Data\+Format\+Set}} format\+Set=\mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617ba4d37228b0c087446962c17f6e2771df7}{Data\+Format\+Set\+None}})
\begin{DoxyCompactList}\small\item\em Returns a list of all data converters. \end{DoxyCompactList}\item 
\textbf{ BString} \mbox{\hyperlink{classBds_1_1DataFormatAll_aa758127d4e9d2cbab07405936c50b69b}{format\+Get\+Extension}} (\textbf{ BString} \textbf{ format})
\begin{DoxyCompactList}\small\item\em Searches all of the BDS data converters to find out if any supports the given format. If one is found the appropriate data converter is initialised and a pointer to it returned in file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{classBds_1_1DataFormatAll_a79d5f248e8717fd90dd3dd87698c4a89}{find\+Format}} (\mbox{\hyperlink{namespaceBds_abc3599496fa901d0481742571a256def}{Data\+Formats}} data\+Formats, \textbf{ BString} \textbf{ string}, \mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617b}{Data\+Format\+Set}} format\+Set)
\begin{DoxyCompactList}\small\item\em Returns the default file extension for the given format. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This class defines the interface for generic data file access. 

It allows programs to get a list of all of the supported data formats and to get a suitable BDS data convertor for accessing the file. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classBds_1_1DataFormatAll_a2fe9c3926ec912f4774e8e66b994e043}\label{classBds_1_1DataFormatAll_a2fe9c3926ec912f4774e8e66b994e043} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!DataFormatAll@{DataFormatAll}}
\index{DataFormatAll@{DataFormatAll}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{DataFormatAll()}{DataFormatAll()}}
{\footnotesize\ttfamily Bds\+::\+Data\+Format\+All\+::\+Data\+Format\+All (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\Hypertarget{classBds_1_1DataFormatAll_a20267ec9f5350311a3d8f73748e526ce}\label{classBds_1_1DataFormatAll_a20267ec9f5350311a3d8f73748e526ce} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!````~DataFormatAll@{\texorpdfstring{$\sim$}{\string~}DataFormatAll}}
\index{````~DataFormatAll@{\texorpdfstring{$\sim$}{\string~}DataFormatAll}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}DataFormatAll()}{\string~DataFormatAll()}}
{\footnotesize\ttfamily Bds\+::\+Data\+Format\+All\+::\texorpdfstring{$\sim$}{\string~}\+Data\+Format\+All (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\Hypertarget{classBds_1_1DataFormatAll_a6eb3f073ad3efdf58463b886bfb37bfb}\label{classBds_1_1DataFormatAll_a6eb3f073ad3efdf58463b886bfb37bfb} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!formatList@{formatList}}
\index{formatList@{formatList}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{formatList()}{formatList()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Data\+Format\+All\+::format\+List (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespaceBds_abc3599496fa901d0481742571a256def}{Data\+Formats}} \&}]{formats }\end{DoxyParamCaption})}

\Hypertarget{classBds_1_1DataFormatAll_adef1f2263ca41912449dd1e61ad3ef68}\label{classBds_1_1DataFormatAll_adef1f2263ca41912449dd1e61ad3ef68} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!formatGet@{formatGet}}
\index{formatGet@{formatGet}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{formatGet()}{formatGet()}}
{\footnotesize\ttfamily \textbf{ BError} Bds\+::\+Data\+Format\+All\+::format\+Get (\begin{DoxyParamCaption}\item[{\textbf{ BString}}]{format,  }\item[{\mbox{\hyperlink{classBds_1_1DataFile}{Data\+File}} \texorpdfstring{$\ast$}{*}\&}]{data\+File,  }\item[{\mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617b}{Data\+Format\+Set}}}]{format\+Set = {\ttfamily \mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617ba4d37228b0c087446962c17f6e2771df7}{Data\+Format\+Set\+None}}} }\end{DoxyParamCaption})}



Returns a list of all data converters. 

\Hypertarget{classBds_1_1DataFormatAll_aa758127d4e9d2cbab07405936c50b69b}\label{classBds_1_1DataFormatAll_aa758127d4e9d2cbab07405936c50b69b} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!formatGetExtension@{formatGetExtension}}
\index{formatGetExtension@{formatGetExtension}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{formatGetExtension()}{formatGetExtension()}}
{\footnotesize\ttfamily \textbf{ BString} Bds\+::\+Data\+Format\+All\+::format\+Get\+Extension (\begin{DoxyParamCaption}\item[{\textbf{ BString}}]{format }\end{DoxyParamCaption})}



Searches all of the BDS data converters to find out if any supports the given format. If one is found the appropriate data converter is initialised and a pointer to it returned in file. 

\Hypertarget{classBds_1_1DataFormatAll_a79d5f248e8717fd90dd3dd87698c4a89}\label{classBds_1_1DataFormatAll_a79d5f248e8717fd90dd3dd87698c4a89} 
\index{Bds::DataFormatAll@{Bds::DataFormatAll}!findFormat@{findFormat}}
\index{findFormat@{findFormat}!Bds::DataFormatAll@{Bds::DataFormatAll}}
\doxysubsubsection{\texorpdfstring{findFormat()}{findFormat()}}
{\footnotesize\ttfamily int Bds\+::\+Data\+Format\+All\+::find\+Format (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespaceBds_abc3599496fa901d0481742571a256def}{Data\+Formats}}}]{data\+Formats,  }\item[{\textbf{ BString}}]{string,  }\item[{\mbox{\hyperlink{namespaceBds_aedfa05e83d62a984a308fefaea80617b}{Data\+Format\+Set}}}]{format\+Set }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}



Returns the default file extension for the given format. 



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/src/blacknest/bds/bds/bds\+Data\+Lib/\mbox{\hyperlink{BdsDataLib_8h}{Bds\+Data\+Lib.\+h}}\item 
/src/blacknest/bds/bds/bds\+Data\+Lib/\mbox{\hyperlink{BdsDataLib_8cpp}{Bds\+Data\+Lib.\+cpp}}\end{DoxyCompactItemize}
