Bench-MR
A Motion Planning Benchmark for Wheeled Mobile Robots
Public Member Functions | Public Attributes | List of all members
Table Class Reference

#include <Table.hpp>

Inheritance diagram for Table:
Inheritance graph
[legend]
Collaboration diagram for Table:
Collaboration graph
[legend]

Public Member Functions

 Table (QObject *parent=nullptr)
 
QWidget * createWidget ()
 
std::string str () const
 
std::string latex () const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
void addStatsRows (std::string columnName, const std::vector< double > &values1, const std::vector< double > &values2, const std::vector< double > &values3, const std::vector< double > &values4, const std::vector< double > &values5)
 

Public Attributes

std::vector< std::string > header
 
std::vector< std::pair< std::string, std::vector< double > > > rows
 

Constructor & Destructor Documentation

◆ Table()

Table::Table ( QObject *  parent = nullptr)
inlineexplicit

Member Function Documentation

◆ addStatsRows()

void Table::addStatsRows ( std::string  columnName,
const std::vector< double > &  values1,
const std::vector< double > &  values2,
const std::vector< double > &  values3,
const std::vector< double > &  values4,
const std::vector< double > &  values5 
)
inline

◆ columnCount()

int Table::columnCount ( const QModelIndex &  parent = QModelIndex()) const
inlineoverride

◆ createWidget()

QWidget * Table::createWidget ( )
inline

◆ data()

QVariant Table::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
inlineoverride

◆ flags()

Qt::ItemFlags Table::flags ( const QModelIndex &  index) const
inlineoverride

◆ headerData()

QVariant Table::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
inlineoverride

◆ latex()

std::string Table::latex ( ) const
inline

◆ rowCount()

int Table::rowCount ( const QModelIndex &  parent = QModelIndex()) const
inlineoverride

◆ str()

std::string Table::str ( ) const
inline

Member Data Documentation

◆ header

std::vector<std::string> Table::header

◆ rows

std::vector<std::pair<std::string, std::vector<double> > > Table::rows

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