BdsApi  3.0.12
This is the Blacknest BDS API.
BdsDataLib.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BdsDataLib.h Data File Access
3  * T.Barnaby, BEAM Ltd, 2008-11-20
4  *******************************************************************************
5  */
6 #ifndef BdsDataLib_H
7 #define BdsDataLib_H
8 
9 #include <BdsDataFile.h>
10 
11 namespace Bds {
12 
13 BString fixedWidthValue(double v, int width);
14 
18 public:
19  DataFormatAll();
21 
22  BError formatList(DataFormats& formats);
25 
26 protected:
27  int findFormat(DataFormats dataFormats, BString string, DataFormatSet formatSet);
28 };
29 
31 
32 }
33 #endif
BUInt32 format
This class defines the interface for generic data file access that all of the BDS data converters sha...
Definition: BdsDataFile.h:41
This class defines the interface for generic data file access.
Definition: BdsDataLib.h:17
~DataFormatAll()
Definition: BdsDataLib.cpp:39
DataFormatAll()
Definition: BdsDataLib.cpp:36
BError formatList(DataFormats &formats)
Definition: BdsDataLib.cpp:42
int findFormat(DataFormats dataFormats, BString string, DataFormatSet formatSet)
Returns the default file extension for the given format.
Definition: BdsDataLib.cpp:141
BString formatGetExtension(BString format)
Searches all of the BDS data converters to find out if any supports the given format....
Definition: BdsDataLib.cpp:125
BError formatGet(BString format, DataFile *&dataFile, DataFormatSet formatSet=DataFormatSetNone)
Returns a list of all data converters.
Definition: BdsDataLib.cpp:70
Definition: BdsC.cc:8
BString fixedWidthValue(double v, int width)
This returns a double as a fixed width string truncating the data.
Definition: BdsDataLib.cpp:29
DataFormatAll dataFormatAll
Definition: BdsDataLib.cpp:164
DataFormatSet
Data format abilities bitset.
Definition: BdsD.h:50
@ DataFormatSetNone
Definition: BdsD.h:50