Core Library 1.7.0.0 Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.

CsvGrid.h
Go to the documentation of this file.
1 // This file is part of CoreLibrary containing useful reusable utility
2 // classes.
3 //
4 // Copyright (C) 2014 to present, Duncan Crutchley
5 // Contact <dac1976github@outlook.com>
6 //
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Lesser General Public License as published
9 // by the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License and GNU Lesser General Public License
16 // for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // and GNU Lesser General Public License along with this program. If
20 // not, see <http://www.gnu.org/licenses/>.
21
27 #ifndef CSVGRID
28 #define CSVGRID
29
30 #include <vector>
31 #include <list>
32 #include "CsvGridMain.h"
33
35 namespace core_lib
36 {
38 namespace csv_grid
39 {
40
43 using CsvGridV = TCsvGrid<std::vector>;
45 using RowV = CsvGridV::row_type;
48 using CsvGridL = TCsvGrid<std::list>;
50 using RowL = CsvGridL::row_type;
52 using CsvGrid = CsvGridL;
54 using Row = CsvGrid::row_type;
55
58 using CsvGridVD = TCsvGrid<std::vector, CellDouble>;
60 using RowV = CsvGridV::row_type;
63 using CsvGridLD = TCsvGrid<std::list, CellDouble>;
65 using RowL = CsvGridL::row_type;
67 using CsvGridD = CsvGridLD;
69 using RowD = CsvGridD::row_type;
70
71 } // namespace csv_grid
72 } // namespace core_lib
73
74 #endif // CSVGRID
core_lib::csv_grid::TCsvGrid
Grid class with CSV file capabilities.
Definition: CsvGridMain.h:81
core_lib::csv_grid::TRow
Class defining a row of the grid.
Definition: CsvGridRow.h:136
CsvGridMain.h
File containing declarations relating the TCsvGrid class.
core_lib
The core_lib namespace.
Definition: AsioDefines.h:59
core_lib::csv_grid::TCsvGrid::row_type
TRow< C, T > row_type
typedef for row type
Definition: CsvGridMain.h:85
core_lib::csv_grid::CsvGridL
TCsvGrid< std::list > CsvGridL
Typedef to CsvGrid object using std::list as underlying container type. More efficient when grid will...
Definition: CsvGrid.h:48
core_lib::csv_grid::CsvGridLD
TCsvGrid< std::list, CellDouble > CsvGridLD
Typedef to CsvGrid object using std::list as underlying container type. More efficient when grid will...
Definition: CsvGrid.h:63