#include "TBufferSQL.h"

TBufferSQL


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

class TBufferSQL : public TBuffer

Inheritance Chart:
TObject
<-
TBuffer
<-
TBufferSQL
    private:
TBufferSQL(const TBufferSQL&) void operator=(const TBufferSQL&) public:
TBufferSQL() TBufferSQL(TBuffer::EMode mode, vector<Int_t>* vc, TString* insert_query, TSQLRow** rowPtr) TBufferSQL(TBuffer::EMode mode, Int_t bufsiz, vector<Int_t>* vc, TString* insert_query, TSQLRow** rowPtr) TBufferSQL(TBuffer::EMode mode, Int_t bufsiz, vector<Int_t>* vc, TString* insert_query, TSQLRow** rowPtr, void* buf, Bool_t adopt = kTRUE) ~TBufferSQL() static TClass* Class() virtual TClass* IsA() const virtual TBuffer& operator<<(Bool_t b) virtual TBuffer& operator<<(Char_t c) virtual TBuffer& operator<<(UChar_t c) virtual TBuffer& operator<<(Short_t h) virtual TBuffer& operator<<(UShort_t h) virtual TBuffer& operator<<(Int_t i) virtual TBuffer& operator<<(UInt_t i) virtual TBuffer& operator<<(Long_t l) virtual TBuffer& operator<<(ULong_t l) virtual TBuffer& operator<<(Long64_t l) virtual TBuffer& operator<<(ULong64_t l) virtual TBuffer& operator<<(Float_t f) virtual TBuffer& operator<<(Double_t d) virtual TBuffer& operator<<(const Char_t* c) virtual TBuffer& operator>>(Bool_t&) virtual TBuffer& operator>>(Char_t&) virtual TBuffer& operator>>(UChar_t&) virtual TBuffer& operator>>(Short_t&) virtual TBuffer& operator>>(UShort_t&) virtual TBuffer& operator>>(Int_t&) virtual TBuffer& operator>>(UInt_t&) virtual TBuffer& operator>>(Float_t&) virtual TBuffer& operator>>(Long_t&) virtual TBuffer& operator>>(ULong_t&) virtual TBuffer& operator>>(Long64_t&) virtual TBuffer& operator>>(ULong64_t&) virtual TBuffer& operator>>(Double_t&) virtual TBuffer& operator>>(Char_t*) virtual void ReadFastArray(Bool_t*, Int_t) virtual void ReadFastArray(Char_t*, Int_t) virtual void ReadFastArray(UChar_t*, Int_t) virtual void ReadFastArray(Short_t*, Int_t) virtual void ReadFastArray(UShort_t*, Int_t) virtual void ReadFastArray(Int_t*, Int_t) virtual void ReadFastArray(UInt_t*, Int_t) virtual void ReadFastArray(Long_t*, Int_t) virtual void ReadFastArray(ULong_t*, Int_t) virtual void ReadFastArray(Long64_t*, Int_t) virtual void ReadFastArray(ULong64_t*, Int_t) virtual void ReadFastArray(Float_t*, Int_t) virtual void ReadFastArray(Double_t*, Int_t) virtual void ReadFastArray(void*, const TClass*, Int_t n = 1, TMemberStreamer* s = 0) virtual void ReadFastArray(void**, const TClass*, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0) virtual void ReadFastArrayDouble32(Double_t* d, Int_t n, TStreamerElement* ele = 0) virtual void ReadFastArrayString(Char_t*, Int_t) void ResetOffset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void WriteFastArray(const Bool_t* b, Int_t n) virtual void WriteFastArray(const Char_t* c, Int_t n) virtual void WriteFastArray(const UChar_t* c, Int_t n) virtual void WriteFastArray(const Short_t* h, Int_t n) virtual void WriteFastArray(const UShort_t* h, Int_t n) virtual void WriteFastArray(const Int_t* i, Int_t n) virtual void WriteFastArray(const UInt_t* i, Int_t n) virtual void WriteFastArray(const Long_t* l, Int_t n) virtual void WriteFastArray(const ULong_t* l, Int_t n) virtual void WriteFastArray(const Long64_t* l, Int_t n) virtual void WriteFastArray(const ULong64_t* l, Int_t n) virtual void WriteFastArray(const Float_t* f, Int_t n) virtual void WriteFastArray(const Double_t* d, Int_t n) virtual void WriteFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0) virtual Int_t WriteFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0) virtual void WriteFastArrayString(const Char_t* c, Int_t n)

Data Members

    private:
vector<int,allocator<int> >::iterator fIter vector<Int_t>* fColumnVec ! TString* fInsertQuery ! TSQLRow** fRowPtr !

Class Description

                                                                      
 TBufferSQL                                                           
                                                                      
 Implement TBuffer for a SQL backend                                  
                                                                      


TBufferSQL(EMode mode, vector<Int_t> *vc, TString *insert_query, TSQLRow ** r) : TBuffer(mode), fColumnVec(vc), fInsertQuery(insert_query), fRowPtr(r)

