Fledge
An open source edge computing platform for industrial users
ResultSet::Row Class Reference

Public Member Functions

 Row (ResultSet *resultSet)
 
void append (ColumnValue *value)
 
ColumnType getType (unsigned int column)
 Return the type of the given column in this row. More...
 
ColumnType getType (const std::string &name)
 
ColumnValuegetColumn (unsigned int column) const
 Return the column value of the given column in this row. More...
 
ColumnValuegetColumn (const std::string &name) const
 
ColumnValueoperator[] (unsigned long colNo) const
 

Member Function Documentation

◆ getColumn()

ResultSet::ColumnValue * ResultSet::Row::getColumn ( unsigned int  column) const

Return the column value of the given column in this row.

Parameters
columnThe column number in the row, columns are numbered from 0
Returns
ColumnValue The column value of the specified column
Exceptions
ResultNoSuchColumnExceptionThe specified column does not exist in the row

◆ getType()

ColumnType ResultSet::Row::getType ( unsigned int  column)

Return the type of the given column in this row.

Parameters
columnThe column number in the row, columns are numbered from 0
Returns
ColumnType The column type of the specified column
Exceptions
ResultNoSuchColumnExceptionThe specified column does not exist in the row

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