BdsApi
3.0.12
This is the Blacknest BDS API.
|
This class defines the interface for generic data file access. More...
#include <BdsDataLib.h>
Public Member Functions | |
DataFormatAll () | |
~DataFormatAll () | |
BError | formatList (DataFormats &formats) |
BError | formatGet (BString format, DataFile *&dataFile, DataFormatSet formatSet=DataFormatSetNone) |
Returns a list of all data converters. More... | |
BString | formatGetExtension (BString format) |
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. More... | |
Protected Member Functions | |
int | findFormat (DataFormats dataFormats, BString string, DataFormatSet formatSet) |
Returns the default file extension for the given format. More... | |
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.
Bds::DataFormatAll::DataFormatAll | ( | ) |
Bds::DataFormatAll::~DataFormatAll | ( | ) |
|
protected |
Returns the default file extension for the given format.
BError Bds::DataFormatAll::formatGet | ( | BString | format, |
DataFile *& | dataFile, | ||
DataFormatSet | formatSet = DataFormatSetNone |
||
) |
Returns a list of all data converters.
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.
BError Bds::DataFormatAll::formatList | ( | DataFormats & | formats | ) |