Skip to main content
Part of Import A class collecting import information for a csv file.

Public Types

Public Member Functions

Public Attributes

Detailed Description

A class collecting import information for a csv file.

Member Typedef Documentation

delimiter_set_type

Constructor & Destructor Documentation

ImportCSV()

Tries to determine some defaults to parse the CSV file filename given into the database. Sets the member variable filename and parses the CSV file to set useful defaults to the member variables delimiter, #m_has_header_line and #m_suggested_delimiters. Parameters

Member Function Documentation

check()

Checks validity of these data. Parameters Exceptions

import()

Imports the file with given name filename into the database given. Parameters Exceptions

Member Data Documentation

row_orientated

Indicates the orientation of the CSV file given. True means a row orientated format, false indicates a column orientated format.