Account
BdsApi 4.0.1 This is the Blacknest BDS API. |
Loading...
Searching...
No Matches
Bds::DataFormatAll Class Reference
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. | |
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. | |
Protected Member Functions | |
int | findFormat (DataFormats dataFormats, BString string, DataFormatSet formatSet) |
Returns the default file extension for the given format. | |
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.
Constructor & Destructor Documentation
◆ DataFormatAll()
Bds::DataFormatAll::DataFormatAll | ( | ) |
◆ ~DataFormatAll()
Bds::DataFormatAll::~DataFormatAll | ( | ) |
Member Function Documentation
◆ formatList()
BError Bds::DataFormatAll::formatList | ( | DataFormats & | formats | ) |
◆ formatGet()
BError Bds::DataFormatAll::formatGet | ( | BString | format, |
DataFile *& | dataFile, | ||
DataFormatSet | formatSet = DataFormatSetNone | ||
) |
Returns a list of all data converters.
◆ formatGetExtension()
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.
◆ findFormat()
| protected |
Returns the default file extension for the given format.
The documentation for this class was generated from the following files:
- /src/blacknest/bds/bds/bdsDataLib/BdsDataLib.h
- /src/blacknest/bds/bds/bdsDataLib/BdsDataLib.cpp
Generated by