48 if (field < 0 || field >= (
Int_t)sqlite3_column_count(
fResult)) {
49 Error(
"IsValid",
"field index out of bounds");
65 sqlite3_column_text(
fResult, field);
70 Error(
"GetFieldLength",
"cannot get field length");
85 return reinterpret_cast<const char*
>(sqlite3_column_text(
fResult, field));
int Int_t
Signed integer 4 bytes (int).
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Bool_t IsValid(Int_t field)
Check if row is open and field index within range.
sqlite3_stmt * fResult
! current result set
const char * GetField(Int_t field) final
Get specified field from row (0 <= field < GetFieldCount()).
~TSQLiteRow()
Destroy row object.
TSQLiteRow(void *result, ULong_t rowHandle)
Single row of query result.
ULong_t GetFieldLength(Int_t field) final
Get length in bytes of specified field.
void Close(Option_t *opt="") final
Close row.