#include <TTable.h>
Inheritance diagram for TTable:
Public Types | |
enum | EColumnType |
enum | ETableBits |
enum | EColumnType |
enum | ETableBits |
Public Member Functions | |
TTable (const char *name=0, Int_t size=0) | |
TTable (const char *name, Int_t n, Int_t size) | |
TTable (const char *name, Int_t n, Char_t *array, Int_t size) | |
TTable (const char *name, const char *type, Int_t n, Char_t *array, Int_t size) | |
TTable (const TTable &table) | |
TTable & | operator= (const TTable &rhs) |
virtual | ~TTable () |
virtual void | Adopt (Int_t n, void *array) |
virtual Int_t | AddAt (const void *c) |
virtual void | AddAt (const void *c, Int_t i) |
virtual void | AddAt (TDataSet *dataset, Int_t idx=0) |
virtual Long_t | AppendRows (const void *row, UInt_t nRows) |
virtual void | AsString (void *buf, EColumnType type, Int_t width, ostream &out) const |
const void * | At (Int_t i) const |
virtual void | Browse (TBrowser *b) |
virtual void | CopySet (TTable &array) |
Int_t | CopyRows (const TTable *srcTable, Long_t srcRow=0, Long_t dstRow=0, Long_t nRows=0, Bool_t expand=kFALSE) |
virtual void | DeleteRows (Long_t indx, UInt_t nRows=1) |
virtual void | Draw (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) |
void * | GetArray () const |
virtual TClass * | GetRowClass () const |
Int_t | GetSize () const |
virtual Long_t | GetNRows () const |
virtual Long_t | GetRowSize () const |
virtual Long_t | GetTableSize () const |
virtual TTableDescriptor * | GetTableDescriptors () const |
virtual TTableDescriptor * | GetRowDescriptors () const |
virtual const Char_t * | GetType () const |
virtual 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) |
virtual Long_t | HasData () const |
virtual Long_t | InsertRows (const void *rows, Long_t indx, UInt_t nRows=1) |
virtual Bool_t | IsFolder () const |
Int_t | NaN () |
virtual Char_t * | MakeExpression (const Char_t *expressions[], Int_t nExpressions) |
virtual Char_t * | Print (Char_t *buf, Int_t n) const |
virtual void | Print (Option_t *opt="") const |
virtual const Char_t * | Print (Int_t row, Int_t rownumber=10, const Char_t *colfirst="", const Char_t *collast="") const |
virtual void | PrintContents (Option_t *opt="") const |
virtual const Char_t * | PrintHeader () const |
virtual void | Project (const char *hname, const char *varexp, const char *selection="", Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0) |
virtual Int_t | Purge (Option_t *opt="") |
void * | ReAllocate (Int_t newsize) |
void * | ReAllocate () |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | Set (Int_t n) |
virtual void | Set (Int_t n, Char_t *array) |
virtual void | SetNRows (Int_t n) |
virtual void | Reset (Int_t c=0) |
virtual void | ResetMap (Bool_t wipe=kTRUE) |
virtual void | Update () |
virtual void | Update (TDataSet *set, UInt_t opt=0) |
void * | operator[] (Int_t i) |
const void * | operator[] (Int_t i) const |
virtual Int_t | GetColumnIndex (const Char_t *columnName) const |
virtual const Char_t * | GetColumnName (Int_t columnIndex) const |
virtual const UInt_t * | GetIndexArray (Int_t columnIndex) const |
virtual UInt_t | GetNumberOfColumns () const |
virtual UInt_t | GetOffset (Int_t columnIndex) const |
virtual Int_t | GetOffset (const Char_t *columnName=0) const |
virtual UInt_t | GetColumnSize (Int_t columnIndex) const |
virtual Int_t | GetColumnSize (const Char_t *columnName=0) const |
virtual UInt_t | GetTypeSize (Int_t columnIndex) const |
virtual Int_t | GetTypeSize (const Char_t *columnName=0) const |
virtual UInt_t | GetDimensions (Int_t columnIndex) const |
virtual Int_t | GetDimensions (const Char_t *columnName=0) const |
virtual EColumnType | GetColumnType (Int_t columnIndex) const |
virtual EColumnType | GetColumnType (const Char_t *columnName=0) const |
virtual const Char_t * | GetColumnComment (Int_t columnIndex) const |
piterator | pbegin () |
piterator | pend () |
TTable (const char *name=0, Int_t size=0) | |
TTable (const char *name, Int_t n, Int_t size) | |
TTable (const char *name, Int_t n, Char_t *array, Int_t size) | |
TTable (const char *name, const char *type, Int_t n, Char_t *array, Int_t size) | |
TTable (const TTable &table) | |
TTable & | operator= (const TTable &rhs) |
virtual | ~TTable () |
virtual void | Adopt (Int_t n, void *array) |
virtual Int_t | AddAt (const void *c) |
virtual void | AddAt (const void *c, Int_t i) |
virtual void | AddAt (TDataSet *dataset, Int_t idx=0) |
virtual Long_t | AppendRows (const void *row, UInt_t nRows) |
virtual void | AsString (void *buf, EColumnType type, Int_t width, ostream &out) const |
const void * | At (Int_t i) const |
virtual void | Browse (TBrowser *b) |
virtual void | CopySet (TTable &array) |
Int_t | CopyRows (const TTable *srcTable, Long_t srcRow=0, Long_t dstRow=0, Long_t nRows=0, Bool_t expand=kFALSE) |
virtual void | DeleteRows (Long_t indx, UInt_t nRows=1) |
virtual void | Draw (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) |
void * | GetArray () const |
virtual TClass * | GetRowClass () const |
Int_t | GetSize () const |
virtual Long_t | GetNRows () const |
virtual Long_t | GetRowSize () const |
virtual Long_t | GetTableSize () const |
virtual TTableDescriptor * | GetTableDescriptors () const |
virtual TTableDescriptor * | GetRowDescriptors () const |
virtual const Char_t * | GetType () const |
virtual 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) |
virtual Long_t | HasData () const |
virtual Long_t | InsertRows (const void *rows, Long_t indx, UInt_t nRows=1) |
virtual Bool_t | IsFolder () const |
Int_t | NaN () |
virtual Char_t * | MakeExpression (const Char_t *expressions[], Int_t nExpressions) |
virtual Char_t * | Print (Char_t *buf, Int_t n) const |
virtual void | Print (Option_t *opt="") const |
virtual const Char_t * | Print (Int_t row, Int_t rownumber=10, const Char_t *colfirst="", const Char_t *collast="") const |
virtual void | PrintContents (Option_t *opt="") const |
virtual const Char_t * | PrintHeader () const |
virtual void | Project (const char *hname, const char *varexp, const char *selection="", Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0) |
virtual Int_t | Purge (Option_t *opt="") |
void * | ReAllocate (Int_t newsize) |
void * | ReAllocate () |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | Set (Int_t n) |
virtual void | Set (Int_t n, Char_t *array) |
virtual void | SetNRows (Int_t n) |
virtual void | Reset (Int_t c=0) |
virtual void | ResetMap (Bool_t wipe=kTRUE) |
virtual void | Update () |
virtual void | Update (TDataSet *set, UInt_t opt=0) |
void * | operator[] (Int_t i) |
const void * | operator[] (Int_t i) const |
virtual Int_t | GetColumnIndex (const Char_t *columnName) const |
virtual const Char_t * | GetColumnName (Int_t columnIndex) const |
virtual const UInt_t * | GetIndexArray (Int_t columnIndex) const |
virtual UInt_t | GetNumberOfColumns () const |
virtual UInt_t | GetOffset (Int_t columnIndex) const |
virtual Int_t | GetOffset (const Char_t *columnName=0) const |
virtual UInt_t | GetColumnSize (Int_t columnIndex) const |
virtual Int_t | GetColumnSize (const Char_t *columnName=0) const |
virtual UInt_t | GetTypeSize (Int_t columnIndex) const |
virtual Int_t | GetTypeSize (const Char_t *columnName=0) const |
virtual UInt_t | GetDimensions (Int_t columnIndex) const |
virtual Int_t | GetDimensions (const Char_t *columnName=0) const |
virtual EColumnType | GetColumnType (Int_t columnIndex) const |
virtual EColumnType | GetColumnType (const Char_t *columnName=0) const |
virtual const Char_t * | GetColumnComment (Int_t columnIndex) const |
piterator | pbegin () |
piterator | pend () |
Static Public Member Functions | |
static TTable * | New (const Char_t *name, const Char_t *type, void *array, UInt_t size) |
static const char * | GetTypeName (EColumnType type) |
static EColumnType | GetTypeId (const char *typeName) |
static const char * | TableDictionary () |
static TTable * | New (const Char_t *name, const Char_t *type, void *array, UInt_t size) |
static const char * | GetTypeName (EColumnType type) |
static EColumnType | GetTypeId (const char *typeName) |
static const char * | TableDictionary () |
Static Public Attributes | |
static const char * | fgTypeName [kEndColumnType] |
static const char * | fgTypeName [kEndColumnType] |
Protected Member Functions | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
void | CopyStruct (Char_t *dest, const Char_t *src) |
Char_t * | Create () |
virtual void | Clear (Option_t *opt="") |
virtual void | Delete (Option_t *opt="") |
virtual Bool_t | EntryLoop (const Char_t *exprFileName, Int_t &action, TObject *obj, Int_t nentries=1000000000, Int_t firstentry=0, Option_t *option="") |
Int_t | SetfN (Long_t len) |
void | SetTablePointer (void *table) |
void | SetUsedRows (Int_t n) |
virtual void | SetType (const char *const type) |
void | StreamerHeader (TBuffer &b, Version_t version=3) |
void | StreamerTable (TBuffer &b, Version_t version=3) |
virtual TTableDescriptor * | GetDescriptorPointer () const |
virtual void | SetDescriptorPointer (TTableDescriptor *list) |
void | ReAlloc (Int_t newsize) |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
void | CopyStruct (Char_t *dest, const Char_t *src) |
Char_t * | Create () |
virtual void | Clear (Option_t *opt="") |
virtual void | Delete (Option_t *opt="") |
virtual Bool_t | EntryLoop (const Char_t *exprFileName, Int_t &action, TObject *obj, Int_t nentries=1000000000, Int_t firstentry=0, Option_t *option="") |
Int_t | SetfN (Long_t len) |
void | SetTablePointer (void *table) |
void | SetUsedRows (Int_t n) |
virtual void | SetType (const char *const type) |
void | StreamerHeader (TBuffer &b, Version_t version=3) |
void | StreamerTable (TBuffer &b, Version_t version=3) |
virtual TTableDescriptor * | GetDescriptorPointer () const |
virtual void | SetDescriptorPointer (TTableDescriptor *list) |
void | ReAlloc (Int_t newsize) |
Static Protected Member Functions | |
static const char * | TableDictionary (const char *className, const char *structName, TTableDescriptor *&ColDescriptors) |
static const char * | TableDictionary (const char *className, const char *structName, TTableDescriptor *&ColDescriptors) |
Protected Attributes | |
Long_t | fSize |
Int_t | fN |
Char_t * | fTable |
Long_t | fMaxIndex |
Char_t * | fTable |
Friends | |
class | TDataSet |
class | St_XDFFile |
Classes | |
class | iterator |
class | piterator |
Definition at line 52 of file TTable.h.
enum TTable::EColumnType |
enum TTable::ETableBits |
enum TTable::EColumnType |
enum TTable::ETableBits |
TTable::TTable | ( | const char * | name = 0 , |
|
Int_t | size = 0 | |||
) |
TTable::TTable | ( | const TTable & | table | ) |
Definition at line 1071 of file TTable.cxx.
References fSize, fTable, Set(), SetfN(), and SetUsedRows().
TTable::~TTable | ( | ) | [virtual] |
TTable::TTable | ( | const char * | name = 0 , |
|
Int_t | size = 0 | |||
) |
TTable::TTable | ( | const TTable & | table | ) |
virtual TTable::~TTable | ( | ) | [virtual] |
Definition at line 276 of file TTable.h.
References fN, kTRUE, and OutOfBoundsError().
Referenced by AddAt(), At(), and operator[]().
Definition at line 1528 of file TTable.cxx.
References TObject::Error(), fN, and kFALSE.
Referenced by BoundsOk().
Char_t * TTable::Create | ( | ) | [protected] |
Definition at line 1263 of file TTable.cxx.
References TObject::Error(), fN, fSize, fTable, TNamed::GetName(), GetType(), gSystem, malloc(), ptr, TSystem::Sleep(), and TObject::Warning().
Referenced by Set().
void TTable::Clear | ( | Option_t * | opt = "" |
) | [protected, virtual] |
Reimplemented from TNamed.
Definition at line 1335 of file TTable.cxx.
References fMaxIndex, free(), fTable, gDtorName, kFALSE, kIsNotOwn, ResetMap(), SetfN(), and TObject::TestBit().
void TTable::Delete | ( | Option_t * | opt = "" |
) | [protected, virtual] |
Reimplemented from TDataSet.
Definition at line 1356 of file TTable.cxx.
References Clear(), TDataSet::Delete(), and gDtorName.
Referenced by ~TTable().
Bool_t TTable::EntryLoop | ( | const Char_t * | exprFileName, | |
Int_t & | action, | |||
TObject * | obj, | |||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 , |
|||
Option_t * | option = "" | |||
) | [protected, virtual] |
Definition at line 758 of file TTable.cxx.
References buf, xmlio::Class, TView::CreateView(), TPolyMarker::Draw(), TPolyMarker3D::Draw(), TObject::Error(), FindGoodLimits(), func(), G__LOADFILE_DUPLICATE, G__LOADFILE_SUCCESS, G__unloadfile, gCurrentTableHist, GetArray(), Cint::G__ClassInfo::GetMethod(), TNamed::GetName(), GetNRows(), GetRowDescriptors(), GetRowSize(), TTableDescriptor::GetTable(), gNbins, gPad, gVmax, gVmin, i, TObject::kCanDelete, kFALSE, kTRUE, TMath::Min(), Cint::G__CallFunc::SetArg(), TObject::SetBit(), Cint::G__CallFunc::SetBytecode(), TPolyMarker3D::SetNextPoint(), sprintf(), TAKEACTION_BEGIN, TAKEACTION_END, TObject::TestBit(), u, x, and y.
Referenced by Draw().
void TTable::SetTablePointer | ( | void * | table | ) | [protected] |
void TTable::SetUsedRows | ( | Int_t | n | ) | [inline, protected] |
Definition at line 290 of file TTable.h.
References fMaxIndex.
Referenced by AddAt(), Adopt(), DeleteRows(), operator=(), SetNRows(), TTable(), and Update().
void TTable::SetType | ( | const char *const | type | ) | [protected, virtual] |
Definition at line 1960 of file TTable.cxx.
References TNamed::SetTitle().
Referenced by TTableDescriptor::Init(), TGenericTable::SetGenericType(), TGenericTable::TGenericTable(), TIndexTable::TIndexTable(), TResponseTable::TResponseTable(), TTable(), and TTableDescriptor::TTableDescriptor().
Definition at line 2116 of file TTable.cxx.
References b, fMaxIndex, fSize, GetRowSize(), len, and TObject::Warning().
Referenced by StreamerTable().
Definition at line 2099 of file TTable.cxx.
References b, fMaxIndex, fN, Set(), and StreamerHeader().
TTableDescriptor * TTable::GetDescriptorPointer | ( | ) | const [protected, virtual] |
void TTable::SetDescriptorPointer | ( | TTableDescriptor * | list | ) | [protected, virtual] |
Definition at line 2221 of file TTable.cxx.
void TTable::ReAlloc | ( | Int_t | newsize | ) | [protected] |
Definition at line 1240 of file TTable.cxx.
References TObject::Error(), fSize, fTable, TNamed::GetName(), GetType(), gSystem, kIsNotOwn, realloc(), SetfN(), TSystem::Sleep(), TObject::TestBit(), and TObject::Warning().
Referenced by ReAllocate().
const char * TTable::TableDictionary | ( | const char * | className, | |
const char * | structName, | |||
TTableDescriptor *& | ColDescriptors | |||
) | [static, protected] |
Definition at line 1082 of file TTable.cxx.
References TObject::Error(), fTable, GetNRows(), GetType(), Set(), and SetUsedRows().
void TTable::Adopt | ( | Int_t | n, | |
void * | array | |||
) | [virtual] |
Definition at line 1106 of file TTable.cxx.
References Clear(), fTable, SetfN(), and SetUsedRows().
Referenced by TChair::Adopt(), and Update().
Int_t TTable::AddAt | ( | const void * | c | ) | [virtual] |
Definition at line 1118 of file TTable.cxx.
References GetNRows(), GetTableSize(), TMath::Max(), and ReAllocate().
Referenced by TChair::AddAt(), TTableDescriptor::AddAt(), and TIndexTable::push_back().
void TTable::AddAt | ( | const void * | c, | |
Int_t | i | |||
) | [virtual] |
Definition at line 1134 of file TTable.cxx.
References BoundsOk(), fMaxIndex, fSize, fTable, TMath::Max(), and SetUsedRows().
Definition at line 1172 of file TTable.cxx.
References fSize, fTable, GetNRows(), GetSize(), kIsNotOwn, memmove, ReAllocate(), size, and TObject::TestBit().
void TTable::AsString | ( | void * | buf, | |
EColumnType | type, | |||
Int_t | width, | |||
ostream & | out | |||
) | const [virtual] |
const void * TTable::At | ( | Int_t | i | ) | const |
Reimplemented from TDataSet.
Definition at line 295 of file TTable.cxx.
References BoundsOk(), fSize, fTable, TNamed::GetName(), GetType(), and TObject::Warning().
Referenced by TChair::At(), TTableDescriptor::ColumnName(), TTableDescriptor::ColumnSize(), TTableDescriptor::ColumnType(), TTableDescriptor::Dimensions(), TTableDescriptor::IndexArray(), TTableDescriptor::Offset(), TTableDescriptor::SetColumnType(), TTableDescriptor::SetDimensions(), TTableDescriptor::SetOffset(), TTableDescriptor::SetSize(), TTableDescriptor::SetTypeSize(), and TTableDescriptor::TypeSize().
void TTable::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TDataSet.
Definition at line 1289 of file TTable.cxx.
References b, TDataSet::Browse(), buffer, TString::Data(), GetArray(), GetColumnName(), GetColumnType(), GetDimensions(), GetIndexArray(), GetNRows(), GetNumberOfColumns(), GetOffset(), i, k, TObject::kCanDelete, kPtr, m, TMath::Min(), nrows, and Print().
Referenced by TChair::Browse().
void TTable::CopySet | ( | TTable & | array | ) | [virtual] |
Definition at line 1157 of file TTable.cxx.
References array, CopyStruct(), fN, and fTable.
Referenced by TChair::CopySet().
Int_t TTable::CopyRows | ( | const TTable * | srcTable, | |
Long_t | srcRow = 0 , |
|||
Long_t | dstRow = 0 , |
|||
Long_t | nRows = 0 , |
|||
Bool_t | expand = kFALSE | |||
) |
Definition at line 306 of file TTable.cxx.
References TObject::Error(), GetNRows(), GetRowSize(), GetTableSize(), GetType(), kIsNotOwn, memmove, ReAllocate(), SetNRows(), size_t, and TObject::TestBit().
Referenced by TChair::CopyRows(), DeleteRows(), and InsertRows().
void TTable::Draw | ( | Option_t * | opt | ) | [inline, virtual] |
TH1 * TTable::Draw | ( | const char * | varexp, | |
const char * | selection, | |||
Option_t * | option = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
Definition at line 379 of file TTable.cxx.
References BIT, xmlio::Class, TString::Contains(), TObject::Delete(), TH1::Draw(), TObject::Draw(), elist, EntryLoop(), gCurrentTableHist, gDirectory, TDirectory::Get(), TH1::GetDimension(), TAxis::GetNbins(), GetNRows(), TH1::GetXaxis(), gNbins, gPad, gROOT, gVmax, gVmin, h1, h2, hp, i, TObject::InheritsFrom(), j, TObject::kCanDelete, kFALSE, kTRUE, TString::Length(), TROOT::MakeDefCanvas(), MakeExpression(), Printf(), profile, TEntryList::Reset(), TH1::Reset(), TObject::SetBit(), TH1::SetDirectory(), StrDup(), TH1::Sumw2(), title, TString::ToLower(), and TObject::Warning().
void * TTable::GetArray | ( | ) | const [inline] |
Definition at line 284 of file TTable.h.
References fTable.
Referenced by Browse(), TTableSorter::BuildSorter(), EntryLoop(), TChair::GetArray(), TTableDescriptor::GetTable(), TIndexTable::GetTable(), TGenericTable::GetTable(), NaN(), TIndexTable::iterator::operator *(), Print(), TTable::iterator::rowPtr(), SavePrimitive(), and TTableDescriptor::UpdateOffsets().
TClass * TTable::GetRowClass | ( | ) | const [virtual] |
Definition at line 1368 of file TTable.cxx.
References TObject::Error(), TNamed::GetName(), GetRowDescriptors(), GetType(), and TTableDescriptor::RowClass().
Referenced by TChair::GetRowClass(), TTableSorter::LearnTable(), TTableDescriptor::LearnTable(), and TTableDescriptor::TTableDescriptor().
Int_t TTable::GetSize | ( | ) | const [inline] |
Long_t TTable::GetNRows | ( | ) | const [virtual] |
Definition at line 1380 of file TTable.cxx.
References fMaxIndex.
Referenced by AddAt(), TResponseTable::AddElement(), AppendRows(), TGenericTable::begin(), TTableDescriptor::begin(), TIndexTable::begin(), Browse(), TTableSorter::BuildSorter(), TTableDescriptor::ColumnByName(), CopyRows(), DeleteRows(), Draw(), TGenericTable::end(), TIndexTable::end(), TTableDescriptor::end(), EntryLoop(), TResponseTable::FindResponseLocation(), TChair::GetNRows(), InsertRows(), IsFolder(), TTableMap::IsValid(), TIndexTable::IsValid(), MakeExpression(), NaN(), TTableDescriptor::NumberOfColumns(), operator=(), TGenericTable::operator[](), TIndexTable::operator[](), TTableDescriptor::operator[](), pend(), Print(), ReAllocate(), SavePrimitive(), Set(), TResponseTable::SetResponse(), TTableDescriptor::Sizeof(), TTableDescriptor::UpdateOffsets(), and TTableDescriptor::~TTableDescriptor().
Long_t TTable::GetRowSize | ( | ) | const [virtual] |
Definition at line 1386 of file TTable.cxx.
References fSize.
Referenced by TTableSorter::BuildSorter(), CopyRows(), EntryLoop(), TChair::GetRowSize(), TGenericTable::GetTable(), NaN(), TIndexTable::iterator::operator *(), Print(), TResponseTable::SetResponse(), and StreamerHeader().
Long_t TTable::GetTableSize | ( | ) | const [virtual] |
Definition at line 1392 of file TTable.cxx.
References fN.
Referenced by AddAt(), CopyRows(), and TChair::GetTableSize().
virtual TTableDescriptor* TTable::GetTableDescriptors | ( | ) | const [virtual] |
Referenced by GetRowDescriptors().
TTableDescriptor * TTable::GetRowDescriptors | ( | ) | const [virtual] |
Definition at line 2200 of file TTable.cxx.
References TObject::Error(), GetDescriptorPointer(), TNamed::GetName(), and GetTableDescriptors().
Referenced by EntryLoop(), GetColumnComment(), GetColumnIndex(), GetColumnName(), GetColumnSize(), GetColumnType(), GetDimensions(), GetIndexArray(), GetNumberOfColumns(), GetOffset(), GetRowClass(), TChair::GetRowDescriptors(), GetTypeSize(), MakeExpression(), NaN(), Print(), and SavePrimitive().
const Char_t * TTable::GetType | ( | ) | const [virtual] |
Definition at line 1434 of file TTable.cxx.
References TNamed::GetTitle().
Referenced by At(), CopyRows(), Create(), GetRowClass(), TTableSorter::GetTableType(), TChair::GetType(), operator=(), and ReAlloc().
void TTable::Fit | ( | const char * | formula, | |
const char * | varexp, | |||
const char * | selection = "" , |
|||
Option_t * | option = "" , |
|||
Option_t * | goption = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
Definition at line 1398 of file TTable.cxx.
References Draw(), TH1::Fit(), gCurrentTableHist, TNamed::GetName(), TObject::kCanDelete, Printf(), TObject::ResetBit(), TObject::SetBit(), and TObject::TestBit().
Referenced by TChair::Fit().
virtual Long_t TTable::HasData | ( | ) | const [inline, virtual] |
Reimplemented from TDataSet.
Definition at line 130 of file TTable.h.
Referenced by TChair::HasData().
Definition at line 1189 of file TTable.cxx.
References CopyRows(), fSize, fTable, GetNRows(), and memmove.
Bool_t TTable::IsFolder | ( | ) | const [virtual] |
Reimplemented from TDataSet.
Definition at line 1441 of file TTable.cxx.
References TDataSet::fList, GetNRows(), kFALSE, kTRUE, and TSeqCollection::Last().
Referenced by TChair::IsFolder().
Int_t TTable::NaN | ( | ) |
Definition at line 1459 of file TTable.cxx.
References TMath::Finite(), GetArray(), GetColumnName(), GetColumnSize(), GetColumnType(), TNamed::GetName(), GetNRows(), GetNumberOfColumns(), GetOffset(), GetRowDescriptors(), GetRowSize(), GetTypeSize(), kDouble, kFloat, nrows, and TObject::Warning().
Referenced by TChair::NaN().
TTable * TTable::New | ( | const Char_t * | name, | |
const Char_t * | type, | |||
void * | array, | |||
UInt_t | size | |||
) | [static] |
Definition at line 1503 of file TTable.cxx.
References classname, TClass::GetClass(), TClass::New(), TString::Strip(), and t.
Referenced by G__G__Table_102_0_52(), and G__setup_memfuncTTable().
Definition at line 1981 of file TTable.cxx.
References TObject::Error(), tableDescriptor_st::fColumnName, tableDescriptor_st::fDimensions, for(), tableDescriptor_st::fType, GetExpressionFileName(), GetNRows(), GetRowDescriptors(), TTableDescriptor::GetTable(), i, kFloat, str, and type.
Referenced by Draw(), and TChair::MakeExpression().
Definition at line 1535 of file TTable.cxx.
References TTableDescriptor::begin(), TTableDescriptor::end(), TObject::Error(), TNamed::GetName(), GetRowDescriptors(), TNamed::GetTitle(), GetTypeName(), TROOT::IndentLevel(), kFALSE, TTableDescriptor::MakeCommentField(), name, snprintf, strlcpy(), and title.
Referenced by Browse(), Print(), and TChair::Print().
void TTable::Print | ( | Option_t * | opt = "" |
) | const [inline, virtual] |
const Char_t * TTable::Print | ( | Int_t | row, | |
Int_t | rownumber = 10 , |
|||
const Char_t * | colfirst = "" , |
|||
const Char_t * | collast = "" | |||
) | const [virtual] |
Definition at line 1619 of file TTable.cxx.
References ArrayLayout(), AsString(), TTableDescriptor::begin(), TTableDescriptor::end(), GetArray(), TDatime::GetDateTime(), TNamed::GetName(), GetNRows(), GetRowDescriptors(), GetRowSize(), GetSize(), TNamed::GetTitle(), GetTypeName(), i, if(), j, kChar, kFALSE, kTRUE, TMath::Log10(), TTableDescriptor::MakeCommentField(), TMath::Min(), PrintHeader(), strlcpy(), and width.
void TTable::PrintContents | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TDataSet.
Definition at line 1758 of file TTable.cxx.
References fMaxIndex, fN, fSize, TNamed::GetName(), TROOT::IndentLevel(), TDataSet::PrintContents(), and Printf().
const Char_t * TTable::PrintHeader | ( | ) | const [virtual] |
Definition at line 1606 of file TTable.cxx.
References fMaxIndex, fN, fSize, and TDataSet::Path().
Referenced by Print(), and TChair::PrintHeader().
Reimplemented from TDataSet.
Definition at line 1792 of file TTable.cxx.
References TDataSet::Purge(), and ReAllocate().
Referenced by TChair::Purge().
void * TTable::ReAllocate | ( | Int_t | newsize | ) |
Definition at line 1227 of file TTable.cxx.
References fN, fTable, and ReAlloc().
Referenced by TChair::ReAllocate().
void * TTable::ReAllocate | ( | ) |
Definition at line 1215 of file TTable.cxx.
References fTable, GetNRows(), and ReAlloc().
Referenced by AddAt(), AppendRows(), CopyRows(), TTableDescriptor::LearnTable(), and Purge().
void TTable::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 1800 of file TTable.cxx.
References ArrayLayout(), AsString(), TTableDescriptor::begin(), TTableDescriptor::end(), fSize, GetArray(), TNamed::GetName(), GetNRows(), GetRowDescriptors(), GetTypeName(), i, kFALSE, TString::kIgnoreCase, TTableDescriptor::MakeCommentField(), and TDataSet::Path().
Referenced by TChair::SavePrimitive().
void TTable::Set | ( | Int_t | n | ) | [virtual] |
Definition at line 1941 of file TTable.cxx.
References Clear(), Create(), fN, GetNRows(), Reset(), and SetfN().
Referenced by operator=(), TChair::Set(), StreamerTable(), TGenericTable::TGenericTable(), and TTable().
Definition at line 2082 of file TTable.cxx.
References Clear(), CopyStruct(), Create(), fMaxIndex, fN, fTable, and SetfN().
void TTable::SetNRows | ( | Int_t | n | ) | [inline, virtual] |
Definition at line 292 of file TTable.h.
References SetUsedRows().
Referenced by CopyRows(), and TChair::SetNRows().
void TTable::Reset | ( | Int_t | c = 0 |
) | [virtual] |
Definition at line 2055 of file TTable.cxx.
References fN, fSize, fTable, kFALSE, kTRUE, and ResetMap().
Referenced by TChair::Reset(), and Set().
void TTable::Update | ( | ) | [virtual] |
Reimplemented from TDataSet.
Definition at line 2351 of file TTable.cxx.
Referenced by TChair::Update().
Reimplemented from TDataSet.
Definition at line 2357 of file TTable.cxx.
References Adopt(), TObject::Error(), TNamed::GetTitle(), TDataSet::HasData(), kIsNotOwn, TObject::ResetBit(), SetUsedRows(), and TDataSet::Update().
void * TTable::operator[] | ( | Int_t | i | ) | [inline] |
const void * TTable::operator[] | ( | Int_t | i | ) | const [inline] |
Definition at line 2393 of file TTable.cxx.
References TTableDescriptor::ColumnByName(), and GetRowDescriptors().
Referenced by TColumnView::IsFolder().
Definition at line 2394 of file TTable.cxx.
References TTableDescriptor::ColumnName(), and GetRowDescriptors().
Definition at line 2395 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::IndexArray().
Referenced by Browse().
UInt_t TTable::GetNumberOfColumns | ( | ) | const [virtual] |
Definition at line 2396 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::NumberOfColumns().
Definition at line 2398 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::Offset().
Referenced by Browse(), NaN(), and TTable3Points::SetAnyColumn().
Definition at line 2399 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::Offset().
Definition at line 2401 of file TTable.cxx.
References TTableDescriptor::ColumnSize(), and GetRowDescriptors().
Referenced by NaN().
Definition at line 2402 of file TTable.cxx.
References TTableDescriptor::ColumnSize(), and GetRowDescriptors().
Definition at line 2404 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::TypeSize().
Referenced by NaN().
Definition at line 2405 of file TTable.cxx.
References GetRowDescriptors(), and TTableDescriptor::TypeSize().
Definition at line 2407 of file TTable.cxx.
References TTableDescriptor::Dimensions(), and GetRowDescriptors().
Referenced by Browse().
Definition at line 2408 of file TTable.cxx.
References TTableDescriptor::Dimensions(), and GetRowDescriptors().
TTable::EColumnType TTable::GetColumnType | ( | Int_t | columnIndex | ) | const [virtual] |
Definition at line 2410 of file TTable.cxx.
References TTableDescriptor::ColumnType(), and GetRowDescriptors().
Referenced by Browse(), TColumnView::IsFolder(), and NaN().
TTable::EColumnType TTable::GetColumnType | ( | const Char_t * | columnName = 0 |
) | const [virtual] |
Definition at line 2411 of file TTable.cxx.
References TTableDescriptor::ColumnType(), and GetRowDescriptors().
Definition at line 1164 of file TTable.cxx.
References GetRowDescriptors(), TNamed::GetTitle(), i, and kFALSE.
const char * TTable::GetTypeName | ( | EColumnType | type | ) | [static] |
Definition at line 276 of file TTable.cxx.
References fgTypeName.
Referenced by G__G__Table_102_0_88(), G__setup_memfuncTTable(), Print(), and SavePrimitive().
TTable::EColumnType TTable::GetTypeId | ( | const char * | typeName | ) | [static] |
Definition at line 283 of file TTable.cxx.
References fgTypeName, i, and kNAN.
Referenced by G__G__Table_102_0_89(), G__setup_memfuncTTable(), and TTableDescriptor::LearnTable().
piterator TTable::pbegin | ( | ) | [inline] |
piterator TTable::pend | ( | ) | [inline] |
Definition at line 265 of file TTable.h.
References GetNRows(), and TTable::piterator::MakeEnd().
Referenced by ResetMap().
static const char* TTable::TableDictionary | ( | ) | [inline, static] |
Definition at line 267 of file TTable.h.
Referenced by G__G__Table_102_0_90(), and G__setup_memfuncTTable().
Char_t* TTable::Create | ( | ) | [protected] |
virtual void TTable::Delete | ( | Option_t * | opt = "" |
) | [protected, virtual] |
Reimplemented from TDataSet.
virtual Bool_t TTable::EntryLoop | ( | const Char_t * | exprFileName, | |
Int_t & | action, | |||
TObject * | obj, | |||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 , |
|||
Option_t * | option = "" | |||
) | [protected, virtual] |
void TTable::SetTablePointer | ( | void * | table | ) | [protected] |
void TTable::SetUsedRows | ( | Int_t | n | ) | [protected] |
virtual void TTable::SetType | ( | const char *const | type | ) | [protected, virtual] |
virtual TTableDescriptor* TTable::GetDescriptorPointer | ( | ) | const [protected, virtual] |
virtual void TTable::SetDescriptorPointer | ( | TTableDescriptor * | list | ) | [protected, virtual] |
void TTable::ReAlloc | ( | Int_t | newsize | ) | [protected] |
static const char* TTable::TableDictionary | ( | const char * | className, | |
const char * | structName, | |||
TTableDescriptor *& | ColDescriptors | |||
) | [static, protected] |
virtual void TTable::Adopt | ( | Int_t | n, | |
void * | array | |||
) | [virtual] |
virtual Int_t TTable::AddAt | ( | const void * | c | ) | [virtual] |
virtual void TTable::AddAt | ( | const void * | c, | |
Int_t | i | |||
) | [virtual] |
Reimplemented from TDataSet.
virtual void TTable::AsString | ( | void * | buf, | |
EColumnType | type, | |||
Int_t | width, | |||
ostream & | out | |||
) | const [virtual] |
virtual void TTable::CopySet | ( | TTable & | array | ) | [virtual] |
Int_t TTable::CopyRows | ( | const TTable * | srcTable, | |
Long_t | srcRow = 0 , |
|||
Long_t | dstRow = 0 , |
|||
Long_t | nRows = 0 , |
|||
Bool_t | expand = kFALSE | |||
) |
virtual TH1* TTable::Draw | ( | TCut | varexp, | |
TCut | selection, | |||
Option_t * | option = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
virtual TH1* TTable::Draw | ( | const char * | varexp, | |
const char * | selection, | |||
Option_t * | option = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
void* TTable::GetArray | ( | ) | const |
virtual TClass* TTable::GetRowClass | ( | ) | const [virtual] |
virtual Long_t TTable::GetNRows | ( | ) | const [virtual] |
virtual Long_t TTable::GetRowSize | ( | ) | const [virtual] |
virtual Long_t TTable::GetTableSize | ( | ) | const [virtual] |
virtual TTableDescriptor* TTable::GetTableDescriptors | ( | ) | const [virtual] |
virtual TTableDescriptor* TTable::GetRowDescriptors | ( | ) | const [virtual] |
virtual const Char_t* TTable::GetType | ( | ) | const [virtual] |
virtual void TTable::Fit | ( | const char * | formula, | |
const char * | varexp, | |||
const char * | selection = "" , |
|||
Option_t * | option = "" , |
|||
Option_t * | goption = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
virtual Long_t TTable::HasData | ( | ) | const [inline, virtual] |
Int_t TTable::NaN | ( | ) |
static TTable* TTable::New | ( | const Char_t * | name, | |
const Char_t * | type, | |||
void * | array, | |||
UInt_t | size | |||
) | [static] |
virtual Char_t* TTable::MakeExpression | ( | const Char_t * | expressions[], | |
Int_t | nExpressions | |||
) | [virtual] |
virtual const Char_t* TTable::Print | ( | Int_t | row, | |
Int_t | rownumber = 10 , |
|||
const Char_t * | colfirst = "" , |
|||
const Char_t * | collast = "" | |||
) | const [virtual] |
virtual void TTable::PrintContents | ( | Option_t * | opt = "" |
) | const [virtual] |
Reimplemented from TDataSet.
virtual const Char_t* TTable::PrintHeader | ( | ) | const [virtual] |
virtual void TTable::Project | ( | const char * | hname, | |
const char * | varexp, | |||
const char * | selection = "" , |
|||
Option_t * | option = "" , |
|||
Int_t | nentries = 1000000000 , |
|||
Int_t | firstentry = 0 | |||
) | [virtual] |
void* TTable::ReAllocate | ( | Int_t | newsize | ) |
void* TTable::ReAllocate | ( | ) |
virtual void TTable::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
virtual void TTable::Set | ( | Int_t | n | ) | [virtual] |
virtual void TTable::SetNRows | ( | Int_t | n | ) | [virtual] |
virtual void TTable::Reset | ( | Int_t | c = 0 |
) | [virtual] |
virtual void TTable::Update | ( | ) | [virtual] |
Reimplemented from TDataSet.
Reimplemented from TDataSet.
void* TTable::operator[] | ( | Int_t | i | ) |
const void* TTable::operator[] | ( | Int_t | i | ) | const |
virtual UInt_t TTable::GetNumberOfColumns | ( | ) | const [virtual] |
virtual EColumnType TTable::GetColumnType | ( | Int_t | columnIndex | ) | const [virtual] |
virtual EColumnType TTable::GetColumnType | ( | const Char_t * | columnName = 0 |
) | const [virtual] |
static const char* TTable::GetTypeName | ( | EColumnType | type | ) | [static] |
static EColumnType TTable::GetTypeId | ( | const char * | typeName | ) | [static] |
piterator TTable::pend | ( | ) | [inline] |
static const char* TTable::TableDictionary | ( | ) | [inline, static] |
TDataSet [friend] |
Definition at line 53 of file TTable.h.
Referenced by TTableDescriptor::AddAt(), and TTableDescriptor::MakeCommentField().
Long_t TTable::fSize [protected] |
Definition at line 56 of file TTable.h.
Referenced by AddAt(), TResponseTable::AddElement(), AppendRows(), At(), CopyStruct(), Create(), GetRowSize(), InsertRows(), operator[](), PrintContents(), PrintHeader(), ReAlloc(), Reset(), SavePrimitive(), TTableDescriptor::SetSize(), StreamerHeader(), TGenericTable::TGenericTable(), TResponseTable::TResponseTable(), and TTable().
Int_t TTable::fN [protected] |
Definition at line 60 of file TTable.h.
Referenced by BoundsOk(), CopySet(), CopyStruct(), Create(), GetSize(), GetTableSize(), OutOfBoundsError(), PrintContents(), PrintHeader(), ReAllocate(), Reset(), Set(), SetfN(), and StreamerTable().
Char_t* TTable::fTable [protected] |
Definition at line 61 of file TTable.h.
Referenced by AddAt(), Adopt(), AppendRows(), At(), Clear(), CopySet(), Create(), GetArray(), InsertRows(), operator=(), operator[](), ReAlloc(), ReAllocate(), Reset(), Set(), SetTablePointer(), and TTable().
Long_t TTable::fMaxIndex [protected] |
Definition at line 62 of file TTable.h.
Referenced by AddAt(), Clear(), GetNRows(), PrintContents(), PrintHeader(), Set(), SetUsedRows(), StreamerHeader(), and StreamerTable().
const char * TTable::fgTypeName [static] |
Definition at line 93 of file TTable.h.
Referenced by G__setup_memvarTTable(), GetTypeId(), and GetTypeName().
Char_t* TTable::fTable [protected] |
const char* TTable::fgTypeName[kEndColumnType] [static] |