open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Static Public Attributes | List of all members
iACsvIO Class Reference

class for reading a csv into a table, using given options More...

#include <iACsvIO.h>

Public Member Functions

 iACsvIO ()
 
const QStringList & getFileHeaders () const
 get the list of columns/headers as it is in the file More...
 
const QStringList & getOutputHeaders () const
 get list of all headers in result table (including computed columns) More...
 
QSharedPointer< QMap< uint, uint > > getOutputMapping () const
 get mapping in which fields the important values are stored More...
 
bool loadCSV (iACsvTableCreator &dstTbl, iACsvConfig const &params, size_t const rowCount=std::numeric_limits< size_t >::max())
 reads table entries from csv file More...
 

Static Public Attributes

static const char * ColNameAutoID = "Auto_ID"
 name of the auto ID column (inserted optionally) More...
 
static const char * ColNameClassID = "Class_ID"
 name of the class ID column (always inserted as last column) More...
 

Detailed Description

class for reading a csv into a table, using given options

Constructor & Destructor Documentation

◆ iACsvIO()

iACsvIO::iACsvIO ( )

Member Function Documentation

◆ getFileHeaders()

const QStringList & iACsvIO::getFileHeaders ( ) const

get the list of columns/headers as it is in the file

◆ getOutputHeaders()

const QStringList & iACsvIO::getOutputHeaders ( ) const

get list of all headers in result table (including computed columns)

◆ getOutputMapping()

QSharedPointer< QMap< uint, uint > > iACsvIO::getOutputMapping ( ) const

get mapping in which fields the important values are stored

◆ loadCSV()

bool iACsvIO::loadCSV ( iACsvTableCreator dstTbl,
iACsvConfig const &  params,
size_t const  rowCount = std::numeric_limits<size_t>::max() 
)

reads table entries from csv file

Member Data Documentation

◆ ColNameAutoID

const char * iACsvIO::ColNameAutoID = "Auto_ID"
static

name of the auto ID column (inserted optionally)

◆ ColNameClassID

const char * iACsvIO::ColNameClassID = "Class_ID"
static

name of the class ID column (always inserted as last column)


The documentation for this class was generated from the following files: