Beamlib  3.0.1
This is the Beam C++ class library.
BFileCsv.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BFileCsv.h BEAM CSV access class
3  * T.Barnaby, BEAM Ltd, 2012-01-10
4  * Copyright (c) 2022 All Right Reserved, Beam Ltd, https://www.beam.ltd.uk
5  * For license see LICENSE.txt at the root of the beamlib source tree.
6  *******************************************************************************
7  */
8 #ifndef BFile_H
9 #define BFile_H 1
10 
11 #include <BFile.h>
12 
14 class BFileCsv : public BFile {
15 public:
16  BFileCsv(char separator = ';');
17 
18  BError readCsv(BStringList& csvList);
19  BError writeCsv(BStringList& csvList);
20 private:
21  char oseparator;
22 };
23 
24 #endif
Error return class. This class is used to return the error status from a function....
Definition: BError.h:31
A class to read and write CSV formatted files.
Definition: BFileCsv.h:14
BError writeCsv(BStringList &csvList)
Definition: BFileCsv.cpp:32
BFileCsv(char separator=';')
Definition: BFileCsv.cpp:11
BError readCsv(BStringList &csvList)
Definition: BFileCsv.cpp:14
File operations class.
Definition: BFile.h:17