Beamlib 3.1.2
This is the Beam C++ class library.
Loading...
Searching...
No Matches
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
14class BFileCsv : public BFile {
15public:
16 BFileCsv(char separator = ';');
17
18 BError readCsv(BStringList& csvList);
19 BError writeCsv(BStringList& csvList);
20private:
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
BError readCsv(BStringList &csvList)
Definition: BFileCsv.cpp:14
File operations class.
Definition: BFile.h:17