class TChair: public TDataSet


It is a base class to create a custom interface for TTable objects

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTDataSet::Add(TDataSet* dataset)
virtual voidAddAt(TDataSet* dataset, Int_t idx)
virtual voidAddAt(const void* c, Int_t i)
virtual voidTDataSet::AddAtAndExpand(TDataSet* dataset, Int_t idx = 0)
virtual voidTDataSet::AddFirst(TDataSet* dataset)
virtual voidTDataSet::AddLast(TDataSet* dataset)
virtual voidAdopt(Int_t n, void* array)
virtual voidTObject::AppendPad(Option_t* option = "")
const void*At(Int_t i) const
virtual voidBrowse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TDataSet::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
Int_tCopyRows(const TChair* srcChair, Int_t srcRow = 0, Int_t dstRow = 0, Int_t nRows = 0, Bool_t expand = kFALSE)
virtual voidCopySet(TChair& chair)
virtual voidTDataSet::Delete(Option_t* opt = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* opt)
virtual TH1*Draw(TCut varexp, TCut selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
virtual TH1*Draw(const char* varexp, const char* selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TDataSet*TDataSet::Find(const char* path) const
virtual TDataSet*TDataSet::FindByName(const char* name, const char* path = "", Option_t* opt = "") const
virtual TDataSet*TDataSet::FindByPath(const char* path) const
virtual TDataSet*TDataSet::FindByTitle(const char* title, const char* path = "", Option_t* opt = "") const
virtual TObject*TDataSet::FindObject(const char* name) const
virtual TObject*TDataSet::FindObject(const TObject* o) const
virtual TDataSet*TDataSet::First() const
virtual voidFit(const char* formula, const char* varexp, const char* selection = "", Option_t* option = "", Option_t* goption = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
virtual Char_t*GetArray() const
virtual TSeqCollection*TDataSet::GetCollection() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
TList*TDataSet::GetList() const
virtual Int_tTDataSet::GetListSize() const
static TDataSet*TDataSet::GetMainSet()
TObject*TDataSet::GetMother() const
virtual const char*TNamed::GetName() const
virtual Long_tGetNRows() const
TObjArray*TDataSet::GetObjArray() const
virtual TObject*TDataSet::GetObject() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual TDataSet*TDataSet::GetParent() const
virtual TClass*GetRowClass() const
virtual TTableDescriptor*GetRowDescriptors() const
virtual Long_tGetRowSize() const
virtual Long_tGetTableSize() const
virtual const char*TNamed::GetTitle() const
virtual const Char_t*GetType() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Long_tHasData() const
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
virtual TDataSet*TDataSet::Instance() const
static TDataSet*TDataSet::instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTDataSet::IsEmpty() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsFolder() const
virtual Bool_tTDataSet::IsMarked() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTDataSet::IsThisDir(const char* dirname, int len = -1, int ignorecase = 0) const
Bool_tTObject::IsZombie() const
virtual TDataSet*TDataSet::Last() const
virtual voidls(Option_t* option = "") const
virtual voidls(Int_t deep) const
virtual Char_t*MakeExpression(const Char_t*[] expressions, Int_t nExpressions)
voidTDataSet::Mark(UInt_t flag, TDataSet::EBitOpt reset = kSet)
voidTObject::MayNotUse(const char* method) const
virtual TDataSet*TDataSet::Next() const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TChair&operator=(const TChair&)
void*operator[](Int_t i)
const void*operator[](Int_t i) const
virtual voidTObject::Paint(Option_t* option = "")
virtual TDataSet::EDataSetPassTDataSet::Pass(EDataSetPass(*)(TDataSet*) callback, Int_t depth = 0)
virtual TDataSet::EDataSetPassTDataSet::Pass(EDataSetPass(*)(TDataSet*,void*) callback, void* user, Int_t depth = 0)
virtual TStringTDataSet::Path() const
virtual voidTObject::Pop()
virtual TDataSet*TDataSet::Prev() const
virtual voidPrint(Option_t* opt = "") const
virtual Char_t*Print(Char_t* buf, Int_t n) const
virtual const Char_t*Print(Int_t row, Int_t rownumber = 10, const Char_t* colfirst = "", const Char_t* collast = "") const
virtual voidTDataSet::PrintContents(Option_t* opt = "") const
virtual const Char_t*PrintHeader() const
virtual Int_tPurge(Option_t* opt = "")
virtual Int_tTObject::Read(const char* name)
void*ReAllocate(Int_t newsize)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTDataSet::Remove(TDataSet* set)
virtual TDataSet*TDataSet::RemoveAt(Int_t idx)
virtual voidReset(Int_t c = 0)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
virtual voidSet(Int_t n)
virtual voidSet(Int_t n, Char_t* array)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTDataSet::SetMother(TDataSet* parent = 0)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidSetNRows(Int_t n)
virtual voidTDataSet::SetObject(TObject* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTDataSet::SetParent(TDataSet* parent = 0)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTDataSet::SetWrite()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidTDataSet::Shunt(TDataSet* newParent = 0)
virtual Int_tTNamed::Sizeof() const
virtual voidTDataSet::Sort()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
const TTable*Table() const
TChair(TTable* table)
TChair(const TChair& org)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidUpdate()
virtual voidUpdate(TDataSet* set, UInt_t opt = 0)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTDataSet::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTDataSet::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidTDataSet::AddMain(TDataSet* set)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
static void*GetOffset(const void* base, ULong_t offset)
const TTable*GetThisTable() const
virtual voidTDataSet::SetMother(TObject* mother)
static TDataSet::EDataSetPassTDataSet::SortIt(TDataSet* ds)
static TDataSet::EDataSetPassTDataSet::SortIt(TDataSet* ds, void* user)

Data Members

ULong_tfLastIndxindex pof the last used table row;
void*fLastRowpointer to the last used table row; fLastRow = table[fLastIndx]
TSeqCollection*TDataSet::fListList of the the the objects included into this dataset
TStringTNamed::fNameobject identifier
TDataSet*TDataSet::fParentpointer to mother of the directory
TTable*fTablethe "TTable" object this object is pthe proxy for
TStringTNamed::fTitleobject title
static TDataSet*TDataSet::fgMainSetpointer the main dataset;

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void AddAt(TDataSet* dataset, Int_t idx)
void * operator[](Int_t i)
const void * operator[](Int_t i) const
   if (!GetThisTable()->BoundsOk("TChair::operator[]", i))
      i = 0;
TTable * GetThisTable()
{return fTable; }
const TTable * GetThisTable() const
{return fTable; }
void * GetOffset(const void* base, ULong_t offset)
{ return (void *)((Char_t *)base + offset);}
{ ; }
TChair(TTable* table)
{ ; }
TChair(const TChair& org)
   TChair     &operator=(const TChair &rhs){ assert(0); return rhs;}
virtual ~TChair()
void Adopt(Int_t n, void* array)
void AddAt(TDataSet* dataset, Int_t idx)
const void * At(Int_t i) const
{return GetThisTable()->At(i);}
void Browse(TBrowser* b)
void CopySet(TChair& chair)
Int_t CopyRows(const TChair* srcChair, Int_t srcRow = 0, Int_t dstRow = 0, Int_t nRows = 0, Bool_t expand = kFALSE)
{return GetThisTable()->CopyRows(srcChair->GetThisTable(),srcRow,dstRow,nRows,expand);}
void Draw(Option_t* opt)
TH1 * Draw(TCut varexp, TCut selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
{return GetThisTable()->Draw(varexp,selection,option,nentries,firstentry);}
TH1 * Draw(const char* varexp, const char* selection, Option_t* option = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
Char_t * GetArray() const
{return (Char_t *)GetThisTable()->GetArray();}
TClass * GetRowClass() const
{return GetThisTable()->GetRowClass();}
Long_t GetNRows() const
{return GetThisTable()->GetNRows();}
Long_t GetRowSize() const
{return GetThisTable()->GetRowSize();}
Long_t GetTableSize() const
{return GetThisTable()->GetTableSize();}
TTableDescriptor * GetRowDescriptors() const
const Char_t * GetType() const
{return GetThisTable()->GetType();}
void Fit(const char* formula, const char* varexp, const char* selection = "", Option_t* option = "", Option_t* goption = "", Int_t nentries = 1000000000, Int_t firstentry = 0)
Long_t HasData() const
{ return GetThisTable()->HasData();}
Bool_t IsFolder() const
{ return GetThisTable()->IsFolder();}
void ls(Option_t* option = "") const
void ls(Int_t deep) const
Int_t NaN()
{return GetThisTable()->NaN();}
Char_t * MakeExpression(const Char_t*[] expressions, Int_t nExpressions)
{return GetThisTable()->MakeExpression(expressions,nExpressions);}
Char_t * Print(Char_t* buf, Int_t n) const
{ return GetThisTable()->Print(buf, n);}
void Print(Option_t* opt = "") const
const Char_t * Print(Int_t row, Int_t rownumber = 10, const Char_t* colfirst = "", const Char_t* collast = "") const
const Char_t * PrintHeader() const
{return GetThisTable()->PrintHeader();}
Int_t Purge(Option_t* opt = "")
{return GetThisTable()->Purge(opt);}
void * ReAllocate(Int_t newsize)
{ return GetThisTable()->ReAllocate(newsize); }
void * ReAllocate()
{ return GetThisTable()->ReAllocate(); }
void SavePrimitive(ostream& out, Option_t* option = "")
void Set(Int_t n)
void Set(Int_t n, Char_t* array)
void SetNRows(Int_t n)
void Reset(Int_t c = 0)
void Update()
void Update(TDataSet* set, UInt_t opt = 0)