TableGeoPathReaderCsv

Description

sealed class Tinman.Engine.Scenes.Data.TableGeoPathReaderCsv
<TSample val>
<TTrait val : IGeoPathSampleTrait<TSample>>

Derived from

TableGeoPathReader<TSample, TTrait> abstract

An implementation of the ITableGeoPathReader interface that parses a text file with comma-separated values (CSV).

Public / Constructors

Table​Geo​Path​Reader​Csv


public constructor TableGeoPathReaderCsv → (3)

csv in : Path

[not-null]
Path to the CSV file.

columns in : int32

[>=0]
The number of columns in the CSV file. If 0, the first row will be interpreted as the header row that defines the columns. If greater than 0, the first row is interpreted as a data row and this value is used as the number of columns.

format in : CsvFormat

The CSV file format.

Creates a new instance of TableGeoPathReaderCsv.

Column names (see ITableGeoPathReaderBase.Name) are taken from the header row of the CSV file (see columns in). If there is no header row, the column names are #1, #2, …​ #N.

IOException

If an I/O error has occurred.