Skip to main content

CsvFileInfo

CsvFileInfo

Metadata computed from parsing a CSV file with a given config.

#include <CsvDatasetPreviewModel.hpp>

Public Attributes

Name
qint64 file_size
Total file size in bytes.
qint64 total_lines
Total number of lines in the file.
qint64 data_rows
Number of data rows (total_lines - header_lines).
int detected_columns
Number of columns detected from first data line.
QStringList column_names
Column names (from header or generated).
QString detected_encoding
Detected text encoding.

Public Attributes Documentation

variable file_size

qint64 file_size = 0;

Total file size in bytes.

variable total_lines

qint64 total_lines = 0;

Total number of lines in the file.

variable data_rows

qint64 data_rows = 0;

Number of data rows (total_lines - header_lines).

variable detected_columns

int detected_columns = 0;

Number of columns detected from first data line.

variable column_names

QStringList column_names;

Column names (from header or generated).

variable detected_encoding

QString detected_encoding;

Detected text encoding.


Updated on 2026-11-13 at 20:25:39 +0000