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

Namespaces | Classes | Typedefs | Enumerations
core_lib::csv_grid Namespace Reference

The csv_grid namespace. More...

## Namespaces
| reserver
| The csv_grid namespace.

## Classes
class | Cell
| Class defining a single cell within a row of the grid. More...
class | CellDouble
| Class defining a single cell within a row of the grid. More...
class | TCsvGrid
| Grid class with CSV file capabilities. More...
class | TRow
| Class defining a row of the grid. More...

## Typedefs
using | CsvGridV = TCsvGrid< std::vector >
| Typedef to CsvGrid object using std::vector as underlying container type. More efficient when grid has a fixed size.
using | RowV = CsvGridV::row_type
| Typedef to RowV object using CSVGridV::row_type.
using | CsvGridL = TCsvGrid< std::list >
| Typedef to CsvGrid object using std::list as underlying container type. More efficient when grid will be dynamically resized.
using | RowL = CsvGridL::row_type
| Typedef to RowL object using CSVGridL::row_type.
using | CsvGrid = CsvGridL
| Typedef our default general use grid object to CSVGridL.
using | Row = CsvGrid::row_type
| Typedef to Row object using CSVGrid::row_type.
using | CsvGridVD = TCsvGrid< std::vector, CellDouble >
| Typedef to CsvGrid object using std::vector as underlying container type. More efficient when grid has a fixed size and only contains numerical data (stored as double type).
using | CsvGridLD = TCsvGrid< std::list, CellDouble >
| Typedef to CsvGrid object using std::list as underlying container type. More efficient when grid will be dynamically resized and only contains numerical data (stored as double type).
using | CsvGridD = CsvGridLD
| Typedef for grid when cells only contain double precision data.
using | RowD = CsvGridD::row_type
| Typedef to Row object using CSVGrid::row_type.

## Enumerations
enum | eSaveToFileOptions { eSaveToFileOptions::truncate, eSaveToFileOptions::append }
| Enumeration controlling how file is saved. More...
enum | eCellFormatOptions { eCellFormatOptions::simpleCells, eCellFormatOptions::doubleQuotedCells }
| Cell format options enumeration. More...

## Detailed Description

The csv_grid namespace.

## Enumeration Type Documentation

## ◆ eCellFormatOptions

enum core_lib::csv_grid::eCellFormatOptions
| strong

Cell format options enumeration.

This enumeration is used to control the format of the cells within a row of the CSV grid, in particular whether or not they are surrounded by double qoutes or not.

Enumerator
simpleCells | All cells are simple and not wrapped in double quotes, e.g. x1,x2,x3. This format is faster than using double-quoted cells.
doubleQuotedCells | Cells may contain special, escaped, characters and are in double qoutes, e.g. "x1","x2","x3". This format is slower than simple formatting as care has to be taken with parsing special characters.

## ◆ eSaveToFileOptions

enum core_lib::csv_grid::eSaveToFileOptions
| strong

Enumeration controlling how file is saved.

Enumerator
truncate | Truncate existing file replacing it with the contents of the grid.
append | Append the contents of the grid to the end of the file if it already exists.