HDbColumn


class description - source file - inheritance tree

class HDbColumn : public TNamed


    public:
HDbColumn HDbColumn() HDbColumn HDbColumn(const char*) HDbColumn HDbColumn(HDbColumn&) virtual void ~HDbColumn() static TClass* Class() void copyColumn(HDbColumn*) HDbColumnType* getColType() Int_t getColumnId() virtual TClass* IsA() const Bool_t isNullable() 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)

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 coulumn is nullable

HDbColumn(HDbColumn& c)
 Copy constructor

~HDbColumn()
 Destrucyor

void setColType(const char* tName, Int_t dlen, Int_t prec=0, Int_t scale=0)
 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)


Last update: 11/09/2000


ROOT page - Class index - 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.