BdsApi  2.2.6
This is the Blacknest BDS API.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BdsSeedType.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BdsSeedType.cpp BDS Seed data file access library
3  * T.Barnaby, BEAM Ltd, 2009-12-14
4  *******************************************************************************
5  */
6 #ifndef BdsSeedType_H
7 #define BdsSeedType_H
8 
9 #include <BError.h>
10 
11 namespace Bds {
12 
14 class BdsSeedType {
15 public:
16  BdsSeedType();
17  BError getInt(char** data, int size, int& v);
18  BError getUInt(char** data, int size, unsigned int& v);
19  BError getDouble(char** data, int size, double& v);
20  BError getString(char** data, int size, BString& v);
21  BError getStringVariable(char** data, int size, BString& v);
22 
23  BError appendInt(BString& s, int v, int size);
24  BError appendDouble(BString& s, double v, int size, int precision);
25  BError appendExp(BString& s, double v, int size, int precision, int sign);
26  BError appendString(BString& s, BString v, int size);
27  BError appendStringVariable(BString& s, BString v, int size);
28 };
29 
30 }
31 #endif
BError appendStringVariable(BString &s, BString v, int size)
Definition: BdsSeedType.cpp:134
BError getUInt(char **data, int size, unsigned int &v)
Definition: BdsSeedType.cpp:28
BdsDataFileSeed internal parent for all SEED types.
Definition: BdsSeedType.h:14
BError appendExp(BString &s, double v, int size, int precision, int sign)
Definition: BdsSeedType.cpp:109
BError getString(char **data, int size, BString &v)
Definition: BdsSeedType.cpp:56
BError getStringVariable(char **data, int size, BString &v)
Definition: BdsSeedType.cpp:70
BError getDouble(char **data, int size, double &v)
Definition: BdsSeedType.cpp:42
BError getInt(char **data, int size, int &v)
Definition: BdsSeedType.cpp:14
char data[8]
BError appendInt(BString &s, int v, int size)
Definition: BdsSeedType.cpp:87
BError appendString(BString &s, BString v, int size)
Definition: BdsSeedType.cpp:123
BdsSeedType()
Definition: BdsSeedType.cpp:11
BError appendDouble(BString &s, double v, int size, int precision)
Definition: BdsSeedType.cpp:98