TBufferSQL(EMode mode, Int_t bufsiz, vector<Int_t> *vc, TString *insert_query, TSQLRow ** r) : TBuffer(mode,bufsiz), fColumnVec(vc), fInsertQuery(insert_query), fRowPtr(r)

TBufferSQL(EMode mode, Int_t bufsiz, vector<Int_t> *vc, TString *insert_query, TSQLRow ** r, void *buf, Bool_t adopt) : TBuffer(mode,bufsiz,buf,adopt), fColumnVec(vc), fInsertQuery(insert_query), fRowPtr(r)

TBufferSQL() : fColumnVec(0),fRowPtr(0)

~TBufferSQL()

void WriteFastArray(const Bool_t *b, Int_t n)

void WriteFastArray(const Char_t *c, Int_t n)

void WriteFastArrayString(const Char_t *c, Int_t /* n */)

void WriteFastArray(const UChar_t *uc, Int_t n)

void WriteFastArray(const Short_t *h, Int_t n)

void WriteFastArray(const UShort_t *us, Int_t n)

void WriteFastArray(const Int_t *ii, Int_t n)
   cerr << "Column: " <<*fIter << "   i:" << *ii << endl;

void WriteFastArray(const UInt_t *ui, Int_t n)

void WriteFastArray(const Long_t *l, Int_t n)

void WriteFastArray(const ULong_t *ul, Int_t n)

void WriteFastArray(const Long64_t *l, Int_t n)

void WriteFastArray(const ULong64_t *ul, Int_t n)

void WriteFastArray(const Float_t *f, Int_t n)

void WriteFastArray(const Double_t *d, Int_t n)

void WriteFastArray(void*, const TClass*, Int_t, TMemberStreamer *)

Int_t WriteFastArray(void **, const TClass*, Int_t, Bool_t, TMemberStreamer*)

void ReadFastArray(Bool_t *b, Int_t n)

void ReadFastArray(Char_t *c, Int_t n)

void ReadFastArrayString(Char_t *c, Int_t /* n */)

void ReadFastArray(UChar_t *uc, Int_t n)

void ReadFastArray(Short_t *s, Int_t n)

void ReadFastArray(UShort_t *us, Int_t n)

void ReadFastArray(Int_t *in, Int_t n)

void ReadFastArray(UInt_t *ui, Int_t n)

void ReadFastArray(Long_t *l, Int_t n)

void ReadFastArray(ULong_t *ul, Int_t n)

void ReadFastArray(Long64_t *ll, Int_t n)

void ReadFastArray(ULong64_t *ull, Int_t n)

void ReadFastArray(Float_t *f, Int_t n)

void ReadFastArray(Double_t *d, Int_t n)

void ReadFastArrayDouble32(Double_t *, Int_t , TStreamerElement *)

void ReadFastArray(void *, const TClass *, Int_t, TMemberStreamer *)

void ReadFastArray(void **, const TClass *, Int_t, Bool_t, TMemberStreamer *)

void ResetOffset()



Inline Functions


               void operator=(const TBufferSQL&)
         TBufferSQL TBufferSQL(TBuffer::EMode mode, Int_t bufsiz, vector<Int_t>* vc, TString* insert_query, TSQLRow** rowPtr, void* buf, Bool_t adopt = kTRUE)
           TBuffer& operator>>(Bool_t&)
           TBuffer& operator>>(Char_t&)
           TBuffer& operator>>(UChar_t&)
           TBuffer& operator>>(Short_t&)
           TBuffer& operator>>(UShort_t&)
           TBuffer& operator>>(Int_t&)
           TBuffer& operator>>(UInt_t&)
           TBuffer& operator>>(Float_t&)
           TBuffer& operator>>(Long_t&)
           TBuffer& operator>>(ULong_t&)
           TBuffer& operator>>(Long64_t&)
           TBuffer& operator>>(ULong64_t&)
           TBuffer& operator>>(Double_t&)
           TBuffer& operator>>(Char_t*)
           TBuffer& operator<<(Bool_t b)
           TBuffer& operator<<(Char_t c)
           TBuffer& operator<<(UChar_t c)
           TBuffer& operator<<(Short_t h)
           TBuffer& operator<<(UShort_t h)
           TBuffer& operator<<(Int_t i)
           TBuffer& operator<<(UInt_t i)
           TBuffer& operator<<(Long_t l)
           TBuffer& operator<<(ULong_t l)
           TBuffer& operator<<(Long64_t l)
           TBuffer& operator<<(ULong64_t l)
           TBuffer& operator<<(Float_t f)
           TBuffer& operator<<(Double_t d)
           TBuffer& operator<<(const Char_t* c)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Philippe Canal and al. 08/2004
Last update: root/tree:$Name: $:$Id: TBufferSQL.cxx,v 1.2 2005/08/16 13:46:46 pcanal Exp $
Copyright (C) 1995-2000, 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.