library: libRODBC
#include "TODBCRow.h"

TODBCRow


class description - header file - source file - inheritance tree (.pdf)

class TODBCRow : public TSQLRow

Inheritance Chart:
TObject
<-
TSQLRow
<-
TODBCRow

    protected:
void CopyFieldValue(Int_t field) public:
TODBCRow(SQLHSTMT stmt, Int_t fieldcount) TODBCRow(const TODBCRow&) virtual ~TODBCRow() static TClass* Class() virtual void Close(Option_t* opt = "") virtual const char* GetField(Int_t field) virtual ULong_t GetFieldLength(Int_t field) virtual TClass* IsA() const TODBCRow& operator=(const TODBCRow&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
SQLHSTMT fHstmt Int_t fFieldCount char** fBuffer ULong_t* fLengths

Class Description

TODBCRow(SQLHSTMT stmt, Int_t fieldcount)
 Single row of query result.
~TODBCRow()
 Destroy row object.
void Close(Option_t *)
 Close row.
void CopyFieldValue(Int_t field)
 Extracts field value from statement.
 First allocates 128 bytes for buffer.
 If there is not enouth space, bigger buffer is allocated and
 request is repeated
ULong_t GetFieldLength(Int_t field)
 Get length in bytes of specified field.
const char * GetField(Int_t field)
 Get specified field from row (0 <= field < GetFieldCount()).
TODBCRow(SQLHSTMT stmt, Int_t fieldcount)

Author: Sergey Linev 6/02/2006
Last update: root/odbc:$Name: $:$Id: TODBCRow.cxx,v 1.5 2006/05/22 08:55:30 brun Exp $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.