Gazebo Common

API Reference

5.6.0
CSVToken Struct Reference

A token in CSV data. More...

#include <CSVStreams.hh>

Public Types

enum  { TEXT = 0 , QUOTE , DELIMITER , TERMINATOR }
 Token type. More...
 

Public Attributes

char character
 Token character. More...
 
enum gz::common::CSVToken:: { ... }  type
 Token type. More...
 

Detailed Description

A token in CSV data.

Lexical specifications are typically dictated by a CSV dialect.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Token type.

Enumerator
TEXT 

A pure text token (e.g. a letter).

QUOTE 

A field quoting token (e.g. a double quote).

DELIMITER 

A field delimiter token (e.g. a comma).

TERMINATOR 

A row termination token (e.g. a newline).

Member Data Documentation

◆ character

char character

Token character.

◆ 

enum { ... } type

Token type.


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