csv-parser 1.1.0
Csv::Parser (csv-parser)
Loading...
Searching...
No Matches
Classes | Enumerations
csv_cell.h File Reference

Various Cell-related classes. More...

#include "csv_util.h"
#include "csv_cell_string_buffer.h"
#include <string_view>
#include <string>
#include <optional>
#include <algorithm>
#include <variant>
#include <limits>
#include <stdexcept>
#include <array>

Go to the source code of this file.

Classes

class  Csv::CellReference
 Data inside a single cell, potentially stored as a reference to the original data. More...
 
class  Csv::CellValue
 Data inside a single cell, stored as a copy. More...
 
class  Csv::CellDoubleValue
 Data inside a single cell, stored as a value of double type. More...
 
class  Csv::CellStringReference
 String data inside a single cell, stored as a reference to the original data. More...
 
class  Csv::CellStringValue
 A value of a cell. More...
 

Enumerations

enum class  Csv::CellTypeHint { Empty , StringWithEscapedQuotes , StringWithoutEscapedQuotes , UnquotedData }
 Type hint associated with the cell to determine the type of the cell value. More...
 
enum class  Csv::CellType { Empty , Double , String }
 Type of the cell value. More...
 

Detailed Description

Various Cell-related classes.

Enumeration Type Documentation

◆ CellType

enum class Csv::CellType
strong

Type of the cell value.

Enumerator
Empty 

Empty cell, no data.

Double 

double value

String 

String data.

◆ CellTypeHint

enum class Csv::CellTypeHint
strong

Type hint associated with the cell to determine the type of the cell value.

Enumerator
Empty 

Empty data (no quotes, no whitespace).

StringWithEscapedQuotes 

Quoted or unquoted string with escaped quotes inside.

StringWithoutEscapedQuotes 

Quoted or unquoted string without any escaped quotes inside.

UnquotedData 

Unquoted data, no escaped quotes inside.