CsvReader Class Reference

#include <ArmarXCore/core/csv/CsvReader.h>

Public Member Functions

 CsvReader (const std::string &filename, bool hasHeader)
 
std::vector< std::string > getHeader ()
 
bool isEof ()
 
bool read (std::map< std::string, float > &row)
 
bool read (std::vector< float > &row)
 
bool read (std::vector< std::string > &row)
 
std::map< std::string, std::vector< float > > readAllColumnsFloatMap ()
 
std::vector< std::vector< float > > readAllFloatList ()
 
std::vector< std::map< std::string, float > > readAllFloatMap ()
 

Constructor & Destructor Documentation

◆ CsvReader()

CsvReader ( const std::string & filename,
bool hasHeader )

Member Function Documentation

◆ getHeader()

std::vector< std::string > getHeader ( )

◆ isEof()

bool isEof ( )

◆ read() [1/3]

bool read ( std::map< std::string, float > & row)

◆ read() [2/3]

bool read ( std::vector< float > & row)

◆ read() [3/3]

bool read ( std::vector< std::string > & row)

◆ readAllColumnsFloatMap()

std::map< std::string, std::vector< float > > readAllColumnsFloatMap ( )

◆ readAllFloatList()

std::vector< std::vector< float > > readAllFloatList ( )

◆ readAllFloatMap()

std::vector< std::map< std::string, float > > readAllFloatMap ( )

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