cRow Class Reference

#include <database.h>

List of all members.

Public Member Functions

int Count ()
bool fetchColumn (cString *Column, cString *Value)
bool fetchColumn (char **Column, char **Value)

Friends

class cSQLiteDatabase


Detailed Description

Result row of a SQL SELECT request

This is a single row of a {SQL SELECT} request.

See also:
cRows

Member Function Documentation

int cRow::Count (  )  [inline]

Number of columns in this row

Returns:
the number of rows

bool cRow::fetchColumn ( char **  Column,
char **  Value 
)

Fetches a Column

This will fetch a column of this row and stores the name of the column in the first parameter and the value in the second parameter.

Returns:
returns
  • true, if more columns to come
  • false, if the column is its last in this row.
Parameters:
Column The name of the current column
Value The value of the current column

bool cRow::fetchColumn ( cString *  Column,
cString *  Value 
)

Fetches a Column

This will fetch a column of this row and stores the name of the column in the first parameter and the value in the second parameter.

Returns:
returns
  • true, if more columns to come
  • false, if the column is its last in this row.
Parameters:
Column The name of the current column
Value The value of the current value


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

Generated on Sun Nov 8 15:44:09 2009 for UPnP/DLNA plugin for VDR by  doxygen 1.5.8