csvpp 1.2.0
CSV parsing / writing libraries
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
EMBCSV_reader Struct Reference

#include <embcsv.h>

Public Types

enum  { EMBCSV_STATE_READY , EMBCSV_STATE_DOUBLE_QUOTE , EMBCSV_STATE_CONSUME_NEWLINES }
 Parsing states. More...
 

Public Attributes

char * field
 Field storage.
 
size_t field_alloc
 Field allocated size.
 
size_t field_size
 Field size.
 
char delimiter
 Delimiter character (default ',')
 
char quote
 Quote character (default '"')
 
bool lenient
 true if parsing is at the end of a row
 
bool quoted
 true if parsing a quoted field
 
enum EMBCSV_reader:: { ... }  state
 Parsing states.
 

Detailed Description

CSV Reader

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Parsing states.

Enumerator
EMBCSV_STATE_READY 

Ready to read a character into current field.

EMBCSV_STATE_DOUBLE_QUOTE 

Checking for escaped quote character or end of quoted field.

EMBCSV_STATE_CONSUME_NEWLINES 

Discarding any newline characters.


The documentation for this struct was generated from the following file: