#include "hdbcolumn.h"

HDbColumn


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

class HDbColumn : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HDbColumn

    public:
HDbColumn() HDbColumn(const char*) HDbColumn(HDbColumn&) ~HDbColumn() static TClass* Class() void copyColumn(HDbColumn*) HDbColumnType* getColType() Int_t getColumnId() virtual TClass* IsA() const Bool_t isNullable() HDbColumn& operator=(const HDbColumn&) void setColType(const char*, Int_t, Int_t p = 0, Int_t s = 0) void setColType(const char*) void setColumnId(Int_t n) void setNullable(Bool_t status = kTRUE) void show() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
HDbColumnType* colType Type of the column Int_t colId Position index of the column in an existing table Bool_t colNullable Nullability of the column

Class Description

 HDbColumn

 Class for a column in an Oracle table



HDbColumn()
 Default constructor

HDbColumn(const char* cName)
 Constructor creates a column with name cName and default type varchar2(80)
 By default the column is nullable

HDbColumn(HDbColumn& c)
 Copy constructor

~HDbColumn()
 Destructor

void setColType(const char* tName, Int_t dlen, Int_t prec, Int_t scale)
 Sets the column type
 Parameters are:  tName = Name of the type, dlen = length in bytes,
                  prec = data precision, scale = data scale

void setColType(const char* c)
 Sets the column type (e.g  varchar3(20) or number(4,2))

void copyColumn(HDbColumn* p)
 Copies the parameters of a column

void show()
 Shows a column



Inline Functions


                  void setColumnId(Int_t n)
                  void setNullable(Bool_t status = kTRUE)
        HDbColumnType* getColType()
                 Int_t getColumnId()
                Bool_t isNullable()
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
            HDbColumn& operator=(const HDbColumn&)


Last update: 11/09/2000


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.