ROOT logo
// @(#)root/sqlite:
// Author: o.freyermuth <o.f@cern.ch>, 01/06/2013

/*************************************************************************
 * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TSQLiteRow
#define ROOT_TSQLiteRow

#ifndef ROOT_TSQLRow
#include "TSQLRow.h"
#endif

#if !defined(__CINT__)
#include <sqlite3.h>
#else
struct sqlite3_stmt;
#endif


class TSQLiteRow : public TSQLRow {

private:
   sqlite3_stmt *fResult;       // current result set
   Bool_t        IsValid(Int_t field);

public:
   TSQLiteRow(void *result, ULong_t rowHandle);
   ~TSQLiteRow();

   void        Close(Option_t *opt="");
   ULong_t     GetFieldLength(Int_t field);
   const char *GetField(Int_t field);

   ClassDef(TSQLiteRow,0)  // One row of SQLite query result
};

#endif
 TSQLiteRow.h:1
 TSQLiteRow.h:2
 TSQLiteRow.h:3
 TSQLiteRow.h:4
 TSQLiteRow.h:5
 TSQLiteRow.h:6
 TSQLiteRow.h:7
 TSQLiteRow.h:8
 TSQLiteRow.h:9
 TSQLiteRow.h:10
 TSQLiteRow.h:11
 TSQLiteRow.h:12
 TSQLiteRow.h:13
 TSQLiteRow.h:14
 TSQLiteRow.h:15
 TSQLiteRow.h:16
 TSQLiteRow.h:17
 TSQLiteRow.h:18
 TSQLiteRow.h:19
 TSQLiteRow.h:20
 TSQLiteRow.h:21
 TSQLiteRow.h:22
 TSQLiteRow.h:23
 TSQLiteRow.h:24
 TSQLiteRow.h:25
 TSQLiteRow.h:26
 TSQLiteRow.h:27
 TSQLiteRow.h:28
 TSQLiteRow.h:29
 TSQLiteRow.h:30
 TSQLiteRow.h:31
 TSQLiteRow.h:32
 TSQLiteRow.h:33
 TSQLiteRow.h:34
 TSQLiteRow.h:35
 TSQLiteRow.h:36
 TSQLiteRow.h:37
 TSQLiteRow.h:38
 TSQLiteRow.h:39
 TSQLiteRow.h:40
 TSQLiteRow.h:41
 TSQLiteRow.h:42
 TSQLiteRow.h:43