library: libSQL
#include "TSQLStructure.h"

TSQLColumnData


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

class TSQLColumnData : public TObject

Inheritance Chart:
TObject
<-
TSQLColumnData

    public:
TSQLColumnData() TSQLColumnData(const char* name, const char* sqltype, const char* value, Bool_t numeric) TSQLColumnData(const char* name, Int_t value) TSQLColumnData(const TSQLColumnData&) virtual ~TSQLColumnData() static TClass* Class() virtual const char* GetName() const const char* GetType() const const char* GetValue() const virtual TClass* IsA() const Bool_t IsNumeric() const TSQLColumnData& operator=(const TSQLColumnData&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TString fName ! name of the table column TString fType ! type of the table column TString fValue ! value of the table column Bool_t fNumeric ! for numeric quotes (double quotes) are not required

Class Description

  This is hierarhical structure, which is created when data is written
  by TBufferSQL2. It contains data all structurual information such:
  version of written class, data memeber types of that class, value for
  each data memeber and so on.
  Such structure in some sense similar to XML node and subnodes structure
  Once it created, it converted to SQL statements, which are submitted
  to database server.

________________________________________________________________________

TSQLColumnData() : TObject(), fName(), fType(), fValue(), fNumeric(kFALSE)
 default constructor

TSQLColumnData(const char* name, const char* sqltype, const char* value, Bool_t numeric) : TObject(), fName(name), fType(sqltype), fValue(value), fNumeric(numeric)
 normal constructor of TSQLColumnData class
 specifies name, type and value for one column

TSQLColumnData(const char* name, Int_t value) : TObject(), fName(name), fType("INT"), fValue(), fNumeric(kTRUE)
 constructs TSQLColumnData object for integer column

~TSQLColumnData()
 TSQLColumnData destructor



Inline Functions


            const char* GetName() const
            const char* GetType() const
            const char* GetValue() const
                 Bool_t IsNumeric() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         TSQLColumnData TSQLColumnData(const TSQLColumnData&)
        TSQLColumnData& operator=(const TSQLColumnData&)


Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TSQLStructure.cxx,v 1.7 2005/12/07 14:59:57 rdm Exp $
Copyright (C) 1995-2005, 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.