ContentData¶
-
class
kanzi::connect
::
ContentData
¶ Describes resulting data of content query. Contains columns and rows that were retrieved from the database.
Public Functions
-
ContentColumn *
addColumn
()¶ Appends a column in to this content data.
- Returns
Data for new column.
-
ContentRow *
addRow
()¶ Appends a row in to this content data.
- Returns
Container for values in new row.
-
ContentColumn *
getColumn
(size_t index)¶ Retrieves given column from this content data.
- Parameters
index – Index of the column.
- Returns
Column data.
-
size_t
getColumnCount
() const¶ Retrieves number of columns in this content data.
- Returns
Number of columns.
-
ContentRow *
getRow
(size_t index)¶ Retrieves given row from this content data.
- Parameters
index – Index of the row.
- Returns
Row data.
-
size_t
getRowCount
() const¶ Retrieves number of rows in this content data.
- Returns
Number of rows.
-
size_t
getStartIndex
() const¶ retrieve the start index
- Returns
start index
-
void
setStartIndex
(size_t startIndex)¶ Set the start index.
- Parameters
startIndex – the index.
-
ContentColumn *