Beam-lib  2.16.3
This is the Beam C++ class library.
BFileData.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BFileData.h BEAM Data access class
3  * T.Barnaby, BEAM Ltd, 2012-01-10
4  * Copyright (c) 2012 All Right Reserved, Beam Ltd, http://www.beam.ltd.uk
5  *******************************************************************************
6  */
7 #ifndef BFileData_H
8 #define BFileData_H 1
9 
10 #include <BError.h>
11 
12 class BFileData : public BList<BStringList> {
13 public:
14  BError open(BString filename);
15 
16  BError getNextId(int& id);
17  BError find(int id, BStringList& csvList);
18  BError write(int id, BStringList& csvList);
19  BError del(int id);
20 
21 private:
22  BError read();
23  BError write();
24  BString ofilename;
25 };
26 
27 #endif
Definition: BFileData.h:12
BError write(int id, BStringList &csvList)
Definition: BFileData.cpp:84
BError del(int id)
Definition: BFileData.cpp:110
Definition: BString.h:18
Template based list class.
Definition: BList.h:30
BError find(int id, BStringList &csvList)
Definition: BFileData.cpp:70
BError getNextId(int &id)
Definition: BFileData.cpp:55
BError open(BString filename)
Definition: BFileData.cpp:10
Definition: BError.h:25